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 » Roblox » Help (Technical Support and Account Issues)
Home Search
 

Re: Player Dies when equiping weapon.

Previous Thread :: Next Thread 
WorldOfPixel is not online. WorldOfPixel
Joined: 18 Mar 2016
Total Posts: 8
28 Nov 2017 08:36 PM
Recently in my Roblox Studio game when equipping a weapon your character immediately dies.

The script is a STARENATOR script used in the guns.
Report Abuse
WorldOfPixel is not online. WorldOfPixel
Joined: 18 Mar 2016
Total Posts: 8
28 Nov 2017 08:40 PM
So I checked my older backup saves of my game (goes from update 17 to 72) and I checked 17 and it seems the same problem occurred. I haven't edited the script since update 17.
Report Abuse
WorldOfPixel is not online. WorldOfPixel
Joined: 18 Mar 2016
Total Posts: 8
28 Nov 2017 08:46 PM
Update: Got some more weapons from the Toolbox and seems that some weapons don't have this problem that use the same STARLENATOR scripts.
Report Abuse
WorldOfPixel is not online. WorldOfPixel
Joined: 18 Mar 2016
Total Posts: 8
28 Nov 2017 08:49 PM
Update: this script here causes the problem. I don't know what is wrong with it.

wait(math.random(0, 200) / 200)

if _G.Ignore_Code then

if (not game.Workspace:FindFirstChild("Ignore_Model_".._G.Ignore_Code)) then
local Ignore_Model = Instance.new("Model")
Ignore_Model.Name = "Ignore_Model_".._G.Ignore_Code
Ignore_Model.Parent = game.Workspace

spawn(function()
while true do
Ignore_Model.Parent = game.Workspace
wait(1 / 20)
end
end)
end

script.Parent:WaitForChild("Central_v2.5.1"):WaitForChild("Ignore_Code").Value = _G.Ignore_Code
else

_G.Ignore_Code = math.random(1, 1e4)

if (not game.Workspace:FindFirstChild("Ignore_Model_".._G.Ignore_Code)) then
local Ignore_Model = Instance.new("Model")
Ignore_Model.Name = "Ignore_Model_".._G.Ignore_Code
Ignore_Model.Parent = game.Workspace

spawn(function()
while true do
Ignore_Model.Parent = game.Workspace
wait(1 / 20)
end
end)
end

script.Parent:WaitForChild("Central_v2.5.1"):WaitForChild("Ignore_Code").Value = _G.Ignore_Code
end

spawn(function()
repeat wait() until _G.Ignore_Code
local Ignore_Model = game.Workspace:WaitForChild("Ignore_Model_".._G.Ignore_Code)
while true do
for _, Gun_Ignore in pairs(Ignore_Model:GetChildren()) do
if (not game.Players:FindFirstChild(Gun_Ignore.Name:sub(12))) then
Gun_Ignore:Destroy()
end
end
wait(1 / 20)
end
end)
Report Abuse
RCL_Meee is online. RCL_Meee
Joined: 07 Oct 2017
Total Posts: 247
28 Nov 2017 09:43 PM
i see the problem but i dont know how to fix it "Gun_Ignore:Destroy()" seems like when it destroyer the gun it ends up ####### ###
Report Abuse
WorldOfPixel is not online. WorldOfPixel
Joined: 18 Mar 2016
Total Posts: 8
28 Nov 2017 10:16 PM
Yeah, that's what I was thinking.

Although I'm not too good at scripting so I'm not sure I can fix it.
Report Abuse
NutchProfits is not online. NutchProfits
Joined: 12 Aug 2017
Total Posts: 69
29 Nov 2017 02:09 AM
It must be a virus hidden in the script or some other script.. this is why you make your own models.


Report Abuse
WorldOfPixel is not online. WorldOfPixel
Joined: 18 Mar 2016
Total Posts: 8
29 Nov 2017 07:59 AM
Maybe, although it's kinda odd it only started now instead of when I first got them.
Report Abuse
WorldOfPixel is not online. WorldOfPixel
Joined: 18 Mar 2016
Total Posts: 8
29 Nov 2017 08:12 AM
Update: Yesterday only a few of them did this. Now even ones that didn't and the ones I made myself are having this problem. A few other games made by other people are having this problem. Such as another game similar to mine.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Roblox » Help (Technical Support and Account Issues)
   
 
   
  • 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