#How to make claim obby and show the serverside player who claimed and value changed to true
95 messages · Page 1 of 1 (latest)
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100
i don't think it's possible to do it in a local script
also ad a click detector to that button
its possible
you can't make a player walk faster in a local script
you can
here is the script try yourself
ik
** You are now Level 1! **
just the line 8
if you want to make button invisible just for a certain player (who pressed that button) you need to make 2 different scripts, one local and one server. Also you will need to add a remote event. But people won't go to beginning of obby or stage + people could die while passing that speedrun stage. So it's too much trouble for you to make that button disappearing.
script is ok, BUT, a player can't be speedy just for himself, think about what other players will see, even no need to test that script
but it is a local script
you can manipulate pretty much your whole character in localscripts, that's why exploits work
thats why you can change the speed in client side
no
game.Players.LocalPlayer.Character:FindFirstChildWhichIsA("Humanoid") or game.Players.LocalPlayer.Character:FindFirstChild("Humanoid")
it works anyways
why the redundancy?
it's not like the humanoid will be named anything besides "Humanoid"
lol
`--Change this script to a server side/normal script
game.Players.PlayerAdded:Connect(function(player)
local button = script.Parent
local clickDetector = button.ClickDetector -- Add a click detector to that button/part
local blureffect = game.Lighting.Blur
blureffect.Enabled = true
clickDetector.MouseClick:Connect(function()
blureffect.Enabled = false
--no need to
player.Character.Humanoid.WalkSpeed = 100
end)
end)`
server*
it can be local
no
oh ok
it cant
it can because the client sends the position of the player to the server
ok
what are you talking about dude
bro, I don't want to fight
ad a click detector
this is unnecessary
if you made this server-sided, all it'd do is add latency to the walkspeed change
everything else remains the same
local button = script.Parent
local blureffect = game.Lighting.Blur
blureffect.Enabled = true
button.MouseButton1Click:Connect(function()
blureffect.Enabled = false
button.Visible = false
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100
end)
put this script in your button
localscript
does it looks like this?
bro
idk if it worked
oh thanks it did
solved
@mild olive you're so clueless bro
thank you
i thought it was like a part
** You are now Level 2! **
lol
shut up
image change this channel to something
** You are now Level 2! **
wdym
nvm the channel is gonna called:
you have to tag it as solved
How to make working claim obby that will show the player serversife not client
How to make claim obby and show the serverside player who claimed and value changed to true
local Door = script.Parent
game.Players.PlayerAdded:Connect(function(player)
script.Parent.Touched:Connect(function()
script.Parent.Parent.playering.SurfaceGui.Texter.Text = player.Name..""
script.Parent.Transparency = 0.5
script.Parent.BrickColor = BrickColor.new("Grey")
script.Parent.CanCollide = false
script.Parent.Script.Enabled = false
end)
end)
remoteevent
[object Object]
** You are now Level 3! **
at least try to learn and apply it
learn from your mistakes
that's the best way to improve
yeah i still dont get it
when the button is clicked set the player.Character.Humanoid walkspeed to 100
Try to learn it
first of all learn what servers and clients are
Danyal thinks they'll make an obby creator game with no experience other than taunting people who actually know scripting
danyal is a idiot
@craggy basin leave this server