I'm making a jump scare for one of my horror games, and I want a model named "Deathman" as seen below, to move at a certain speed. Each part in the model has a bodyvelocity inserted into it to make it move.
This is the working script I'm using as of now, is there any way I could insert a node changing the speed of the model, or do I have to change it using the properties window?
I hope you can help, thanks!
Sound = script.Parent.Scream Ready = true function onTouch(hit) local h = hit.Parent:FindFirstChild("Humanoid") if h ~= nil and Ready == true then Ready = false local plyr = game.Players:FindFirstChild(h.Parent.Name) local s = Sound:clone() game.Lighting.DeathMan:clone().Parent = game.Workspace s.Parent = plyr wait(2) game.Workspace.DeathMan:Remove() s:remove() wait(25) Ready = true end end
script.Parent.Touched:connect(onTouch)
