#Trip system

29 messages · Page 1 of 1 (latest)

quartz snow
#
local click = script.Parent

local distanceZ = -2.7 
local distanceY = -0.5

click.MouseClick:Connect(function(player)
    local character = player.Character
    local humanoid = character and character:FindFirstChild("Humanoid")
    
    if humanoid then
        humanoid.Sit = true
        
    end
end)

I made this script to trip other players when you click them, but when I click on them I get tripped instead and idk why

trim trout
#

you need to change character to wherever the clicked character is

trim trout
#

you know

#

script.Parent.Parent im assuming script is in character

quartz snow
#

it is inside startercharacterscripts

trim trout
#

ok

#

then script.Parent

quartz snow
#

so script.parent.parent?

trim trout
#

yes

pseudo flame
#

cuz its not inside of a part

trim trout
#

if clickdetector is in characteer

pseudo flame
#

its inside of a character

#

lah lah

trim trout
#

he prob meant startercharacter

pseudo flame
trim trout
#

y

#

u cant click models ?

pseudo flame
#

yes

trim trout
#

Oh

pseudo flame
#

only parts

quartz snow
#

then what do i do

trim trout
#

put one in each part i guess

quartz snow
#

wym