#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)

sudden snow
#

(Basically stuns them)

cyan heath
#

pretty sure someone can

sudden snow
#

pls speed i need this

compact hamletBOT
#

studio** You are now Level 2! **studio

slate kernel
#

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)

slate kernel
jade tinsel
#

if he wants code he should just ask ai don’t give it to him

round quiver
robust vault
ancient forge
#

its no big deal, he just made a mistake

#

no need to use swear words 😔

fathom scarab
#

gatekeeping intensifies

sudden snow
#

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

sudden snow
#

bc i dont lol

#

@spare spoke aint that deep

ancient forge
#

use AI next time

jade tinsel
#

" i dont know how to script and i fr dont even wanna learn i just wanna make a game"

#

lazy

sudden snow
#

@jade tinsel yea i am lazy lol