Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --By Rufus14 (oh god) and edited by youngmacka123
- --owner = game:GetService("Players"):GetPlayerFromCharacter(script.Parent)
- character = owner.Character
- NLS([[
- --By Rufus14
- localplayer = game:GetService("Players").LocalPlayer
- character = localplayer.Character
- local remote = character:WaitForChild("remotenigga")
- local music = character.Head:WaitForChild("musicc")
- mouse = localplayer:GetMouse()
- local errorr = false
- mouse.Button1Down:connect(function()
- remote:FireServer("SHARTER!!!!!!!!!!!!!!!!!!", mouse.Hit)
- end)
- mouse.KeyDown:connect(function(key)
- key = key:lower()
- if key == "q" then
- remote:FireServer("changemode")
- end
- if key == "e" then
- remote:FireServer("error")
- errorr = true
- coroutine.wrap(function()
- wait(10)
- for i = 1,10 do
- local screen = Instance.new("ScreenGui", localplayer:findFirstChildOfClass("PlayerGui"))
- local ViewportFrame = Instance.new("ViewportFrame", screen)
- ViewportFrame.Size = UDim2.new(1, 0, 1, 36)
- ViewportFrame.Position = ViewportFrame.Position + UDim2.new(0,0,0,-36)
- ViewportFrame.BackgroundTransparency = 1
- ViewportFrame.ImageTransparency = 0.95
- local ViewportCamera = Instance.new("Camera", ViewportFrame)
- ViewportFrame.CurrentCamera = ViewportCamera
- ViewportCamera.CFrame = workspace.CurrentCamera.CFrame
- music.Ended:connect(function()
- screen:destroy()
- end)
- coroutine.wrap(function()
- while game:GetService("RunService").RenderStepped:wait() do
- ViewportCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.random(-20,20)/150)
- end
- end)()
- for i,v in pairs(workspace:GetDescendants()) do
- if v.ClassName == "Part" or v.ClassName == "MeshPart" then
- local vclone = v:Clone()
- vclone.Parent = ViewportFrame
- coroutine.wrap(function()
- while game:GetService("RunService").RenderStepped:wait() do
- if not v.Anchored then
- vclone.CFrame = v.CFrame
- end
- end
- end)()
- end
- end
- for i,v in pairs(screen:GetDescendants()) do
- if v.ClassName == "Sound" then
- v:destroy()
- end
- end
- wait(2.5)
- end
- end)()
- end
- end)
- while game:GetService("RunService").RenderStepped:wait() do
- if errorr then
- remote:FireServer("loudness", music.PlaybackLoudness)
- end
- workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.new(((music.PlaybackLoudness/40000)*math.random(-10,10)),((music.PlaybackLoudness/40000)*math.random(-10,10)),((music.PlaybackLoudness/40000)*math.random(-10,10))) * CFrame.fromEulerAnglesXYZ(0,0,((music.PlaybackLoudness/200000)*math.random(-10,10)))
- end
- ]], character)
- mode = 1
- step = game:GetService("RunService").Stepped
- local remote = Instance.new("RemoteEvent", character)
- remote.Name = "remotenigga"
- local billboard = Instance.new("BillboardGui", character.Head)
- billboard.Adornee = character.Head
- billboard.StudsOffset = Vector3.new(-5.5, 4, 0)
- billboard.Size = UDim2.new(4,0,2,0)
- local text = Instance.new("TextLabel", billboard)
- text.Text = "π³PURITYπ³"
- text.BackgroundTransparency = 1
- text.TextScaled = true
- text.TextStrokeTransparency = 0
- text.TextStrokeColor3 = Color3.fromRGB(0,255,255)
- text.Size = billboard.Size
- text.Font = "Code"
- text.TextColor3 = Color3.fromRGB(255,255,255)
- local music = Instance.new("Sound", character.Head)
- music.SoundId = "rbxassetid://1076825525"
- music.Looped = true
- music.Name = "musicc"
- music.Volume = 5
- music:Play()
- local flange = Instance.new("FlangeSoundEffect", music)
- flange.Depth = 1
- flange.Mix = 1
- flange.Rate = 2.4
- local rightarm = Instance.new("Weld", owner.Character.Torso)
- rightarm.Part0 = owner.Character.Torso
- rightarm.Part1 = owner.Character["Right Arm"]
- rightarm.C0 = CFrame.new(1.5,0,0)
- rightarm.Name = "RightArmWeld"
- local rightleg = Instance.new("Weld", owner.Character.Torso)
- rightleg.Part0 = owner.Character.Torso
- rightleg.Part1 = owner.Character["Right Leg"]
- rightleg.C0 = CFrame.new(0.5,-2,0)
- rightleg.Name = "RightLegWeld"
- local leftarm = Instance.new("Weld", owner.Character.Torso)
- leftarm.Part0 = owner.Character.Torso
- leftarm.Part1 = owner.Character["Left Arm"]
- leftarm.C0 = CFrame.new(-1.5,0,0)
- leftarm.Name = "LeftArmWeld"
- local leftleg = Instance.new("Weld", owner.Character.Torso)
- leftleg.Part0 = owner.Character.Torso
- leftleg.Part1 = owner.Character["Left Leg"]
- leftleg.C0 = CFrame.new(-0.5,-2,0)
- leftleg.Name = "LeftLegWeld"
- local head = Instance.new("Weld", owner.Character.Torso)
- head.Part0 = owner.Character.Torso
- head.Part1 = owner.Character.Head
- head.C0 = CFrame.new(0,1.5,0)
- head.Name = "HeadWeld"
- local humanoidrootpart = Instance.new("Weld", owner.Character.HumanoidRootPart)
- humanoidrootpart.Part0 = owner.Character.HumanoidRootPart
- humanoidrootpart.Part1 = owner.Character.Torso
- humanoidrootpart.Name = "HumanoidRootPartWeld"
- cananimate = true
- sine = 0
- rootpart = character.HumanoidRootPart
- seizure2 = false
- errored = false
- loudness = 0
- local ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- local tf = 0
- local allowframeloss = false
- local tossremainder = false
- local lastframe = tick()
- local frame = 1/60
- ArtificialHB:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- ArtificialHB:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- local r = 255
- local g = 0
- local b = 0
- coroutine.resume(coroutine.create(function()
- while wait() do
- for i = 0, 254/5 do
- swait()
- g = g + 5
- end
- for i = 0, 254/5 do
- swait()
- r = r - 5
- end
- for i = 0, 254/5 do
- swait()
- b = b + 5
- end
- for i = 0, 254/5 do
- swait()
- g = g - 5
- end
- for i = 0, 254/5 do
- swait()
- r = r + 5
- end
- for i = 0, 254/5 do
- swait()
- b = b - 5
- end
- end
- end))
- remote.OnServerEvent:connect(function(who, what, message)
- if who == owner then
- if what == "changemode" and not errored then
- mode = mode + 1
- if mode > 6 then
- mode = 1
- end
- if mode == 1 then
- text.Text = "π³PURITYπ³"
- text.TextStrokeColor3 = Color3.fromRGB(0,255,255)
- text.TextColor3 = Color3.fromRGB(255,255,255)
- music.SoundId = "rbxassetid://1076825525"
- music.Volume = 5
- music.PlaybackSpeed = 1
- flange.Depth = 1
- flange.Mix = 1
- flange.Rate = 2.4
- elseif mode == 2 then
- text.Text = "mayhem?????π³π³"
- text.TextStrokeColor3 = Color3.fromRGB(0,0,0)
- text.TextColor3 = Color3.fromRGB(255,0,0)
- music.SoundId = "rbxassetid://614032233"
- music.Volume = 5
- music.PlaybackSpeed = 1.2
- flange.Depth = 1
- flange.Mix = 1
- flange.Rate = 2.4
- elseif mode == 3 then
- text.Text = "h"
- text.TextStrokeColor3 = Color3.fromRGB(0,0,0)
- text.TextColor3 = Color3.fromRGB(0,0,0)
- music.SoundId = "rbxassetid://277989165"
- music.Volume = 7
- music.PlaybackSpeed = 1
- flange.Depth = 1
- flange.Mix = 1
- flange.Rate = 2.4
- elseif mode == 4 then
- text.Text = "INSANITY! π‘π‘"
- text.TextStrokeColor3 = Color3.fromRGB(0,0,0)
- text.TextColor3 = Color3.fromRGB(0,0,0)
- music.SoundId = "rbxassetid://435019840"
- music.Volume = 5
- music.PlaybackSpeed = 1
- flange.Depth = 1
- flange.Mix = 1
- flange.Rate = 1
- coroutine.wrap(function()
- while mode == 4 do
- if mode == 4 then
- text.Text = "INSanity! π‘π‘"
- text.TextColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
- wait()
- end
- if mode == 4 then
- text.Text = "insAINTY!π‘π‘π‘π‘"
- text.TextColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
- wait()
- end
- if mode == 4 then
- text.Text = "insanity!π‘π‘π‘π‘"
- text.TextColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
- wait()
- end
- if mode == 4 then
- text.Text = "INSANity!π‘π‘π‘π‘"
- text.TextColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
- wait()
- end
- if mode == 4 then
- text.Text = "inSANITY!π‘π‘π‘π‘"
- text.TextColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
- wait()
- end
- end
- end)()
- elseif mode == 5 then
- text.Text = "CRAZY EPIC SHAKING FUNN Y!!!"
- text.TextStrokeColor3 = Color3.fromRGB(255, 255, 0)
- text.TextColor3 = Color3.fromRGB(0, 255, 0)
- music.SoundId = "rbxassetid://1916505674"
- music.Volume = 5
- music.PlaybackSpeed = 1
- flange.Depth = 1
- flange.Mix = 1
- flange.Rate = 1
- seizure2 = false
- coroutine.wrap(function()
- while wait(1.225) and mode == 5 do
- if seizure2 then
- seizure2 = false
- else
- seizure2 = true
- end
- end
- end)()
- elseif mode == 6 then
- text.Text = "RaiNBoW"
- text.TextColor3 = Color3.new(1, 1, 1)
- text.TextStrokeColor3 = Color3.new(r/255, g/255, b/255)
- music.SoundId = "rbxassetid://4477802422"
- music.Volume = 5
- music.PlaybackSpeed = 1
- flange.Depth = 1
- flange.Mix = 1
- flange.Rate = 1
- seizure2 = false
- coroutine.wrap(function()
- while mode == 6 do
- wait()
- text.TextStrokeColor3 = Color3.new(r/255, g/255, b/255)
- --[[
- if mode == 6 then
- text.Text = "π³^*rAINBow%π³"
- --text.TextStrokeColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
- wait()
- end
- if mode == 6 then
- text.Text = "&^RaINBOw$π³π³π³"
- --text.TextStrokeColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
- wait()
- end
- if mode == 6 then
- text.Text = "*)-%^π³RainboW!π³π³π³π³π³π³π³%"
- --text.TextStrokeColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
- wait()
- end
- if mode == 6 then
- text.Text = "*>YeS Fπ³π³π³%"
- text.TextStrokeColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
- wait()
- end
- if mode == 6 then
- text.Text = "RaiNBow!π³π³π³π³π³π³π³π³π³π³π³π³"
- --text.TextStrokeColor3 = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
- wait()
- end
- ]]--
- end
- end)()
- music:Play()
- end
- elseif what == "error" and not errored then
- cananimate = false
- errored = true
- mode = 7
- text.Text = "error"
- text.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
- text.TextColor3 = Color3.fromRGB(255, 0, 0)
- music.SoundId = "rbxassetid://285685019"
- music.Volume = 6
- music.TimePosition = 0
- music.Looped = false
- music.PlaybackSpeed = 1
- flange:destroy()
- music.Ended:connect(function()
- character:BreakJoints()
- local ex = Instance.new("Explosion", workspace)
- ex.Position = character.Head.Position
- local boom = Instance.new("Sound", character.Head)
- boom.SoundId = "rbxassetid://2898512514"
- boom.PlayOnRemove = true
- boom:destroy()
- end)
- coroutine.wrap(function()
- while step:wait() do
- if loudness > 200 then
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(math.sin(tick()*2)/1.5,math.cos(tick()*4)/3,0) * CFrame.Angles((math.random(-30,30)*loudness/2),(math.random(-30,30)*loudness/2),rootpart.RotVelocity.y/50+(math.random(-30,30)*loudness/2)+math.cos(tick()*2)),0.3)
- head.C0 = head.C0:lerp(CFrame.new(0,1.5,0) * CFrame.Angles(0,0,0),0.6)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-2,0.5,0) * CFrame.Angles(0,0,-math.pi/2),0.6)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(2,0.5,0) * CFrame.Angles(0,0,math.pi/2),0.6)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1,0) * CFrame.Angles(0,0,math.rad(-20)) * CFrame.new(0,-1,0),0.6)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-1,0) * CFrame.Angles(0,0,math.rad(20)) * CFrame.new(0,-1,0),0.6)
- else
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(math.sin(tick()*2)/1.5,math.cos(tick()*4)/1.5,0) * CFrame.Angles(0,0,rootpart.RotVelocity.y/50+math.cos(tick()*2)),0.2)
- head.C0 = head.C0:lerp(CFrame.new(0,1.5,0) * CFrame.Angles(0,0,0),0.3)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0,0),0.2)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0,0),0.2)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-2,0),0.2)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-2,0),0.2)
- end
- end
- end)()
- elseif what == "loudness" then
- loudness = message
- elseif what == "SHARTER!!!!!!!!!!!!!!!!!!" and not errored then
- local sharter = Instance.new("Sound", character.Head)
- sharter.SoundId = "rbxassetid://1718412034"
- sharter.Volume = 10
- sharter:Play()
- local echonigga = Instance.new("EchoSoundEffect", sharter)
- echonigga.Delay = 0.1
- echonigga.Feedback = 0.2
- game.Debris:AddItem(sharter, sharter.TimeLength)
- wait(sharter.TimeLength+0.1)
- local sphere = Instance.new("Part", character.Head)
- sphere.Material = "Neon"
- sphere.Anchored = true
- sphere.Shape = "Ball"
- sphere.CFrame = message
- sphere.Color = text.TextColor3
- sphere.CanCollide = false
- local ex = Instance.new("Explosion", workspace)
- ex.Position = sphere.Position
- ex.BlastPressure = math.huge
- ex.BlastRadius = 20
- local boom = Instance.new("Sound", sphere)
- boom.SoundId = "rbxassetid://3140843322"
- boom.Volume = 10
- boom:Play()
- game.Debris:AddItem(boom, 0.4)
- coroutine.wrap(function()
- for i = 1,25 do
- sphere.Size = sphere.Size + Vector3.new(1.25,1.25,1.25)
- sphere.Transparency = sphere.Transparency + 0.035
- step:wait()
- end
- sphere:destroy()
- end)()
- end
- end
- end)
- animhype2 = false
- seizure = false
- coroutine.wrap(function()
- while wait(5) do
- if seizure then
- seizure = false
- else
- seizure = true
- end
- end
- end)()
- coroutine.wrap(function()
- while wait(0.5) do
- if animhype2 then
- animhype2 = false
- else
- animhype2 = true
- end
- end
- end)()
- while step:wait() do
- if cananimate then
- sine = sine + 1
- if mode == 1 then
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(rootpart.RotVelocity.y/5,3+math.sin(sine/5)*3.5,-math.sin(sine/10)*2) * CFrame.fromEulerAnglesXYZ(-math.cos(sine/10),0,rootpart.RotVelocity.y/10),0.15)
- head.C0 = head.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(-math.cos(sine/5) + math.rad(-20),0,0) * CFrame.new(0,0.5,0),0.15)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.Angles(0,0,math.rad(-40)+math.cos(sine/5)*2) * CFrame.new(0,-0.9,0),0.15)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.Angles(0,0,math.rad(40)-math.cos(sine/5)*2) * CFrame.new(0,-0.9,0),0.15)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1,0) * CFrame.Angles(-math.cos(sine/10),0,0) * CFrame.new(0,-1,0),0.15)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-1,0) * CFrame.Angles(-math.cos(sine/10),0,0) * CFrame.new(0,-1,0),0.15)
- elseif mode == 2 then
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(math.sin(sine/2)/3,0,0) * CFrame.Angles(0,0,math.sin(sine/2)/4+rootpart.RotVelocity.y/50),0.6)
- head.C0 = head.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(0,0,0) * CFrame.new(0,0.5,0),0.6)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.Angles(math.rad(90)+math.cos(sine/1)/1.5,math.rad(20)+math.sin(sine/2)/1.5,-math.sin(sine/2)) * CFrame.new(0,-1+math.sin(sine/2)/2,0),0.6)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.Angles(math.rad(90)+math.cos(sine/1)/1.5,math.rad(-20)-math.sin(sine/2)/1.5,math.sin(sine/2)) * CFrame.new(0,-1+math.sin(sine/2)/2,0),0.6)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1,0) * CFrame.Angles(0,0,-math.sin(sine/2)/3) * CFrame.new(0,-1,0),0.6)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-1,0) * CFrame.Angles(0,0,-math.sin(sine/2)/3) * CFrame.new(0,-1,0),0.6)
- elseif mode == 3 then
- if animhype2 then
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,-math.cos(sine/1)/3,0) * CFrame.Angles(0,math.pi/2,rootpart.RotVelocity.y/50),0.6)
- head.C0 = head.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(math.cos(sine/1)/4,-(math.pi/2)+math.rad(20),0) * CFrame.new(0,0.5,0),0.6)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.Angles(0,0,0) * CFrame.new(0,-0.5,0),0.6)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.Angles(-math.sin(sine/1)/1.5,0,0) * CFrame.new(0,-0.5,0),0.6)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1+math.sin(sine/1)/3,0) * CFrame.Angles(0,0,0) * CFrame.new(0,-1,0),0.6)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-0.5,-1) * CFrame.Angles(-math.sin(sine/1)/1.5,0,0) * CFrame.new(0,-1,0),0.6)
- else
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,-math.cos(sine/1)/3,0) * CFrame.Angles(0,math.pi/2,rootpart.RotVelocity.y/50),0.6)
- head.C0 = head.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(math.cos(sine/1)/4,-(math.pi/2)+math.rad(20),0) * CFrame.new(0,0.5,0),0.6)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.Angles(0,0,0) * CFrame.new(0,-0.5,0),0.6)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.Angles(math.pi-math.rad(10)+math.sin(sine/1)/1.5,0,0) * CFrame.new(0,-0.5,0),0.6)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1+math.sin(sine/1)/3,0) * CFrame.Angles(0,0,0) * CFrame.new(0,-1,0),0.6)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-0.5,-1) * CFrame.Angles(-math.sin(sine/1)/1.5,0,0) * CFrame.new(0,-1,0),0.6)
- end
- elseif mode == 4 then
- if seizure then
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,-1.5+math.sin(sine/2),0) * CFrame.Angles((-math.pi/2)+math.sin(sine/2)/2,0,rootpart.RotVelocity.y/50),0.6)
- head.C0 = head.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(math.cos(sine/2)/2,0,0) * CFrame.new(0,0.5,0),0.6)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.Angles(-math.cos(sine/2)*1.5,0,math.rad(-50)) * CFrame.new(0,-0.5,0),0.6)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.Angles(-math.cos(sine/2)*1.5,0,math.rad(50)) * CFrame.new(0,-0.5,0),0.6)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1,0) * CFrame.Angles(math.cos(sine/2)*1.5,0,0) * CFrame.new(0,-1,0),0.6)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-1,0) * CFrame.Angles(math.cos(sine/2)*1.5,0,0) * CFrame.new(0,-1,0),0.6)
- else
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,math.sin(sine/2)/1.5,0) * CFrame.Angles(math.sin(sine/2)/2,0,rootpart.RotVelocity.y/50),0.6)
- head.C0 = head.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(math.cos(sine/2)/2,0,0) * CFrame.new(0,0.5,0),0.6)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.Angles(-math.cos(sine/2)*1.5,0,0) * CFrame.new(0,-0.5,0),0.6)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.Angles(-math.cos(sine/2)*1.5,0,0) * CFrame.new(0,-0.5,0),0.6)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1,0) * CFrame.Angles(-math.cos(sine/2)*1.5,0,0) * CFrame.new(0,-1,0),0.6)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-1,0) * CFrame.Angles(-math.cos(sine/2)*1.5,0,0) * CFrame.new(0,-1,0),0.6)
- end
- elseif mode == 5 then
- if seizure2 then
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,math.sin(sine/2),0) * CFrame.Angles(math.cos(sine)*3,math.sin(sine*1.1)*3,math.sin(sine*1.1)*3),0.6)
- head.C0 = head.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(math.cos(sine)*3,math.sin(sine*1.1)*3,math.sin(sine*1.1)*3) * CFrame.new(0,0.5,0),0.6)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.Angles(math.cos(sine)*3,math.sin(sine*1.1)*3,math.sin(sine*1.1)*3) * CFrame.new(0,-0.5,0),0.6)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.Angles(math.cos(sine)*3,math.sin(sine*1.1)*3,math.sin(sine*1.1)*3) * CFrame.new(0,-0.5,0),0.6)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1,0) * CFrame.Angles(math.cos(sine)*3,math.sin(sine*1.1)*3,math.sin(sine*1.1)*3) * CFrame.new(0,-1,0),0.6)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-1,0) * CFrame.Angles(math.cos(sine)*3,math.sin(sine*1.1)*3,math.sin(sine*1.1)*3) * CFrame.new(0,-1,0),0.6)
- else
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0.5+math.sin(sine/2),math.cos(sine/4)) * CFrame.Angles(math.cos(sine/2)/2,0,rootpart.RotVelocity.y/50),0.6)
- head.C0 = head.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(0,0,0) * CFrame.new(0,0.5,0),0.6)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.Angles(0,0,0) * CFrame.new(0,-0.5,0),0.6)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.Angles(0,0,0) * CFrame.new(0,-0.5,0),0.6)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1,0) * CFrame.Angles(0,0,0) * CFrame.new(0,-1,0),0.6)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-1,0) * CFrame.Angles(0,0,0) * CFrame.new(0,-1,0),0.6)
- end
- elseif mode == 6 then
- local owmineck = math.rad(math.random(-300, 300))
- if seizure2 then
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,math.sin(sine/2),0) * CFrame.Angles(owmineck,owmineck,owmineck),0.6)
- head.C0 = head.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(owmineck,owmineck,owmineck) * CFrame.new(0,0.5,0),0.6)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.Angles(owmineck,owmineck,owmineck) * CFrame.new(0,-0.5,0),0.6)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.Angles(owmineck,owmineck,owmineck) * CFrame.new(0,-0.5,0),0.6)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1,0) * CFrame.Angles(owmineck,owmineck,owmineck) * CFrame.new(0,-1,0),0.6)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-1,0) * CFrame.Angles(owmineck,owmineck,owmineck) * CFrame.new(0,-1,0),0.6)
- else
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,math.sin(sine/2),0) * CFrame.Angles(owmineck,owmineck,owmineck),0.6)
- head.C0 = head.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(owmineck,owmineck,owmineck) * CFrame.new(0,0.5,0),0.6)
- leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.Angles(owmineck,owmineck,owmineck) * CFrame.new(0,-0.5,0),0.6)
- rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.Angles(owmineck,owmineck,owmineck) * CFrame.new(0,-0.5,0),0.6)
- leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-1,0) * CFrame.Angles(owmineck,owmineck,owmineck) * CFrame.new(0,-1,0),0.6)
- rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-1,0) * CFrame.Angles(owmineck,owmineck,owmineck) * CFrame.new(0,-1,0),0.6)
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement