Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Saz
- wait(.2)
- vPlayer=game.Players.LocalPlayer
- Allowed={"SazErenos","Fenrier","Qaeo","Luxilon"}
- Okd=false
- for _,v in pairs(Allowed) do
- if vPlayer.Name==v then
- Okd=true
- end
- end
- if Okd==false then
- script.Parent:Remove()
- end
- Tool=script.Parent
- if script.Parent.className~="Tool" then
- Tool=Instance.new("Tool")
- Tool.Name="Tea"
- Tool.Parent=vPlayer.Backpack
- Handle=Instance.new("Part")
- Handle.Size=Vector3.new(2.6,2.6,2.6)
- Handle.TopSurface=0
- Handle.BottomSurface=0
- Handle.Name="Handle"
- Handle.formFactor="Custom"
- Handle.Parent=Tool
- Handle.BrickColor=BrickColor:White()
- Tool.GripRight=Vector3.new(0,0,1)
- Tool.GripPos=Vector3.new(-1.08,-.1,.1)
- m=Instance.new("SpecialMesh")
- m.MeshType="FileMesh"
- m.MeshId="http://www.roblox.com/asset/?id=1029523"
- m.Parent=Handle
- m.Scale=Vector3.new(.05,.05,.05)
- script:clone().Parent=Tool
- else
- Tool=script.Parent
- Mouse=vPlayer:GetMouse()
- deb=true
- onClick=function()
- if deb==false then
- return
- end
- deb=false
- e=0
- rs=vPlayer.Character["Torso"]["Right Shoulder"]
- s=Instance.new("Sound")
- s.SoundId="http://www.roblox.com/asset/?id=159257160"
- s.Volume=1
- s.Parent=Tool.Handle
- s:Play()
- game:GetService("Debris"):AddItem(s,5)
- wait(5)
- lolol=rs.C0
- for i=1, 4 do
- rs.C0=rs.C0*CFrame.fromEulerAnglesXYZ(0,0,math.rad(30))
- wait(.031)
- end
- s=Instance.new("Sound")
- s.Volume=1
- s.Parent=Tool.Handle
- s.Name="Throw"
- s.Pitch=.8
- s.SoundId="http://www.roblox.com/asset/?id=189505665"
- s:Play()
- game:GetService("Debris"):AddItem(s,5)
- for i=1, 2 do
- rs.C0=rs.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.rad(30))
- wait(.031)
- end
- --throw
- hh=Tool.Handle:clone()
- dir=(hh.Position - game.Players.LocalPlayer:GetMouse().Hit.p).unit*-1
- Tool.Handle.Transparency=1
- hh.CanCollide=true
- hh.Parent=workspace
- hh.Velocity=dir*200+Vector3.new(0,5,0)
- ff=Instance.new("BodyForce")
- ff.force=Vector3.new(0,hh:GetMass()*140,0)
- ff.Parent=hh
- for i=1, 2 do
- rs.C0=rs.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.rad(30))
- hh.Velocity=dir*330
- wait(.031)
- end
- hitdeb=true
- hh.Touched:connect(function(hit)
- if hit==nil or hitdeb==false then return end
- if hit.Parent==nil then return end
- if hit.Parent:FindFirstChild("Humanoid")~=nil and hh:FindFirstChild("Hit")==nil then
- if hit.Parent==game.Players.LocalPlayer.Character then return end
- hitdeb=false
- hit.Anchored=true
- hh.Anchored=true
- s=Instance.new("Sound")
- s.Volume=1
- s.Parent=hit
- s.Name="Hit1"
- s.SoundId="http://www.roblox.com/asset/?id=167783266"
- s:Play()
- wait(.5)
- hit.Anchored=false
- hit.Parent:BreakJoints()
- s=Instance.new("Sound")
- s.Volume=1
- s.Parent=hh
- s.Name="Hit1"
- s.SoundId="http://www.roblox.com/asset/?id=168009623"
- s:Play()
- s=Instance.new("Sound")
- s.Volume=1
- s.Parent=hh
- s.Name="Hit2"
- s.SoundId="http://www.roblox.com/asset/?id=163680447"
- s:Play()
- s5=Instance.new("Sound")
- s5.Volume=1
- s5.Parent=hh
- s5.Name="Hit"
- s5.SoundId="http://www.roblox.com/asset/?id=138122923"
- s5.Pitch=.85
- s5:Play()
- e=Instance.new("Explosion",workspace)
- e.Position=hh.Position
- e.BlastPressure=e.BlastPressure*4
- for _,v in pairs(hit.Parent:children()) do
- if v:IsA("BasePart") then
- v.Velocity=(v.Position - hh.Position).unit * 90 + Vector3.new(math.random(-20,20),math.random(0,20),math.random(-20,20))
- v.RotVelocity=-v.Velocity * 1.2
- end
- end
- m=Instance.new("Model",workspace)
- m.Name="Illuminaughty"
- p=Instance.new("Part",m)
- p.Name="REK"
- p.TopSurface=0
- p.BottomSurface=0
- p.Anchored=true
- p.CanCollide=false
- p.Transparency=1
- p.CFrame=hh.CFrame
- b=Instance.new("BillboardGui",p)
- b.Size=UDim2.new(25,0,25,0)
- b.Adornee=p
- ss=script.REKT:clone()
- ss.Disabled=false
- ss.Parent=b
- hh.Transparency=1
- for i=1, 20 do
- p=Instance.new("Part")
- p.TopSurface=0
- p.BottomSurface=0
- p.Name="Shard"
- p.CFrame=hh.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) + Vector3.new(math.random(-15,15)/10,math.random(-15,15)/10,math.random(-15,15)/10)
- p.BrickColor=hh.BrickColor
- p.CanCollide=false
- p.formFactor="Custom"
- p.Size=Vector3.new(.2,.2,.2)
- if math.random(1,3)==1 then
- m=Instance.new("BlockMesh")
- m.Scale=Vector3.new(math.random(10,15)/10,.2,math.random(10,15)/10)
- m.Parent=p
- else
- m=Instance.new("SpecialMesh")
- m.MeshType="Wedge"
- m.Scale=Vector3.new(math.random(10,15)/10,.2,math.random(10,15)/10)
- m.Parent=p
- end
- p.RotVelocity=Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- p.Velocity=p.RotVelocity + Vector3.new(0,25,0) + hh.Velocity / 6
- p.Parent=workspace
- end
- hh.Anchored=true
- end
- if hit.Parent:FindFirstChild("Humanoid")==nil and hh:FindFirstChild("Hit")==nil and hit.CanCollide==true then
- hh.Transparency=1
- for i=1, 20 do
- p=Instance.new("Part")
- p.TopSurface=0
- p.BottomSurface=0
- p.Name="Shard"
- p.CFrame=hh.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) + Vector3.new(math.random(-15,15)/10,math.random(-15,15)/10,math.random(-15,15)/10)
- p.BrickColor=hh.BrickColor
- p.CanCollide=false
- p.formFactor="Custom"
- p.Size=Vector3.new(.2,.2,.2)
- if math.random(1,3)==1 then
- m=Instance.new("BlockMesh")
- m.Scale=Vector3.new(math.random(10,15)/10,.2,math.random(10,15)/10)
- m.Parent=p
- else
- m=Instance.new("SpecialMesh")
- m.MeshType="Wedge"
- m.Scale=Vector3.new(math.random(10,15)/10,.2,math.random(10,15)/10)
- m.Parent=p
- end
- p.RotVelocity=Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- p.Velocity=p.RotVelocity + Vector3.new(0,25,0) + hh.Velocity / 6
- p.Parent=workspace
- end
- for i=1, 4 do
- s5=Instance.new("Sound")
- s5.Volume=1
- s5.Parent=hh
- s5.Name="Hit"
- s5.SoundId="http://www.roblox.com/asset/?id=138122923"
- s5.Pitch=.85
- s5:Play()
- end
- hh.Anchored=true
- end
- end)
- game:GetService("Debris"):AddItem(hh,5)
- wait(4.33)
- Tool.Handle.Transparency=0
- deb=true
- end
- Tool.Activated:connect(onClick)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement