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: Player Toroso

Previous Thread :: Next Thread 
Vritix is not online. Vritix
Joined: 01 Jan 2011
Total Posts: 2790
18 Apr 2015 02:51 PM
How can I find a LocalPlayer who clicked a button, and add sparkles to there toroso?


I made this but it didn't work :

(This is only part of the script)

local player = game.Workspace.LocalPlayer.Torso

local sparkle = Instance.new("Sparkles",player)
sparkle.Name = 'twittercode'
Report Abuse
Vritix is not online. Vritix
Joined: 01 Jan 2011
Total Posts: 2790
18 Apr 2015 02:52 PM
Well, I spelled "torso" wrong..
Report Abuse
icekiller8002 is not online. icekiller8002
Joined: 22 Jan 2013
Total Posts: 6636
18 Apr 2015 02:56 PM
script.Parent.ClickDetector.MouseClick:connect(function(player)
local s = Instance.new("Sparkles",player)
s.Name = "twittercode"
end)
Report Abuse
icekiller8002 is not online. icekiller8002
Joined: 22 Jan 2013
Total Posts: 6636
18 Apr 2015 02:57 PM
woops messed up

script.Parent.ClickDetector.MouseClick:connect(function(player)
local s = Instance.new("Sparkles",player.Character.Torso)
s.Name = "twittercode"
end)
Report Abuse
Vritix is not online. Vritix
Joined: 01 Jan 2011
Total Posts: 2790
18 Apr 2015 03:05 PM
It keep saying in output " LocalPlayer is not a part of Workspace"
Report Abuse
icekiller8002 is not online. icekiller8002
Joined: 22 Jan 2013
Total Posts: 6636
18 Apr 2015 03:09 PM
use my code dur



local gcad = ROBLOXForum:FindFirstChild("Game Creation and Development")
local f = Instance.new("Code Reply")
f.Parent = gcad.Scripters.Thread
Report Abuse
Vritix is not online. Vritix
Joined: 01 Jan 2011
Total Posts: 2790
18 Apr 2015 03:13 PM
?
Report Abuse
icekiller8002 is not online. icekiller8002
Joined: 22 Jan 2013
Total Posts: 6636
18 Apr 2015 03:15 PM
use the code that i showed you its that obvious



local f = Instance.new("Code Reply",ROBLOXForum.GameCreationAndDevelopment.Scripters)
Report Abuse
Vritix is not online. Vritix
Joined: 01 Jan 2011
Total Posts: 2790
18 Apr 2015 03:20 PM
I did, and it's not working...
Report Abuse
icekiller8002 is not online. icekiller8002
Joined: 22 Jan 2013
Total Posts: 6636
18 Apr 2015 03:20 PM
script.Parent.ClickDetector.MouseClick:connect(function(player)
local s = Instance.new("Sparkles",player.Character.Torso)
s.Name = "twittercode"
end)

this one...
Report Abuse
Vritix is not online. Vritix
Joined: 01 Jan 2011
Total Posts: 2790
18 Apr 2015 03:20 PM
Just to let you know, they need to enter a certain code for them to get sparkles. So how can we fix the paramater?
Report Abuse
Vritix is not online. Vritix
Joined: 01 Jan 2011
Total Posts: 2790
18 Apr 2015 03:22 PM
I want them to enter the certain text, then get the sparkles.. if you know what I mean
Report Abuse
Vritix is not online. Vritix
Joined: 01 Jan 2011
Total Posts: 2790
18 Apr 2015 03:45 PM
bump
Report Abuse
icekiller8002 is not online. icekiller8002
Joined: 22 Jan 2013
Total Posts: 6636
18 Apr 2015 08:03 PM
ok brb
Report Abuse
icekiller8002 is not online. icekiller8002
Joined: 22 Jan 2013
Total Posts: 6636
18 Apr 2015 08:08 PM
Do you want the code to be redeemable or do you want each code to be redeemed only once?
Report Abuse
Vritix is not online. Vritix
Joined: 01 Jan 2011
Total Posts: 2790
18 Apr 2015 08:15 PM
I only want them to redeem it once.
Report Abuse
Klink45 is not online. Klink45
Joined: 06 Jun 2011
Total Posts: 26054
18 Apr 2015 08:21 PM
Here, just use this: http://www.roblox.com/Click-to-have-sparkles-item?id=239601112
Report Abuse
icekiller8002 is not online. icekiller8002
Joined: 22 Jan 2013
Total Posts: 6636
18 Apr 2015 08:30 PM
Sorry it took so long but here it is



http://www.roblox.com/Twitter-Code-Button-item?id=239605407
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