Barmoi
|
  |
| Joined: 21 Jun 2011 |
| Total Posts: 3797 |
|
|
| 14 Nov 2017 02:12 PM |
can someone help me fix this script so that every time it's Vector3.new(-1, 0, 0) it gives you coins
script: local Tool = script.Parent; enabled = true function onActivated() if not enabled then return end enabled = false Tool.GripPos = Vector3.new(0.25, -1.5, -0.625) Tool.GripRight = Vector3.new(0.007, -1, 0) Tool.Handle.DrinkSound:Play() wait(.8) local h = Tool.Parent:FindFirstChild("Humanoid") if (h ~= nil) then if (h.MaxHealth > h.Health + 1.6) then h.Health = h.Health + 1.6 else h.Health = h.MaxHealth end end Tool.GripPos = Vector3.new(-0.7, 0.05, 0) Tool.GripRight = Vector3.new(-1, 0, 0)
enabled = true
end
function onEquipped() Tool.Handle.OpenSound:play() end
script.Parent.Activated:connect(onActivated) script.Parent.Equipped:connect(onEquipped)
wait(5)
if Vector3.new(-1, 0, 0)then script.Parent:Destroy() end
If you are hotter than me, Then that means I'm cooler than you :D |
|
|
| Report Abuse |
|
|
Barmoi
|
  |
| Joined: 21 Jun 2011 |
| Total Posts: 3797 |
|
|
| 14 Nov 2017 02:16 PM |
1
If you are hotter than me, Then that means I'm cooler than you :D |
|
|
| Report Abuse |
|
|
|
| 14 Nov 2017 02:27 PM |
This is a bit vague.
- I produce dank memes |
|
|
| Report Abuse |
|
|
Barmoi
|
  |
| Joined: 21 Jun 2011 |
| Total Posts: 3797 |
|
|
| 14 Nov 2017 02:28 PM |
like every time you click the tool it gives you coins
If you are hotter than me, Then that means I'm cooler than you :D |
|
|
| Report Abuse |
|
|
Barmoi
|
  |
| Joined: 21 Jun 2011 |
| Total Posts: 3797 |
|
|
| 14 Nov 2017 02:30 PM |
for example if every time you eat the chocolate bar it adds coins to the leaderstats
If you are hotter than me, Then that means I'm cooler than you :D |
|
|
| Report Abuse |
|
|
|
| 14 Nov 2017 02:35 PM |
if Vector3.new(-1, 0, 0)then script.Parent:Destroy() end
that should be
if Object.VectorProperty == (-1, 0, 0) then script.Parent:Destroy() end
#code print("lol hi") |
|
|
| Report Abuse |
|
|
Barmoi
|
  |
| Joined: 21 Jun 2011 |
| Total Posts: 3797 |
|
|
| 14 Nov 2017 02:38 PM |
that does not add coins :/
If you are hotter than me, Then that means I'm cooler than you :D |
|
|
| Report Abuse |
|
|
|
| 14 Nov 2017 03:19 PM |
are you making one of those weight lifting simulator type things
|
|
|
| Report Abuse |
|
|
balcktack
|
  |
| Joined: 05 Apr 2017 |
| Total Posts: 78 |
|
|
| 14 Nov 2017 03:29 PM |
local Tool = script.Parent; enabled = true function onActivated() if not enabled then return end enabled = false Tool.GripPos = Vector3.new(0.25, -1.5, -0.625) Tool.GripRight = Vector3.new(0.007, -1, 0) Tool.Handle.DrinkSound:Play() wait(.8) local player = Tool.Parent.Parent local character = Workspace:FindFirstChild(player.Name) local h = character:FindFirstChild("Humanoid") if (h ~= nil) then if (h.MaxHealth > h.Health + 1.6) then h.Health = h.Health + 1.6 else h.Health = h.MaxHealth end end Tool.GripPos = Vector3.new(-0.7, 0.05, 0) Tool.GripRight = Vector3.new(-1, 0, 0) ----------
player.leaderstats.coins.Value = player.leaderstats.coins.Value + 1
---------- enabled = true
end
function onEquipped() Tool.Handle.OpenSound:play() end
script.Parent.Activated:connect(onActivated) script.Parent.Equipped:connect(onEquipped)
wait(5)
if Vector3.new(-1, 0, 0)then script.Parent:Destroy() end |
|
|
| Report Abuse |
|
|
Barmoi
|
  |
| Joined: 21 Jun 2011 |
| Total Posts: 3797 |
|
|
| 14 Nov 2017 04:20 PM |
@balck the script does not add the coins!
If you are hotter than me, Then that means I'm cooler than you :D |
|
|
| Report Abuse |
|
|
|
| 14 Nov 2017 04:25 PM |
Dont help him
He doesnt know how to script and he doesnt even want to learn He is just using free model scripts and when he asks for help and promises pay, you dont get anything
He's a well known scammer so dont waste your time |
|
|
| Report Abuse |
|
|
Barmoi
|
  |
| Joined: 21 Jun 2011 |
| Total Posts: 3797 |
|
|
| 14 Nov 2017 04:27 PM |
Srsly who are you and can you stop spamming me
kthxbye
If you are hotter than me, Then that means I'm cooler than you :D |
|
|
| Report Abuse |
|
|
|
| 14 Nov 2017 04:29 PM |
I want people to know that they wont get their promised pay
And btw im just one of many who were scammed by you |
|
|
| Report Abuse |
|
|
Barmoi
|
  |
| Joined: 21 Jun 2011 |
| Total Posts: 3797 |
|
|
| 14 Nov 2017 04:30 PM |
nani!?!?
If you are hotter than me, Then that means I'm cooler than you :D |
|
|
| Report Abuse |
|
|
|
| 14 Nov 2017 04:33 PM |
| How do you even think you'll make a successfull game without any knowledge in scripting and without paying the scripters who are willing to help you |
|
|
| Report Abuse |
|
|
Voxxie
|
  |
| Joined: 27 Aug 2006 |
| Total Posts: 325 |
|
| |
|
|
| 14 Nov 2017 04:36 PM |
Yeah ik lol
But people like him really annoy me and he litterally always promises pay and never pays anyone |
|
|
| Report Abuse |
|
|
Barmoi
|
  |
| Joined: 21 Jun 2011 |
| Total Posts: 3797 |
|
|
| 14 Nov 2017 04:37 PM |
I'm a better scripter than both of you I made the whole script by myself now can both of you guys please hop off of me?
If you are hotter than me, Then that means I'm cooler than you :D |
|
|
| Report Abuse |
|
|
Barmoi
|
  |
| Joined: 21 Jun 2011 |
| Total Posts: 3797 |
|
|
| 14 Nov 2017 04:38 PM |
And I guarantee I'm going to make a very successful game
Mark my words
If you are hotter than me, Then that means I'm cooler than you :D |
|
|
| Report Abuse |
|
|
|
| 14 Nov 2017 04:39 PM |
>Asks for people's help with a script >Proceeds to insult them and says they're better than them at scripting. |
|
|
| Report Abuse |
|
|
Barmoi
|
  |
| Joined: 21 Jun 2011 |
| Total Posts: 3797 |
|
|
| 14 Nov 2017 04:40 PM |
Who are these bunch of nobodies?
If you are hotter than me, Then that means I'm cooler than you :D |
|
|
| Report Abuse |
|
|
Barmoi
|
  |
| Joined: 21 Jun 2011 |
| Total Posts: 3797 |
|
|
| 14 Nov 2017 04:42 PM |
like tf get off of me and my threads
If you are hotter than me, Then that means I'm cooler than you :D |
|
|
| Report Abuse |
|
|
Voxxie
|
  |
| Joined: 27 Aug 2006 |
| Total Posts: 325 |
|
|
| 14 Nov 2017 04:44 PM |
you expect people to believe that you made that but you somehow don't know how to make a tool give you in game currency?
and then you try to insult people and act like ghetto trash
brilliant. |
|
|
| Report Abuse |
|
|
|
| 14 Nov 2017 04:44 PM |
@scammer
Ok since you're such a great scripter can you quickly just make a script that will change part's brickcolor randomly every second
Thats a really easy task and if you're so good it shouldnt be a problem
2 mins later: Next forum thread: part color changing randomly [1K PAY] |
|
|
| Report Abuse |
|
|
Barmoi
|
  |
| Joined: 21 Jun 2011 |
| Total Posts: 3797 |
|
|
| 14 Nov 2017 04:48 PM |
@voxxie shut up because last time i checked i'm wayyy more successful than you in ROBLOX
@glo2blahblah got any proof that i'm a scammer
If you are hotter than me, Then that means I'm cooler than you :D |
|
|
| Report Abuse |
|
|