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: Swords not working

Previous Thread :: Next Thread 
twinqle is online. twinqle
Joined: 23 Nov 2016
Total Posts: 1613
12 Nov 2017 08:35 PM
I used the roblox sword model, and when i play in test mode it's fine.
it's a gui button, you click it and it gives you a sword and removes god mode from you.
for some reason, when you click with the sword in thee actual game, nothing happens.
f.e. doesn't make a difference.
anyone know why?
Report Abuse
twinqle is online. twinqle
Joined: 23 Nov 2016
Total Posts: 1613
12 Nov 2017 08:36 PM
bump
Report Abuse
twinqle is online. twinqle
Joined: 23 Nov 2016
Total Posts: 1613
12 Nov 2017 08:37 PM
i'm desperate.
Report Abuse
twinqle is online. twinqle
Joined: 23 Nov 2016
Total Posts: 1613
12 Nov 2017 08:44 PM
i'll do anything : (
Report Abuse
twinqle is online. twinqle
Joined: 23 Nov 2016
Total Posts: 1613
12 Nov 2017 08:49 PM
anyone
Report Abuse
twinqle is online. twinqle
Joined: 23 Nov 2016
Total Posts: 1613
12 Nov 2017 08:50 PM
at least say i don't know so that i know im not being ignored : (
Report Abuse
jaden2blox is not online. jaden2blox
Joined: 11 Dec 2011
Total Posts: 3057
12 Nov 2017 08:50 PM
@twinqle

Does the script access LocalPlayer? LocalPlayer only works for Local scripts on the Roblox Player.
Report Abuse
magical555 is not online. magical555
Joined: 05 Feb 2011
Total Posts: 19749
12 Nov 2017 08:51 PM
it might be the problem with the way you defined the player. the definition might make sense in studio but not for a player in the game.

player = Tool.Parent.Parent

this means the player is the parent of the tool's parent, the starterpack. this should be able to connect to the player whether you're testing or playing out of studio
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