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
 

Visible cannot be assigned to

Previous Thread :: Next Thread 
Eauz is not online. Eauz
Joined: 23 Jul 2013
Total Posts: 2942
08 Nov 2015 07:35 AM
I have this:

local RateOfFire = 0.05
local barrel = tool:WaitForChild("Barrel")
local muzzleFlash = barrel:WaitForChild("Gui"):WaitForChild("MuzzleFlash")

repeat
muzzleFlash.Visible = true -- This is line 51
wait(RateOfFire)
muzzleFlash.Visible = false
until active == false

It just prints out:

"14:34:52.849 - Visible cannot be assigned to
14:34:52.849 - Script 'Players.Player.Backpack.PPSH-41.MainScript', Line 51
14:34:52.850 - Stack End"

WHY?!?! Tank you.

Just be grateful.
Report Abuse
Eauz is not online. Eauz
Joined: 23 Jul 2013
Total Posts: 2942
08 Nov 2015 07:43 AM
NVM IS IT STUPID
After this:
local muzzleFlash = barrel:WaitForChild("Gui"):WaitForChild("MuzzleFlash")
I have this:
local muzzleFlash =

Just be grateful.
Report Abuse
Eauz is not online. Eauz
Joined: 23 Jul 2013
Total Posts: 2942
08 Nov 2015 07:44 AM
I IS VERY STUPID. Thank you anyway :D

Just be grateful.
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