|
| 23 Mar 2014 09:03 AM |
| How do I prevent people from resetting or block the home screen button on the bottom left corner |
|
|
| Report Abuse |
|
|
Mowblow
|
  |
| Joined: 03 Mar 2012 |
| Total Posts: 104 |
|
|
| 23 Mar 2014 09:16 AM |
I am not exactly sure, but you could put a TextButton from a ScreenGui over it. Or, if people dying is not part of the game, you could make a localscript with another script to give the local script.
The script would be like:
game.Workspace.ChildAdded:connect(function(child) local g = child:FindFirstChild("Humanoid") if (g) then local f = game.Lighting.AntiRespawnScript:Clone() local k = child:GetPlayerFromCharacter(child) f.Parent = k.BackPack
end)
And the localscript in the lighting called "AntiRespawnScript" would be like
local f = game.Players.LocalPlayer local char = f.Character local human = char:findFirstChild("Humanoid")
while true do if human.Health <= 0 then human.Health = 100 end
Again, this is only an Idea, you would have to see if it would work. |
|
|
| Report Abuse |
|
|
Voidition
|
  |
| Joined: 14 Jul 2012 |
| Total Posts: 1849 |
|
| |
|
| |
|
|
| 23 Mar 2014 09:29 AM |
In my expirience, changing humanoids name, ruins tools.
game.Players.PlayerAdded:connect(p) p.Character.Humanoid.Died:connect() Pos = P.Character.Torso.Position repeat p.Character:MoveTo(Pos) wait(1) until p.Character.Humanoid = default_health end) end)
It doesn't STOP reseting, but it doesn't let them leave where they were WHEN they reset. Eventually they will give up anyway... |
|
|
| Report Abuse |
|
|
RoflBread
|
  |
| Joined: 18 Jun 2009 |
| Total Posts: 3803 |
|
| |
|
Teriaan
|
  |
| Joined: 28 Feb 2014 |
| Total Posts: 244 |
|
| |
|
| |
|
| |
|
Teriaan
|
  |
| Joined: 28 Feb 2014 |
| Total Posts: 244 |
|
| |
|
maxomega3
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
|
| 23 Mar 2014 10:05 AM |
Hmm, I didn't know you scripted.
Rename the humanoid. |
|
|
| Report Abuse |
|
|
Teriaan
|
  |
| Joined: 28 Feb 2014 |
| Total Posts: 244 |
|
| |
|
Teriaan
|
  |
| Joined: 28 Feb 2014 |
| Total Posts: 244 |
|
| |
|
|
| 23 Mar 2014 10:12 AM |
| I dont want people to stop dying, I just dont want them to reset.. And what humanoid? inside the players section in the explorer? |
|
|
| Report Abuse |
|
|
maxomega3
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
|
| 23 Mar 2014 10:14 AM |
| Doesn't stop them from dying if you make edits to the weapons. |
|
|
| Report Abuse |
|
|
|
| 23 Mar 2014 10:15 AM |
| I just don't want them to reset. I want people to die if they fall off the map, but that's it |
|
|
| Report Abuse |
|
|
|
| 23 Mar 2014 10:15 AM |
Renaming the humanoid will break most tools because most tools look for 'Humanoid' inside the character. I was unaware that renaming the humanoid stopped a player from resetting! I've been looking for a way to do this!
If you rename the humanoid, you'll have to change any tools you use to look for the new humanoid name instead of 'Humanoid' in the script. |
|
|
| Report Abuse |
|
|
| |
|
|
| 23 Mar 2014 10:42 AM |
Changing the humanoids name.
Pros;
Can't die without a more complicated kill script
Cons;
Can die
Tools don't work
Hard to refer to later on |
|
|
| Report Abuse |
|
|
Voidition
|
  |
| Joined: 14 Jul 2012 |
| Total Posts: 1849 |
|
| |
|
|
| 23 Mar 2014 02:37 PM |
| Or you could, you know, use fake characters instead of the real ones. |
|
|
| Report Abuse |
|
|