I was working on a script for a dinosaur morph gui button and the script doesnt work. any errors? The gui works fine but the button does nothing when i click it. The button has this script 1st and the model second as its children. Does the order matter?
Trex=script.Parent Trex01=Trex.Parent:findFirstChild("Trex01") clone=Trex01:clone()
function Clicked(click) if click.Parent == nil then return end newClone = clone:Clone() newClone.Parent = workspace newClone:MakeJoints() game.Players[click.Parent.name].Character = newClone end
button.MouseButton1Down:connect(click)
Trex is the button and Trex01 is the morph model
Im a noob scripter so plz dont get mad :D its proly a small stupid error anyway.
