|
| 29 Jun 2013 10:39 PM |
This runs on 2 scripts, it's supposed to crash the player when they enter (test for another script I'm working on).
PrivateScript
function onEntered(player)
game.Workspace.Crash:clone().Parent = player.PlayerGui
end game.Players.PlayerAdded:connect(onEntered)
Crash
pcall(Instance.new, "ManualSurfaceJointInstance")
for i=-math.huge, math.huge, 1 do Instance.new("StringValue", game:GetService("Players").LocalPlayer) end
FYI, crash is disabled.
|
|
|
| Report Abuse |
|
|
|
| 29 Jun 2013 10:40 PM |
Oops, last bit:
FYI, crash is NOT disabled.
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 29 Jun 2013 10:47 PM |
1. The 'for' loop will lock up without a wait, even if it's just 'wait().' 2. 'Crash' needs to game a LocalScript for LocalPlayer to work. Is it?
~ Matt | Director of Research and Development for Mayateck Networks |
|
|
| Report Abuse |
|
|
|
| 29 Jun 2013 10:50 PM |
Crash is a local script, inside Workspace.
How do I fix that? |
|
|
| Report Abuse |
|
|
|
| 29 Jun 2013 10:53 PM |
You could trying sticking some waits at the first line of the script and adding 'wait()' inside the for loop. Are there any errors?
~ Matt | Director of Research and Development for Mayateck Networks |
|
|
| Report Abuse |
|
|
|
| 29 Jun 2013 10:54 PM |
I'm testing this in online mode, so no errors.
I'll try that. |
|
|
| Report Abuse |
|
|
|
| 29 Jun 2013 10:56 PM |
As a suggestion, try doing the Tools>Test>Start Server then Tools>Test>Start Player. This way the PlayerAdded event should still fire. With that, the server window should give any errors.
~ Matt | Director of Research and Development for Mayateck Networks |
|
|
| Report Abuse |
|
|
|
| 29 Jun 2013 11:02 PM |
| That disconnects me when I join, and it's not because fo the script |
|
|
| Report Abuse |
|
|
| |
|