generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: I need checkpoint help

Previous Thread :: Next Thread 
Jocool06 is not online. Jocool06
Joined: 02 Aug 2016
Total Posts: 50
06 Jul 2017 03:22 AM
Anybody got a script for a checkpoint I can use????
Report Abuse
Vultorz is not online. Vultorz
Joined: 02 Mar 2015
Total Posts: 2985
06 Jul 2017 03:23 AM
more detail maybe?


Report Abuse
KiwiTronik is not online. KiwiTronik
Joined: 18 Feb 2010
Total Posts: 3221
06 Jul 2017 03:33 AM
title: "help pls"

subject: "give script pls"



but uh,

https://www.roblox.com/develop/library

start here
Report Abuse
Jocool06 is not online. Jocool06
Joined: 02 Aug 2016
Total Posts: 50
06 Jul 2017 03:46 AM
I need a checkpoint script for my obby and I cant find any that works in the libary
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
06 Jul 2017 03:49 AM
www.roblox.com/games/564460488/Obby-Spawn-Testing
Report Abuse
Jocool06 is not online. Jocool06
Joined: 02 Aug 2016
Total Posts: 50
06 Jul 2017 03:52 AM
What checkpoint script are you using???
Report Abuse
KiwiTronik is not online. KiwiTronik
Joined: 18 Feb 2010
Total Posts: 3221
06 Jul 2017 03:58 AM
what checkpoint scripts were YOU using that didn't work?
Report Abuse
Jocool06 is not online. Jocool06
Joined: 02 Aug 2016
Total Posts: 50
06 Jul 2017 04:00 AM
Do you mean them I tested now or the script that did break???
Report Abuse
KiwiTronik is not online. KiwiTronik
Joined: 18 Feb 2010
Total Posts: 3221
06 Jul 2017 04:01 AM
the one that broke?
Report Abuse
Jocool06 is not online. Jocool06
Joined: 02 Aug 2016
Total Posts: 50
06 Jul 2017 04:05 AM
local spawn = script.Parent spawn.Touched:connect(function(hit) if hit and hit.Parent and ##################################### then local player = ############################################### local checkpointData = ################################################### if not checkpointData then checkpointData = Instance.new("Model", ################### checkpointData.Name = "CheckpointData" end local checkpoint = ###################################################### if not checkpoint then checkpoint = ########################### checkpointData) checkpoint.Name = ####################### ################################################# wait() ################################################# = ####################################################################### + ############## ## ## end) end checkpoint.Value = spawn end end)
Report Abuse
Jocool06 is not online. Jocool06
Joined: 02 Aug 2016
Total Posts: 50
06 Jul 2017 04:09 AM
Sorry it Roblox fault that it is so many #
Report Abuse
skppiy4000 is online. skppiy4000
Joined: 09 Oct 2008
Total Posts: 1945
06 Jul 2017 04:10 AM
there is a starterplace obby that you can use, I think it has checkpoints
Report Abuse
Jocool06 is not online. Jocool06
Joined: 02 Aug 2016
Total Posts: 50
06 Jul 2017 04:16 AM
Anybody know why I cant use a w s d
to move in roblox studio???
Report Abuse
skppiy4000 is online. skppiy4000
Joined: 09 Oct 2008
Total Posts: 1945
06 Jul 2017 04:17 AM
Tab the window down and then open it again
Report Abuse
KiwiTronik is not online. KiwiTronik
Joined: 18 Feb 2010
Total Posts: 3221
06 Jul 2017 04:17 AM
try alt tab and alt tab back in
Report Abuse
Jocool06 is not online. Jocool06
Joined: 02 Aug 2016
Total Posts: 50
06 Jul 2017 04:18 AM
Tab down???
Report Abuse
Jocool06 is not online. Jocool06
Joined: 02 Aug 2016
Total Posts: 50
06 Jul 2017 04:20 AM
Still wont work???
Report Abuse
Jocool06 is not online. Jocool06
Joined: 02 Aug 2016
Total Posts: 50
06 Jul 2017 04:23 AM
Anybody know how to fix it????
Report Abuse
nullfeels is not online. nullfeels
Joined: 31 Mar 2017
Total Posts: 1215
06 Jul 2017 06:36 AM
Somethings like this might work IDK just wrote it really quick.

server code goes in a script in ServerScriptService
check point part code goes in a script inside the checkpoint parts...

I can not guarantee this code to work in anyway form or fashion and may blow up your computer or trigger the apocalypse. You've been warned.

-- checkpoint part code --
script.Parent.Touched:Connect(function(hit)
if (hit.Parent:FindFirstChild("HumanoidRootPart")) then
local lastPoint = script.Parent.CFrame * CFrame.new(0,2,0)
local playerName = hit.Parent.Name
game.ReplicatedStorage.RECheckpoint:FireServer(lastPoint)
end

wait(1) -- simple debounce...
end)

-- server code --
local playerCheckpoints = {}
local re = Instance.new("RemoteEvent", game.ReplicatedStorage)
re.Name = "RECheckpoint"

game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(char)
local lastPoint = playerCheckpoints[char.Name]
if (lastPoint) then
repeat wait() until char.PrimaryPart
char:SetPrimaryPartCFrame(lastPoint)
else
--move player to default spawn(probably does this anyways)
end
end)
end)

game.ReplicatedStorage.RECheckpoint.OnServerEvent:Connect(function(player, cp)
playerCheckpoints[player.Name] = cp
end)
Report Abuse
KobeGamesX is not online. KobeGamesX
Joined: 25 Sep 2015
Total Posts: 296
06 Jul 2017 06:40 AM
Make a SpawnPoint and then just check the ChangeTeamOnTouch to true.
No scripts required.
(you need to make some teams, though)
Report Abuse
RomDino is not online. RomDino
Joined: 04 Jul 2015
Total Posts: 2795
06 Jul 2017 06:44 AM
Hello I am new to Roblox so I need help!

Anybody can give me a script so I can copy and make myself a developer because I am just 7 years old and Roblox is very fun heheheh



Report Abuse
Jocool06 is not online. Jocool06
Joined: 02 Aug 2016
Total Posts: 50
06 Jul 2017 08:57 AM
nu ll feel thanks soooooooooooooooooooooooooooooooooooooooooooooo much it worknu ll
Report Abuse
Jocool06 is not online. Jocool06
Joined: 02 Aug 2016
Total Posts: 50
06 Jul 2017 09:03 AM
How to make so checkpoint # says that you are on stage # instead of saying that you are on stage #
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image