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: is there a way to respawn someone via localscript?

Previous Thread :: Next Thread 
CrimsonForce is not online. CrimsonForce
Joined: 11 Sep 2010
Total Posts: 35714
26 Jul 2016 02:40 PM
i have my place on filtering enabled so as to stop most exploiters
i have an intro gui that you have to click to select a team
i have already converted everything to localscript, the only thing that doesnt happen is the respawning to the team
is there a way i can reload character, kill them, or perhaps even teleport them to the spawn location in a localscript?


https://www.roblox.com/CrimsonForce-item?id=254752952
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
26 Jul 2016 02:47 PM
No
Report Abuse
CrimsonForce is not online. CrimsonForce
Joined: 11 Sep 2010
Total Posts: 35714
26 Jul 2016 02:55 PM
so theres nothing i can do
they spawn on a choosing team away from the map, then click their team and it changes their team
but i cant respawn or anything?


https://www.roblox.com/CrimsonForce-item?id=254752952
Report Abuse
DurstAuric is not online. DurstAuric
Joined: 12 May 2009
Total Posts: 8066
26 Jul 2016 02:57 PM
You can respawn local player, but that's about it.


( ͡• ◡ ͡•) -=[ RAP: 361,327 || DurstAuric; the narb of ROBLOX ]=- ( ͡• ◡ ͡•)
Report Abuse
Weirdraidercs35 is not online. Weirdraidercs35
Joined: 14 May 2015
Total Posts: 2275
26 Jul 2016 02:57 PM
remote event to loadchracter in server script ?


im a mlg
Report Abuse
DurstAuric is not online. DurstAuric
Joined: 12 May 2009
Total Posts: 8066
26 Jul 2016 02:58 PM
Or that. ^


( ͡• ◡ ͡•) -=[ RAP: 361,327 || DurstAuric; the narb of ROBLOX ]=- ( ͡• ◡ ͡•)
Report Abuse
CrimsonForce is not online. CrimsonForce
Joined: 11 Sep 2010
Total Posts: 35714
26 Jul 2016 02:59 PM
how would i do that
the gui is copied to the players playergui
then once they select a team it chooses their team and removes itself
then what lines of code do i need?


https://www.roblox.com/CrimsonForce-item?id=254752952
Report Abuse
DurstAuric is not online. DurstAuric
Joined: 12 May 2009
Total Posts: 8066
26 Jul 2016 03:04 PM
All you need to do is respawn the local player in your case.


( ͡• ◡ ͡•) -=[ RAP: 361,672 || DurstAuric; the narb of ROBLOX ]=- ( ͡• ◡ ͡•)
Report Abuse
CrimsonForce is not online. CrimsonForce
Joined: 11 Sep 2010
Total Posts: 35714
26 Jul 2016 03:04 PM
i think ive tried that but i'll try it again


https://www.roblox.com/CrimsonForce-item?id=254752952
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
26 Jul 2016 03:04 PM
If you're not going to go about it properly, such as handling things like respawning people on the server, then FE is kind of pointless.


Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
26 Jul 2016 03:05 PM
Oh, this is just for the LocalPlayer. I'm okay with that.


Report Abuse
CrimsonForce is not online. CrimsonForce
Joined: 11 Sep 2010
Total Posts: 35714
26 Jul 2016 03:10 PM
LoadCharacter can only be called by BackendServer
doesn't work


https://www.roblox.com/CrimsonForce-item?id=254752952
Report Abuse
CrimsonForce is not online. CrimsonForce
Joined: 11 Sep 2010
Total Posts: 35714
26 Jul 2016 03:11 PM
local player = game.Players.LocalPlayer
player:LoadCharacter()


https://www.roblox.com/CrimsonForce-item?id=254752952
Report Abuse
DurstAuric is not online. DurstAuric
Joined: 12 May 2009
Total Posts: 8066
26 Jul 2016 03:13 PM
Then you'll need a client-server communication. Handled in a local script, called in a script. Use a RemoteEvent.


( ͡• ◡ ͡•) -=[ RAP: 361,675 || DurstAuric; the narb of ROBLOX ]=- ( ͡• ◡ ͡•)
Report Abuse
CrimsonForce is not online. CrimsonForce
Joined: 11 Sep 2010
Total Posts: 35714
26 Jul 2016 03:16 PM
is there a way to do that easily

the gui is called Teams
within it are 3 localscripts, Camera, Fixed, and Reload(reload is where im trying to loadcharacter) and 1 frame that has various textboxes and imagelabels inside


https://www.roblox.com/CrimsonForce-item?id=254752952
Report Abuse
CrimsonForce is not online. CrimsonForce
Joined: 11 Sep 2010
Total Posts: 35714
26 Jul 2016 03:27 PM
b


https://www.roblox.com/CrimsonForce-item?id=254752952
Report Abuse
CrazieSiberian is not online. CrazieSiberian
Joined: 19 Apr 2009
Total Posts: 20
26 Jul 2016 03:49 PM
http://wiki.roblox.com/index.php?title=RemoteFunction_and_RemoteEvent_Tutorial

[ VEGA - Open World Space Game - https://www.roblox.com/games/375843829/Vega-Pre-Alpha ]
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