#Can someone make a script when a part is touched it makes the player sit for 5 seconds
1 messages · Page 1 of 1 (latest)
pretty sure someone can
pls speed i need this
** You are now Level 2! **
try this (put this under the part u want the player to touch)
local players = game:GetService("Players")
local part = script.Parent
local function stun(hit)
if players:GetPlayerFromCharacter(hit.Parent) then
local char = hit.Parent
local hrp = char:WaitForChild("HumanoidRootPart")
local hum : Humanoid = char:WaitForChild("Humanoid")
hum.Sit = true
hrp.Anchored = true
task.wait(5)
hrp.Anchored = false
hum.Sit = false
end
end
part.Touched:Connect(stun)
Fucking spoonfeeder
man im just trying to help, not everyone knows scripting like jeez
if he wants code he should just ask ai don’t give it to him
that's not helping
Let him learn, one of the rules of the channel is to litteraly NOT spoonfeed
gatekeeping intensifies
bro guys chill out i dont know how to script and i fr dont even wanna learn i just wanna make a game and chill bro thank you laughingboxes
"dont even wanna learn"
use AI next time
" i dont know how to script and i fr dont even wanna learn i just wanna make a game"
lazy
@jade tinsel yea i am lazy lol