BarmoiJoin Date: 2011-06-21 Post Count: 3797 |
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 |
|
BarmoiJoin Date: 2011-06-21 Post Count: 3797 |
1
If you are hotter than me, Then that means I'm cooler than you :D |
|
|
This is a bit vague.
- I produce dank memes |
|
BarmoiJoin Date: 2011-06-21 Post Count: 3797 |
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 |
|
BarmoiJoin Date: 2011-06-21 Post Count: 3797 |
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 |
|
|
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") |
|
BarmoiJoin Date: 2011-06-21 Post Count: 3797 |
that does not add coins :/
If you are hotter than me, Then that means I'm cooler than you :D |
|
|
are you making one of those weight lifting simulator type things
|
|
balcktackJoin Date: 2017-04-05 Post Count: 78 |
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 |
|
BarmoiJoin Date: 2011-06-21 Post Count: 3797 |
@balck the script does not add the coins!
If you are hotter than me, Then that means I'm cooler than you :D |
|
|
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 |
|
BarmoiJoin Date: 2011-06-21 Post Count: 3797 |
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 |
|
|
I want people to know that they wont get their promised pay
And btw im just one of many who were scammed by you |
|
BarmoiJoin Date: 2011-06-21 Post Count: 3797 |
nani!?!?
If you are hotter than me, Then that means I'm cooler than you :D |
|
|
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 |
|
VoxxieJoin Date: 2006-08-27 Post Count: 325 |
he wont :^) |
|
|
Yeah ik lol
But people like him really annoy me and he litterally always promises pay and never pays anyone |
|
BarmoiJoin Date: 2011-06-21 Post Count: 3797 |
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 |
|
BarmoiJoin Date: 2011-06-21 Post Count: 3797 |
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 |
|
|
>Asks for people's help with a script
>Proceeds to insult them and says they're better than them at scripting. |
|
BarmoiJoin Date: 2011-06-21 Post Count: 3797 |
Who are these bunch of nobodies?
If you are hotter than me, Then that means I'm cooler than you :D |
|
BarmoiJoin Date: 2011-06-21 Post Count: 3797 |
like tf get off of me and my threads
If you are hotter than me, Then that means I'm cooler than you :D |
|
VoxxieJoin Date: 2006-08-27 Post Count: 325 |
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. |
|
|
@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] |
|
BarmoiJoin Date: 2011-06-21 Post Count: 3797 |
@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 |
|