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 » Scripting Helpers
Home Search
 

Re: How to disable reseting?

Previous Thread :: Next Thread 
TheLuaUser is not online. TheLuaUser
Joined: 22 May 2012
Total Posts: 1405
12 Jun 2014 06:50 AM
Without changing the Humanoid's name.
Report Abuse
TheLuaUser is not online. TheLuaUser
Joined: 22 May 2012
Total Posts: 1405
12 Jun 2014 06:57 AM
Hello...?
Report Abuse
TheLuaUser is not online. TheLuaUser
Joined: 22 May 2012
Total Posts: 1405
12 Jun 2014 07:07 AM
Come on...
Report Abuse
ForeverDev is not online. ForeverDev
Joined: 04 Oct 2008
Total Posts: 13300
12 Jun 2014 07:13 AM
You can't, I'm pretty sure.



★ R$21,319 ★
Report Abuse
PerpetualMovement is not online. PerpetualMovement
Joined: 04 Dec 2012
Total Posts: 1001
12 Jun 2014 07:16 AM
game.StarterGui:SetCoreGuiEnabled("All", false)--Put in localscript
--http://wiki.roblox.com/index.php?title=SetCoreGuiEnabled

This will hide all of the core guis. If you want to allow some, change "All" to Enums on this site, http://wiki.roblox.com/index.php?title=CoreGuiType
Report Abuse
ForeverDev is not online. ForeverDev
Joined: 04 Oct 2008
Total Posts: 13300
12 Jun 2014 07:18 AM
^ Not what he's asking for. When you disable all core GUIs, you can still access the reset menu.



★ R$21,319 ★
Report Abuse
PerpetualMovement is not online. PerpetualMovement
Joined: 04 Dec 2012
Total Posts: 1001
12 Jun 2014 07:21 AM
Oops, my bad. When I tested it, my menu didn't load.
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
12 Jun 2014 07:26 AM
Then it is your connection's fault
Report Abuse
TheLuaUser is not online. TheLuaUser
Joined: 22 May 2012
Total Posts: 1405
12 Jun 2014 07:28 AM
Disabling all CoreGui elements doesn't disable the main menu which means you can still Reset, so... you think there's a way to do that?
Report Abuse
Intern33t is not online. Intern33t
Joined: 19 Nov 2010
Total Posts: 1530
12 Jun 2014 08:06 AM
Let him reset but set the respawn point to the reset point, e.g.

p = Workspace.PLAYER
position = p.Torso.Position
repeat until p.Humanoid.Health < 1 --Wait until dead
Wait(5) --Respawning time

p.Torso.Position = position --[[Repeat this with every bodypart, make sure they fit together e.g. Head has a Y-Point higher than Torso.]]
Report Abuse
YeahNick is not online. YeahNick
Joined: 28 Feb 2009
Total Posts: 2536
12 Jun 2014 08:18 AM
^ use :MoveTo(position)
Report Abuse
TheLuaUser is not online. TheLuaUser
Joined: 22 May 2012
Total Posts: 1405
12 Jun 2014 08:32 AM
Reseting breaks the game and that's why i want disabled.
Even if you teleport him to his death postion, the game will still break.
Report Abuse
KOzero is not online. KOzero
Joined: 11 May 2010
Total Posts: 1411
12 Jun 2014 08:34 AM
But if the player falls off the baseplate then the place where the player will be spawned is in clear space and there we have a loop kill in motion.
Report Abuse
YeahNick is not online. YeahNick
Joined: 28 Feb 2009
Total Posts: 2536
12 Jun 2014 08:46 AM
Here's a recent script I made (I had the same problem for a group fort)

game.Players.PlayerAdded:connect(function(p)
local mo = Instance.new("NumberValue",p)
mo.Name = "Pos"
local x = Instance.new("NumberValue",mo)
local y = Instance.new("NumberValue",mo)
local z = Instance.new("NumberValue",mo)
x.Name = "X"
y.Name = "Y"
z.Name = "Z"
repeat wait() until p.Character
c = p.Character
c.Humanoid.Died:connect(function()
mo.Value = 1
x.Value = math.floor(c.Torso.Position.x)
y.Value = math.floor(c.Torso.Position.y)
z.Value = math.floor(c.Torso.Position.z)
print(x.Value,y.Value,z.Value)
end)
p.CharacterAdded:connect(function(ch)
if mo.Value == 1 then
wait()
if y.Value > -5 then
ch.Torso.CFrame = CFrame.new(x.Value,y.Value,z.Value)
end
end
end)
end)
Report Abuse
TheLuaUser is not online. TheLuaUser
Joined: 22 May 2012
Total Posts: 1405
12 Jun 2014 09:01 AM
I don't want a script that teleports you to your death position.
I need one which prevents the player who reseting.
Report Abuse
TheLuaUser is not online. TheLuaUser
Joined: 22 May 2012
Total Posts: 1405
12 Jun 2014 09:01 AM
from reseting*
Report Abuse
maxomega3 is not online. maxomega3
Joined: 11 Jun 2010
Total Posts: 10668
12 Jun 2014 09:01 AM
It takes some work, but I do recommend that humanoid solution.
Report Abuse
YeahNick is not online. YeahNick
Joined: 28 Feb 2009
Total Posts: 2536
12 Jun 2014 09:05 AM
Well why exactly do you want the humanoid to stay alive I mean nothing gets lost or something
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
12 Jun 2014 09:30 AM
Rename humanoid. That is your only choice right now.
Report Abuse
TheLuaUser is not online. TheLuaUser
Joined: 22 May 2012
Total Posts: 1405
12 Jun 2014 09:50 AM
@YeahNick,
There are no deadly items on this game, so i don't want a reset button on the main menu.
It also breaks it.
Report Abuse
error9999 is not online. error9999
Joined: 05 Sep 2009
Total Posts: 1593
12 Jun 2014 09:55 AM
Make the player have no char, then make a script to control a bot without having it as a char, then make the camera follow the bot and done.
Report Abuse
Paramedic4 is not online. Paramedic4
Joined: 23 Jan 2011
Total Posts: 5934
12 Jun 2014 10:03 AM
I don't know, the only way that I know is to change the name of the Humanoid inside the Character which was already mentioned, sorry. :L
Report Abuse
TheLuaUser is not online. TheLuaUser
Joined: 22 May 2012
Total Posts: 1405
12 Jun 2014 10:05 AM
@error,
Well... That might take a little while.
@Paramedic,
That's okay. :)
Report Abuse
Duelingwarlord is not online. Duelingwarlord
Joined: 15 Feb 2010
Total Posts: 22333
12 Jun 2014 10:06 AM
delete the character
Report Abuse
Viscoelastic is not online. Viscoelastic
Joined: 04 May 2012
Total Posts: 269
12 Jun 2014 10:08 AM
I would suggest first finding out why the game breaks, and see if you can fix it.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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