Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print([[
- this is bullcrap
- i cant believe i spent so much time into this piece of garbage
- ]])
- local sound = Instance.new("Sound", owner.Character.Head)
- sound.Name = "caster"
- sound.SoundId = "rbxassetid://1512964041"
- sound.Volume = 3
- sound.Looped = true
- sound:Play()
- Instance.new("FlangeSoundEffect", sound)
- local remote = Instance.new("RemoteEvent", owner.Character.Head)
- remote.Name = "cast"
- function wbtwe(Part0, Part1, C0)
- local weld = Instance.new("Weld", Part0)
- weld.Part0 = Part0
- weld.Part1 = Part1
- weld.C0 = Part1.CFrame:inverse() *Part1.CFrame *C0
- return weld
- end
- pbl = 0
- NLS([[
- while game:GetService("RunService").RenderStepped:wait() do
- owner.Character.Head.cast:FireServer(owner.Character.Head.caster.PlaybackLoudness)
- workspace.CurrentCamera.FieldOfView = 90 +owner.Character.Head.caster.PlaybackLoudness/15
- end
- ]], owner.Character)
- hrw = wbtwe(owner.Character.Torso, owner.Character.HumanoidRootPart, CFrame.new(0, 0, 0) *CFrame.Angles(0, 0, 0))
- law = wbtwe(owner.Character["Left Arm"], owner.Character.Torso, CFrame.new(1.5, 0, 0) *CFrame.Angles(0, 25, 0))
- raw = wbtwe(owner.Character["Right Arm"], owner.Character.Torso, CFrame.new(-1.5, 0, 0) *CFrame.Angles(0, 0, 0))
- llw = wbtwe(owner.Character["Left Leg"], owner.Character.Torso, CFrame.new(0.45, 2.1, 0) *CFrame.Angles(0, 25, 0))
- rlw = wbtwe(owner.Character["Right Leg"], owner.Character.Torso, CFrame.new(-0.4, 2.1, 0) *CFrame.Angles(0, 0, -0))
- hw = wbtwe(owner.Character.Head, owner.Character.Torso, CFrame.new(0, -1.5, 0) *CFrame.Angles(0, 0, 0))
- anim = coroutine.wrap(function()
- while game:GetService("RunService").Stepped:wait() do
- hrw.C0 = hrw.C0:lerp(owner.Character.HumanoidRootPart.CFrame:inverse() *owner.Character.HumanoidRootPart.CFrame *CFrame.new(0, math.rad(math.random(-55, 55)), 0) *CFrame.Angles(pbl/5, pbl/5, pbl/5), 0.1)
- hw.C0 = hw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(0, -1.5, 0) *CFrame.Angles(0, 0, 0), 2)
- law.C0 = law.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(1.5, 0, 0) *CFrame.Angles(pbl/5, 25 +pbl/5, pbl/-6), 0.1)
- raw.C0 = raw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(-1.5, 0, 0) *CFrame.Angles(pbl/0.1, pbl/0.1, pbl/0.1), 0.1)
- llw.C0 = llw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(0.45, 2.1, 0) *CFrame.Angles(pbl/5, 25 +pbl/5, pbl/-6), 0.1)
- rlw.C0 = rlw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(-0.4, 2.1, 0) *CFrame.Angles(pbl/0.1, pbl/0.1, pbl/0.1), 0.1)
- end
- end)anim()
- remote.OnServerEvent:connect(function(P,X)
- pbl = X
- end)
- owner.Chatted:connect(function(msg)
- if msg:sub(1,3) == "!pl" then
- sound:Stop()
- sound.SoundId = "rbxassetid://"..msg:sub(5)
- sound:Play()
- end
- end)
Add Comment
Please, Sign In to add comment