|
| 27 Apr 2015 11:00 AM |
So thats my Script i want to use its not working , i load and created the IntValues with another Script that is working.
Playerc = script.Parent.Parent Player = Playerc.Character
debounce = true
if Playerc.leaderstat:FindFirstChild("leaderstat") and Playerc:FindFirstChild("Race") and Playerc.leaderstat.Race == 3 then if (Player:findFirstChild("Humanoid") ~= nil and debounce == true) then debounce = false p = game.Lighting.Shark:Clone() p.Parent = Player p.Position = Player:findFirstChild("Torso").Position p.Locked = true p.Name = "Shark" p.Size = Vector3.new(2,2,2) local weld = Instance.new("Weld",p);
weld.Part0 = Player:findFirstChild("Torso");
weld.Part1 = p;
weld.C0 = CFrame.new(0,0.4,0.2)*CFrame.Angles(math.rad(140),0,0);
debounce = true end end |
|
|
| Report Abuse |
|
|
alvin1104
|
  |
| Joined: 22 Feb 2011 |
| Total Posts: 681 |
|
|
| 27 Apr 2015 11:07 AM |
| I think you spelled leaderstats wrong at the start. For values to show on a leaderboard they must be inside a value called leaderstats. |
|
|
| Report Abuse |
|
|
|
| 27 Apr 2015 11:32 AM |
No i created a new called leaderstat, i said all is working i also can change the Values in a Script but if i try it like:
if Player.leaderstat.Race == 3 then
its not working. |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 27 Apr 2015 11:36 AM |
.Value
I script -~ chimmihc |
|
|
| Report Abuse |
|
|
|
| 27 Apr 2015 11:41 AM |
| Sry total forgat it here but i put it allrdy in my SCript not working mhh :/ |
|
|
| Report Abuse |
|
|
|
| 27 Apr 2015 11:42 AM |
| Totaly forgot that sry (hate my Keyboard) but i put it in before and nothing works. I tryed so much |
|
|
| Report Abuse |
|
|