axelvtsJoin Date: 2008-04-27 Post Count: 3029 |
I'd like a script that:
Grabs a model under a specific name from lighting after clicking on a GUI
then puts the contents (removing itself from being in its own model (unpack?)) onto a player like a morph
Then make the script add a Motor6D to the player torso that connects the torso with the part of the model that will be unpacked into the player called " CORE ".
---
If you'd really like to help more- I'd like different animations to be inserted into the player after theGUI click. |
|
TimeTicksJoin Date: 2011-04-27 Post Count: 27115 |
Script it yourself. |
|
TunicusJoin Date: 2013-02-16 Post Count: 3165 |
Not sure if trolling |
|
NRSchertzJoin Date: 2012-01-14 Post Count: 2083 |
I actually have that exact thing. I'm not giving it to you. ^^ Learn to script like I did, or pay for it. :D |
|
|
OP, please read the follow below; it's a rule here summarized in my own words:
Do not ask people to code for you - we'll fix your script, some might just point out possible areas where errors occur - but we will not, I repeat, will NOT code for you. |
|
axelvtsJoin Date: 2008-04-27 Post Count: 3029 |
@Tanlord: I would have posted in Scripting Helpers, but it's been about a year since ROBLOX removed that subform, and didn't think to update the forum Desc.
'And I can't post in Game Design, because no-one there really knows how to script. |
|
|
Not sure if trolling [2]
Septamology - R$100 - Tx23,508 |
|
|
Okay, now I'm a little peeved off.
How dare you get mad at me for helping when all the other fools who posted here acted like jerks, but oh no you look at me like I'M the bad guy.
And I'm sorry the Game Design 5 out of 10 times is full of game ads, but the ROBLOX wiki (https://wiki.roblox.com) exist to help you learn scripting. Just read some scripting articles related to that. It worked for me. |
|
eLunateJoin Date: 2014-07-29 Post Count: 13268 |
Neniu cxi tie volas skribi skribojn pro vin, dankas por via tempon bonvolu ne revenu. |
|
|
I took some time (by time I mean 5 seconds using Google Translate) to translate her message.
"No one here wants to write scripts for you, thank you for your time please do not come back."
Seems kinda harsh. |
|
|
Where did tanlord come from and why is he so salty? |
|
eLunateJoin Date: 2014-07-29 Post Count: 13268 |
Li igas mia cxipsojn bongusta |
|
|
"Script it yourself."
Leave this forum and never come back.
------------------------------------------------------------------------------------------
Here's something that might work for you.
Make sure you grab this sample model and put it in the ReplicatedStorage:
http://www.roblox.com/item.aspx?seoname=Example-Morph&id=234748660
------------------------------------------------------------------------------------------
function loadMorph(morphName)
local player = game.Players.LocalPlayer
if player then
local char = player.Character
if char then
local rep = game:GetService("ReplicatedStorage")
local morphs = rep:WaitForChild("Morphs")
local morphToLoad = morphs:findFirstChild(morphName)
if morphToLoad then
for _,bin in pairs(morphToLoad:GetChildren()) do
spawn(function ()
local root = bin:WaitForChild("RootPart")
local relative = char:WaitForChild(bin.Name)
for _,part in pairs(bin:GetChildren()) do
if part ~= root and part:IsA("BasePart") then
local dup = part:clone()
dup.Anchored = false
dup.CanCollide = false
local w = Instance.new("Weld")
w.Part0 = relative
w.Part1 = dup
w.C0 = root.CFrame:toObjectSpace(part.CFrame)
w.Parent = relative
dup.Parent = char
end
end
end)
end
end
end
end
end
loadMorph("WeirdExampleMorph") |
|
|
|
gg clone
we throw parties, you throw knives | @maxwellbarfiok |
|
|
clone is god confermed
m8, b4 u explore the forums, take this magic stuff (∩ ͡° ͜ʖ ͡°)⊃━☆゚. * ・ 。゚ |
|
SkySpellJoin Date: 2008-09-01 Post Count: 1581 |
Although I don't go on this subforum that much, this isn't a place to ask people to script stuff for you. This is a place to get some help for fixing scripts or just regular coding questions.
Also hi Clone.
"the tippiest of fedoras, the edgiest of edges, the soggiest of knees and the dankest of memes" ~SkySpell - 2050 |
|
eLunateJoin Date: 2014-07-29 Post Count: 13268 |
I have a couple of things I'm upset about
Clone defines immutables every time the function is called
Clone made a script for the guy and ruined the hostile spirit of the forum |
|
axelvtsJoin Date: 2008-04-27 Post Count: 3029 |
@Tan, No- I'm mad at ROBLOX. Sorry if it came off as rude toward you.
@Clone: Thankyou so much! I'll look at it and see if there is anything I need to edit.
@Everyone else: I can edit, splice, and read scripts- I'm just terrible at doing it from scratch. |
|
|
@axelvt
I didn't do the "CORE" Motor6D stuff, but I'm pretty sure you can just change it to create a Motor6D and parent it inside of the player's torso instead of the part its welding to.
|
|
eLunateJoin Date: 2014-07-29 Post Count: 13268 |
In other words you can't script
Well that was easy |
|
|
@eLunate
I wrote the function to be understandable and functional regardless of how a game is done.
He is perfectly free to modify it and move them outside of the function. |
|
|
Here we see a wild CloneTrooper1019 in it's natural habitat.
~Win |
|
BuxLordJoin Date: 2012-07-18 Post Count: 730 |
How do you make a video intro on your games? |
|
BuxLordJoin Date: 2012-07-18 Post Count: 730 |
What does this do? |
|