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: why doesnt this work while playing the game?

Previous Thread :: Next Thread 
vastqud is not online. vastqud
Joined: 10 Sep 2011
Total Posts: 2464
20 Sep 2015 09:04 AM
local color1 = Color3.new(0.2,0.6,0.4)
local color2 = Color3.new(0.1,0,1,1)

local gun = script.Parent
local bounce = false
gun.Equipped:connect(function()
gun.Activated:connect(function()
if not bounce then
bounce = true
local flare = Instance.new("Part",workspace)
flare.Name = "flare"
flare.CFrame = CFrame.new(gun.Handle.Position)
flare.CanCollide = false
flare.Transparency = 1
local particles = game.ServerStorage.particles:Clone()
particles.Parent = flare
local bv = Instance.new("BodyVelocity", flare)
print("flare goin upppppp on a tuesday")
bv.Velocity = Vector3.new(0,30,0)
wait(3)
flare.Anchored = true
bv:Destroy()
wait(105)
bounce = false
wait(2)
flare:Destroy()
end
end)
end)


it works PERFECTLY in studio play solo mode, but it doesn't work while playing the game without studio
help?
Report Abuse
vastqud is not online. vastqud
Joined: 10 Sep 2011
Total Posts: 2464
20 Sep 2015 09:07 AM
anyone?



I don't want to message fractality again...
Report Abuse
DermonDarble is not online. DermonDarble
Joined: 04 Jun 2015
Total Posts: 2576
20 Sep 2015 09:08 AM
put gun.activated outside of gun.equipped

btw i have 5,288 tix
Report Abuse
vastqud is not online. vastqud
Joined: 10 Sep 2011
Total Posts: 2464
20 Sep 2015 09:22 AM
it still doesn't work

it works in studio, but not while playing the game :(
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