#How to make claim obby and show the serverside player who claimed and value changed to true

95 messages · Page 1 of 1 (latest)

dawn ledge
#

@craggy basin use UserInputService

#

Before blureffect.Enabled = true

#

Make a userinputservice

lost hare
#

game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100

mild olive
#

i don't think it's possible to do it in a local script

#

also ad a click detector to that button

lost hare
mild olive
#

you can't make a player walk faster in a local script

lost hare
#

you can

lost hare
mild olive
#

ik

craggy basin
#

studio** You are now Level 1! **studio

mild olive
#

nvrm

#

but script still needs some fixes

#

there is too much things wrong

lost hare
#

just the line 8

mild olive
#

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.

mild olive
lost hare
#

they will see the player running

#

fast

mild olive
#

but it is a local script

marsh birch
lost hare
#

yes

#

roblox sends the position of the player

warm crater
#

danyal

#

thats easy

lost hare
#

thats why you can change the speed in client side

warm crater
#
game.Players.LocalPlayer.Character:FindFirstChildWhichIsA("Humanoid") or game.Players.LocalPlayer.Character:FindFirstChild("Humanoid")
lost hare
#

it works anyways

marsh birch
#

it's not like the humanoid will be named anything besides "Humanoid"

craggy basin
#

lol

mild olive
#

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

mild olive
#

it works

mild olive
lost hare
#

it can be local

mild olive
#

no

craggy basin
#

oh ok

mild olive
lost hare
craggy basin
#

ok

marsh birch
mild olive
#

ad a click detector

marsh birch
#

if you made this server-sided, all it'd do is add latency to the walkspeed change

#

everything else remains the same

lost hare
#

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

marsh birch
#

localscript

mild olive
#

does it looks like this?

craggy basin
#

hold up

#

NO

#

its ui

mild olive
#

bro

craggy basin
#

oh thanks it did

lost hare
#

solved

marsh birch
#

@mild olive you're so clueless bro

craggy basin
mild olive
#

i thought it was like a part

craggy basin
#

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

mild olive
#

lol

craggy basin
#

image change this channel to something

quick whale
#

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

craggy basin
#

how to change?

#

the channel

mild olive
#

wdym

craggy basin
#

nvm the channel is gonna called:

marsh birch
#

you have to tag it as solved

craggy basin
#

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)

marsh birch
#

remoteevent

craggy basin
#

how

#

how will i fire the remote

#

and idk hw remote works

#

im beginner scripter

craggy basin
#

studio** You are now Level 3! **studio

marsh birch
#

learn from your mistakes

#

that's the best way to improve

craggy basin
#

yeah i still dont get it

pallid ingot
#

when the button is clicked set the player.Character.Humanoid walkspeed to 100

pallid ingot
#

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

fallow slate
#

@craggy basin leave this server