Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Put is in local script pls
- name = "Grates"
- plr = game.Players[name]
- char = plr.Character
- prim = BrickColor.new("Magenta") -- PRIMARY COLOR
- seco = BrickColor.new("Royal purple") --SECONDARY COLOR
- cf = CFrame.new
- ball = Instance.new("Model", char)
- an = Instance.new("Animation", ball)
- an.AnimationId = "http://www.roblox.com/Asset?ID=45873069"
- ball = Instance.new("Model", char)
- p2 = Instance.new("Part", ball)
- p2.Size = Vector3.new(1,1,1)
- p2.FormFactor = "Symmetric"
- p2.BrickColor = seco
- p2.Transparency = .5
- p2.BottomSurface = 0
- p2.TopSurface = 0
- p2.CanCollide = false
- m2 = Instance.new("SpecialMesh", p2)
- m2.MeshType = "Sphere"
- m2.Scale = Vector3.new(.55,5,.55)
- weld = function(par,p0,p1,c0,c1,name)
- local weld = Instance.new("Weld",par)
- weld.Part0 = p0
- weld.Part1 = p1
- weld.C0 = c0
- weld.C1 = c1
- weld.Name = name
- end
- weld(ball, p2, char["Left Arm"], cf(0,0,0), cf(0,-1.25,0), "Outside")
- if script.Parent.ClassName ~= "HopperBin" then
- local bin = Instance.new("HopperBin",plr.Backpack)
- bin.Name = "Baul"
- bin.BinType = "Script"
- script:clone().Parent = bin
- script:remove()
- else
- bin = script.Parent;
- char.Humanoid.MaxHealth = math.huge
- fakehead = char.Head:Clone()
- fakehead.Parent = char
- char.Head.Transparency = 1
- weld = function(par,p0,p1,c0,c1,name)
- local weld = Instance.new("Weld",par)
- weld.Part0 = p0
- weld.Part1 = p1
- weld.C0 = c0
- weld.C1 = c1
- weld.Name = name
- end
- weld(char, fakehead, char.Head, cf(0,0,0), cf(0,0,0), "Head")
- Attack = function()
- b = ball:FindFirstChild("ASPHERE")
- if not b then
- char.Humanoid:LoadAnimation(an):Play()
- wait(.0)
- s:Play()
- s2:Play()
- A = Instance.new("Part", ball)
- A.Size = Vector3.new(20,20,20)
- A.Transparency = .5
- A.BrickColor = seco
- A.Reflectance = .5
- A.BottomSurface = 0
- A.TopSurface = 0
- A.CanCollide = false
- A.Anchored = true
- A.CFrame = char.Torso.CFrame
- A.Name = "ASPHERE"
- game.Debris:AddItem(A,.3)
- m = Instance.new("SpecialMesh", A)
- m.Scale = Vector3.new(.1,.1,.1)
- m.MeshType = "Sphere"
- function Tuch(hit)
- h = hit.Parent:findFirstChild("Humanoid")
- if h then
- h:TakeDamage(50) -- lel
- end
- end
- A.Touched:connect(Tuch)
- p.Touched:connect(Tuch)
- p1.Touched:connect(Tuch)
- wait(.05)
- A.CFrame = p.CFrame
- m.Scale = m.Scale*2
- wait(.05)
- A.CFrame = p.CFrame
- m.Scale = m.Scale*2
- wait(.05)
- A.CFrame = p.CFrame
- m.Scale = m.Scale*2
- wait(.05)
- A.CFrame = p.CFrame
- m.Scale = m.Scale*2
- wait(.05)
- A.CFrame = p.CFrame
- A:Destroy()
- end
- end
- bin.Selected:connect(function(mouse)
- mouse.Button1Down:connect(Attack)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement