#Scripting GUI help
1349 messages · Page 2 of 2 (latest)
its wrong?
100%
how?
under the function
hum[
help
say
?
say your problem
your problem
nah wait
im joking
ok so
I want whenever someone clicks interact, it makes walkspeed = 0
i already know humanoid.walkspeed=0
no humanoid.walkspeed=0
works
but i want to know the
when someone interacts, it makes walkspeed=0
@narrow burrow
so if someone uses proximity prompt
** You are now Level 8! **
hm
how do I put that
how do I put
when someone interacts
it sets walkspeed to
0
whats the code for that
i already answered
yeah well im asking HOW
under the function
whats that
just read the line 3
ok
50 times

no walkspeed=0
alr
doesnt work
@narrow burrow
The code itself works
but
when I try it in game
it doesnt work
I did it myself
why are you doing this with me???????
doesnt work

😂
ok next step
Jump
how to disable jump
i will search it
hmm
humanoid.Jump=False?
@narrow burrow I DID IT BRO
.
@frail pebble
@narrow burrow yo I completed backspace
player can't jump, move, and drop his tool.
@narrow burrow I got my mopping animation, rbxassetid://16283868326
nice
OTAVIO
EXPLORER
I already made an animations
.
I did
i have an animation
16283868326
@narrow burrow
y does it take u 5 years to reply

@narrow burrow
OTAVIO
@narrow burrow done
I put it in proximityprompt
not part
should I do part?
yes
now what?
now you just have to find the Animation in the script
how
uhhh
how to identify an animation inside a script?
Don't I say
AnimationId = 16283868326
how to play an animation
oh
just this
how to play an animation in script?

and put it under function right?

local animationId = 16283868326
local animation = humanoid:LoadAnimation(16283868326)
animation:Play()```
@narrow burrow
test
wait
why you added the id again?
why are you not getting the animation from the workspace?
?
you created a variable for the animation ID
yes
how?
ye
if you want to change the color
you can't
why?
because you just getting the PART
not the PART -> Color
ohhhhhhhhh
workspace.Part.Color
ok so
just get the animation propertie about ID
I already put the Id in properties
its 16283868326
I put it in
look
alr
The script broke
now when I click e
I still move
and jump
I think bc i put a function inside of a function?
is animationId:Play() correct?
?? 😭
you literally are trying to get the AnimationID from WORKSPACE
workspace its not a Animation
workspace.Part.Animation.AnimationId
oh alr
again
you tried to get the ANIMATIONID
from the Prompt
ye
BUT
ye
THE ANIMATIONID
im listening
IDK 
what is this
bare with me 
explain it for me
ProximityPrompt
yes!!!
alr
just check their names
no
send a print
ok
local player = game.Players.LocalPlayer
local water = workspace.Part
local tool = script.Parent
water.ProximityPrompt.Triggered:Connect(function(player)
local animationId = workspace.Part.ProximityPrompt.Animation.AnimationId
local character = player.Character
local humanoid = character:WaitForChild("Humanoid")
local tool = player.Backpack.Mop
animationId:Play()
humanoid.WalkSpeed = 0
humanoid.JumpPower = 0
tool.CanBeDropped = false
end)```
how?
ITS A NUMBER
thats not the animation I made
it was an example
you have to
LOAD
the animation
local animationLoaded = humanoid:LoadAnimation(AnimationId)
here you make a variable called animationLoaded
get humanoid
and use the gameservice LoadANimation (idk the name of this)
@narrow burrow dms
gg
LETS GO
now I need to make a good map
and I need to weld the mop to the animation
@narrow burrow
