--I put the the cloned in replicated server store function ontouched(hit)

local humanoid = hit.Parent:findFirstChild("Humanoid")

if humanoid~=nil then

wait(0.01)

local new = game.ReplicatedStorage.SpeedBuffFireBall:Clone()

new.CFrame = script.Parent.CFrame

script.Parent:Destroy()

humanoid.WalkSpeed = 6*16 --Set walkspeed to *6

wait(3)

new.Parent = game.Workspace

end

end

script.Parent.Touched:Connect(ontouched)

1 comment

0

wdym? this should everytime you touch this part