Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[ // -------------------------------- \\
- | -- Bloxy Cola Script -- |
- \\ -------------------------------- //
- --]]
- local player = game:GetService("Players").LocalPlayer
- local bp = player:FindFirstChildOfClass("Backpack")
- --------------------------------------------------------------------|
- tl=Instance.new("Tool") --|
- tl.Name = 'BloxyCola' --|
- tl.Parent = bp --|
- --------------------------------------------------------------------|
- part=Instance.new("Part",tl) --|
- part.Name = 'Handle' --|
- --------------------------------------------------------------------|
- sound1=Instance.new("Sound",part) --|
- sound1.Name = 'DrinkSound' --|
- sound1.SoundId = 'http://www.roblox.com/asset/?id=10722059' --|
- --------------------------------------------------------------------|
- sound2=Instance.new("Sound",part) --|
- sound2.Name = 'OpenSound' --|
- sound2.SoundId = 'http://www.roblox.com/asset/?id=10721950' --|
- --------------------------------------------------------------------|
- mesh=Instance.new("SpecialMesh",part) --|
- mesh.MeshId = 'http://www.roblox.com/asset/?id=10470609' --|
- mesh.Scale = Vector3.new(1.2, 1.2, 1.2) --|
- mesh.TextureId = 'http://www.roblox.com/asset/?id=10470600' --|
- mesh.Name = 'mesh' -- :v --|
- --------------------------------------------------------------------|
- print("Bloxy Cola Script - Loading...")
- wait(0.00000000000000000000000000000000000000000000000000000000000001)
- -- let's go
- local Tool = tl;
- enabled = true
- function onActivated()
- if not enabled then
- return
- end
- enabled = false
- Tool.GripForward = Vector3.new(0,-.759,-.651)
- Tool.GripPos = Vector3.new(1.5,-.5,.3)
- Tool.GripRight = Vector3.new(1,0,0)
- Tool.GripUp = Vector3.new(0,.651,-.759)
- Tool.Handle.DrinkSound:Play()
- wait(3)
- local h = Tool.Parent:FindFirstChild("Humanoid")
- if (h ~= nil) then
- if (h.MaxHealth > h.Health + 5) then
- h.Health = h.Health + 5
- else
- h.Health = h.MaxHealth
- end
- end
- Tool.GripForward = Vector3.new(-.976,0,-0.217)
- Tool.GripPos = Vector3.new(0.03,0,0)
- Tool.GripRight = Vector3.new(.217,0,-.976)
- Tool.GripUp = Vector3.new(0,1,0)
- enabled = true
- end
- function onEquipped()
- Tool.Handle.OpenSound:play()
- end
- tl.Activated:Connect(onActivated)
- tl.Equipped:Connect(onEquipped)
- wait(0.0000000000000000000000000000000000000000000000000000001)
- warn('Bloxy Cola Script - Loaded!')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement