So like the main thing is when player touch the part, his walkspeed turns into 64
I already did a code, but it isn't work, pls help
game.Workspace.part.Touched:Connect(function(hit) game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 64 end)
I know the problem you are using a "game.Players.LocalPlayer.Character.Humanoid.Walkspeed = 64" though is only for local script but i don't know how to do it in local script but i do know how to do this in script. Here's the prefix.
local part = game.Workspace.Part part.Touched:Connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then hit.Parent.Humanoid.WalkSpeed = 64 end end)
if it doesn't work put the script inside the part and change this:
local part = game.Workspace.Part
to
local part = script.Parent