Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This script has been converted to FE by iPxter
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- do
- print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
- script.Parent = Player.Character
- --RemoteEvent for communicating
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- --Fake event to make stuff like Mouse.KeyDown work
- local function fakeEvent()
- local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
- t.connect = t.Connect
- return t
- end
- --Creating fake input objects with fake variables
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent and t.Function then
- t.Function(...)
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=Player then return end
- if io.isMouse then
- m.Target = io.Target
- m.Hit = io.Hit
- else
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[
- local Player = owner
- local Event = script:WaitForChild("UserInput_Event")
- local UIS = game:GetService("UserInputService")
- local input = function(io,a)
- if a then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local Mouse = Player:GetMouse()
- local h,t
- --Give the server mouse data 30 times every second, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- while wait(1/30) do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- end]==],Player.Character)
- Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
- end
- plr = owner
- chr = plr.Character or plr.CharacterAdded:wait()
- fire = Instance.new("Fire")
- shield = Instance.new('Part')
- shield.FormFactor = "Custom"
- shield.Size = Vector3.new(.2,.2,.2)
- shield.BottomSurface = "Smooth"
- shield.TopSurface = "Smooth"
- shield.Anchored = true
- shield.CanCollide = false
- shield.BrickColor = BrickColor.new(0,0,0)
- shield.Transparency = .5
- mesh = Instance.new("SpecialMesh",shield)
- mesh.MeshType = "Sphere"
- tele = Instance.new("Part")
- tele.Anchored = true
- tele.Transparency = .5
- tele.CanCollide = false
- cil = Instance.new("CylinderMesh",tele)
- tele.BrickColor = BrickColor.new(1,1,1)
- tele.Size = Vector3.new(5,1,5)
- box = Instance.new("Part")
- box.Transparency = .5
- box.Anchored = true
- box.CanCollide = false
- box.FormFactor = Enum.FormFactor.Custom
- box.Size = Vector3.new(.2,.2,.2)
- box.TopSurface = Enum.SurfaceType.Smooth
- box.BottomSurface = Enum.SurfaceType.Smooth
- mouse.KeyDown:connect(function(key)
- if key == 'f'then
- if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
- local clone = fire:Clone()
- clone.Parent = chr["Right Arm"]
- clone.Color = Color3.new(1,1,1)
- clone.SecondaryColor = clone.Color
- wait(2)
- clone:Destroy()
- local target = mouse.Target
- local victim = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
- victim.Character.Torso.Anchored = true
- while true do
- game:GetService('RunService').RenderStepped:wait()
- victim.Character.HumanoidRootPart.CFrame = victim.Character.HumanoidRootPart.CFrame + Vector3.new(0,.1,0)
- end
- end
- elseif key == '' then
- if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
- local clone = fire:Clone()
- clone.Parent = chr["Right Arm"]
- clone.Color = Color3.new(0.3333333333333333,0.6666666666666667,1)
- clone.SecondaryColor = clone.Color
- wait(2)
- clone:Destroy()
- local victim = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
- local children = victim.Character:GetChildren()
- victim.Character.Humanoid.WalkSpeed = 0
- victim.Character.Torso.Anchored = true
- for i,v in pairs(children) do
- if v.ClassName == "Part" and v.Name ~= "HumanoidRootPart" then
- v.Anchored = true
- v.CanCollide = false
- for i = 0,1,.1 do
- wait()
- v.Transparency = i
- end
- end
- end
- end
- elseif key == 'c' then
- if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
- local clone = fire:Clone()
- clone.Parent = chr["Right Arm"]
- clone.Color = Color3.new(1,0,0)
- clone.SecondaryColor = clone.Color
- wait(2)
- clone:Destroy()
- local explosion = Instance.new('Explosion',workspace)
- explosion.Position = mouse.Target.Position
- end
- elseif key == 'q' then
- if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
- local clone = fire:Clone()
- clone.Parent = chr["Right Arm"]
- clone.Color = Color3.new(0,1,0)
- clone.SecondaryColor = clone.Color
- wait(2)
- clone:Destroy()
- local victim = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
- local children = victim.Character:GetChildren()
- victim.Character.Humanoid.WalkSpeed = 0
- victim.Character.Torso.Anchored = true
- for i,v in pairs(children) do
- if v.ClassName == "Part" and v.Name ~= "HumanoidRootPart" then
- wait(.25)
- v.BrickColor = BrickColor.Green()
- v.CanCollide = false
- v.Parent = workspace
- v.Anchored = false
- end
- end
- end
- elseif key == 'r' then
- if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
- local clone = fire:Clone()
- clone.Parent = chr["Right Arm"]
- clone.Color = Color3.new(0,0,0)
- clone.SecondaryColor = clone.Color
- wait(2)
- clone:Destroy()
- local ball = shield:Clone()
- ball.Parent = workspace
- ball.Touched:connect(function(p)
- if p.Name ~= "Base" and p.Parent ~=chr or p.Name ~= "Base" and p.Parent.Parent ~= chr then
- p:Destroy()
- end
- end)
- while ball.Size.Y < 26 do
- game:GetService('RunService').RenderStepped:wait()
- ball.Size = ball.Size + Vector3.new(.25,.25,.25)
- ball.CFrame = chr.Torso.CFrame
- end
- for i = .5,1,.05 do
- game:GetService('RunService').RenderStepped:wait()
- ball.Transparency = i
- end
- ball:Destroy()
- end
- elseif key == 't' then
- local dis = shield:Clone()
- local telep = tele:Clone()
- telep.Parent = workspace
- dis.Parent = workspace
- dis.BrickColor = BrickColor.new(1,1,1)
- for i = 1,25 do
- game:GetService('RunService').RenderStepped:wait()
- dis.Size = dis.Size + Vector3.new(.35,.35,.35)
- dis.CFrame = chr.Torso.CFrame
- telep.Size = telep.Size + Vector3.new(0,5,0)
- telep.CFrame = chr.Torso.CFrame
- end
- for i = .5,1,.05 do
- game:GetService('RunService').RenderStepped:wait()
- dis.Transparency = i
- telep.Transparency = i
- dis.CFrame = chr.Torso.CFrame
- telep.CFrame = chr.Torso.CFrame
- end
- dis:Destroy()
- telep:Destroy()
- chr:SetPrimaryPartCFrame(mouse.Hit+Vector3.new(0,20,0))
- elseif
- key == 'g' then
- if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
- local target = mouse.Target
- local clone = fire:Clone()
- clone.Parent = chr["Right Arm"]
- clone.Color = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
- clone.SecondaryColor = clone.Color
- wait(2)
- clone:Destroy()
- local boxB = box:Clone()
- boxB.Parent = target
- boxB.BrickColor = BrickColor.new(math.random(0,1),math.random(0,1),math.random(0,1))
- local victim = game.Players:GetPlayerFromCharacter(mouse.Target.Parent).Character
- victim.Humanoid.WalkSpeed = 0
- for i = .2,10,.2 do
- game:GetService('RunService').RenderStepped:wait()
- boxB.Size = Vector3.new(i,i,i)
- boxB.CFrame = victim.Torso.CFrame
- end
- for i = .5,1,.025 do
- game:GetService('RunService').RenderStepped:wait()
- boxB.Transparency = i
- end
- wait()
- boxB:Destroy()
- local children = victim:GetChildren()
- for i,v in pairs(children) do
- clone = fire:Clone()
- clone.Parent = v
- clone.Color = Color3.new(1,0,0)
- victim.Humanoid.Health = victim.Humanoid.Health - 10
- if v.ClassName == "Part" then
- v.BrickColor = BrickColor.Red()
- end
- end
- end
- elseif key == 'h' then
- local clone = fire:Clone()
- clone.Parent = chr["Right Arm"]
- clone.Color = Color3.new(1,1,1)
- clone.SecondaryColor = clone.Color
- wait(.5)
- clone:Destroy()
- local sphere = shield:Clone()
- sphere.Parent = workspace
- sphere.Touched:connect(function(p)
- local debounce = false
- local h = p.Parent:FindFirstChild("Humanoid")
- if h and h.Parent.Name ~= plr.Name and debounce == false then
- debounce = true
- local dis = shield:Clone()
- local telep = tele:Clone()
- telep.Parent = workspace
- dis.Parent = workspace
- dis.BrickColor = BrickColor.new(1,1,1)
- for i = 1,25 do
- game:GetService('RunService').RenderStepped:wait()
- dis.Size = dis.Size + Vector3.new(.35,.35,.35)
- dis.CFrame = h.Parent.Torso.CFrame
- telep.Size = telep.Size + Vector3.new(0,5,0)
- telep.CFrame = h.Parent.Torso.CFrame
- end
- for i = .5,1,.05 do
- game:GetService('RunService').RenderStepped:wait()
- dis.Transparency = i
- telep.Transparency = i
- dis.CFrame = h.Parent.Torso.CFrame
- telep.CFrame = h.Parent.Torso.CFrame
- end
- dis:Destroy()
- telep:Destroy()
- h.Parent:MoveTo(h.Parent.PrimaryPart.Position + Vector3.new(math.random(-50,50),20,math.random(-50,50)))
- wait(5)
- debounce = false
- end
- end)
- for i = .2,25,.5 do
- game:GetService('RunService').RenderStepped:wait()
- sphere.Size = Vector3.new(i,i,i)
- sphere.CFrame = chr.Torso.CFrame
- end
- for i = .5,1,.05 do
- game:GetService('RunService').RenderStepped:wait()
- sphere.Transparency = i
- end
- sphere:Destroy()
- elseif key == 'j' and mouse.Target.ClassName == "Part" then
- local target = mouse.Target
- local sword = tele:Clone()
- sword.FormFactor = "Custom"
- sword.BrickColor = BrickColor.new(0,0,0)
- sword.Parent = workspace
- sword.Size = Vector3.new(.2,.2,.2)
- local swordB = sword:Clone()
- swordB.Parent = workspace
- for i = 1,5,.2 do
- game:GetService('RunService').RenderStepped:wait()
- sword.Size = Vector3.new(.2,i,.2)
- sword.CFrame = chr["Right Arm"].CFrame
- swordB.Size = Vector3.new(.2,i,.2)
- swordB.CFrame = chr["Left Arm"].CFrame
- end
- for i = 1,30 do
- game:GetService('RunService').RenderStepped:wait()
- swordB.CFrame = chr["Left Arm"].CFrame
- sword.CFrame = chr["Right Arm"].CFrame
- end
- local swordC = sword:Clone()
- swordC.Parent = workspace
- sword.CFrame = target.CFrame + Vector3.new(0,10,0)
- for i = 3,7,.5 do
- game:GetService('RunService').RenderStepped:wait()
- sword.Size = Vector3.new(.2,i,.2)
- sword.CFrame = target.CFrame + Vector3.new(0,10,0)
- swordB.CFrame = chr["Left Arm"].CFrame
- swordC.CFrame = chr["Right Arm"].CFrame
- end
- for i = 10,0,-.2 do
- game:GetService('RunService').RenderStepped:wait()
- sword.Rotation = Vector3.new(0,0,0)
- sword.CFrame = target.CFrame + Vector3.new(0,i,0)
- sword.Rotation = Vector3.new(0,0,0)
- swordB.CFrame = chr["Left Arm"].CFrame
- swordC.CFrame = chr["Right Arm"].CFrame
- end
- if target.Parent.ClassName == "Hat" then
- target.Parent.Parent.Humanoid.Health = target.Parent.Parent.Humanoid.Health - 15
- else
- target.Parent.Humanoid.Health = target.Parent.Humanoid.Health - 35
- end
- for i = .5,1,.05 do
- game:GetService('RunService').RenderStepped:wait()
- sword.Transparency = i
- swordB.Transparency = i
- swordC.Transparency = i
- end
- sword:Destroy()
- swordB:Destroy()
- swordC:Destroy()
- elseif key == 'k' and mouse.Target and mouse.Target.Parent.ClassName == "Model" and mouse.Target.ClassName == "Part" then
- local target = mouse.Target
- local children = target.Parent:GetChildren()
- for i,v in pairs(children) do
- v.BrickColor = BrickColor.new(1,0,0)
- local clone = fire:Clone()
- clone.Parent = v
- clone.Color = Color3.new(1,0,0)
- wait(.25)
- v:Destroy()
- end
- elseif key == 'x' and mouse.Target.ClassName == "Part" then
- local t = mouse.Target.Transparency
- for i = t,0.7,.02 do
- game:GetService('RunService').RenderStepped:wait()
- mouse.Target.Transparency = i
- end
- mouse.Target:Destroy()
- elseif key == 'z' then
- local part = Instance.new("Part",workspace)
- part.CFrame = CFrame.new(50,50,50)
- local bv = Instance.new("BodyVelocity",part)
- Instance.new("CFrameValue",part)
- local rotate = Instance.new("BodyAngularVelocity",part)
- rotate.AngularVelocity = Vector3.new(math.random(3.5,7.5),math.random(3.5,7.5),math.random(3.5,7.5))
- local cvalue = part:WaitForChild("Value")
- part.Touched:connect(function(p)
- if p.Name == "Part" or p.Name == "Head" then
- for i = 0,1,.05 do
- game:GetService('RunService').RenderStepped:wait()
- part.Transparency = i
- p.Transparency = i
- end
- p:Destroy()
- part:Destroy()
- elseif p.Name == "Baseplate" or p.Name == "Base" or p.Name == "BasePlate" then
- cvalue.Value = part.CFrame
- part.Anchored = true
- for i = 10,25,.5 do
- game:GetService('RunService').RenderStepped:wait()
- part.Size = Vector3.new(i,i,i)
- part.CFrame = cvalue.Value
- end
- for i = 0,1.,.05 do
- game:GetService('RunService').RenderStepped:wait()
- part.Transparency = i
- end
- part:Destroy()
- end
- end)
- part.Parent = chr
- part.BrickColor = BrickColor.new(193,1,1)
- part.Material = "Slate"
- part.Anchored = false
- part.CanCollide = false
- part.Name = "bomb"
- part.FormFactor = "Custom"
- part.Size = Vector3.new(.2,.2,.2)
- part.BottomSurface = "Smooth"
- part.TopSurface = "Smooth"
- local sbox = Instance.new("SelectionBox",part)
- sbox.Adornee = part
- sbox.Color3 = Color3.new(0,0,0)
- sbox.LineThickness = 0.005
- sbox.Transparency = .75
- sbox.SurfaceColor3 = Color3.new(0,0,0)
- bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge,math.huge)
- for i = 1,9 do
- wait()
- local clone = part:Clone()
- Instance.new("CFrameValue",clone)
- local rotateB = Instance.new("BodyAngularVelocity",part)
- rotateB.AngularVelocity = Vector3.new(math.random(5,15),math.random(5,15),math.random(5,15))
- clone.CFrame = CFrame.new(100,100,100)
- local cvalueB = clone:WaitForChild("Value")
- wait()
- clone.Parent = chr
- clone.Name = "bomb"
- clone.Touched:connect(function(p)
- if p.Name == "Part" or p.Name == "Head" then
- for i = 0,1,.05 do
- game:GetService('RunService').RenderStepped:wait()
- clone.Transparency = i
- p.Transparency = i
- end
- p:Destroy()
- clone:Destroy()
- elseif p.Name == "Baseplate" or p.Name == "Base" or p.Name == "BasePlate" then
- cvalueB.Value = clone.CFrame
- clone.Anchored = true
- for i = 10,25,.5 do
- game:GetService('RunService').RenderStepped:wait()
- clone.Size = Vector3.new(i,i,i)
- clone.CFrame = cvalueB.Value
- end
- for i = 0,1.,.05 do
- game:GetService('RunService').RenderStepped:wait()
- clone.Transparency = i
- end
- clone:Destroy()
- end
- end)
- end
- local children = chr:GetChildren()
- for i,v in pairs(children) do
- if v.Name == "bomb" then
- for i = .2,10,.5 do
- game:GetService('RunService').RenderStepped:wait()
- v.Size = Vector3.new(i,i,i)
- v.CFrame = chr.Torso.CFrame * CFrame.Angles(math.random(),math.pi,math.random()) + Vector3.new(0,20,0)
- end
- local bvB = v:WaitForChild("BodyVelocity")
- bvB.Velocity = mouse.Hit.lookVector*200
- end
- end
- elseif key == 'e' then
- local kill = Instance.new("Part")
- local bv = Instance.new("BodyVelocity",kill)
- bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- local rotate = Instance.new("BodyAngularVelocity",kill)
- rotate.AngularVelocity = Vector3.new(math.random(10,20),math.random(10,20),math.random(10,20))
- kill.CFrame = CFrame.new(50,50,50)
- kill.Touched:connect(function(p)
- if p.Name == "Head" and p.Parent ~= chr or p.Name == "Torso" and p.Parent ~= chr then
- p.Parent.Humanoid.Health = 0
- p:Destroy()
- for i = 1,10 do
- game:GetService('RunService').RenderStepped:wait()
- kill.Size = kill.Size - Vector3.new(.2,.2,.2)
- kill.Transparency = kill.Transparency - .1
- end
- end
- end)
- kill.BrickColor = BrickColor.new(0,0,0)
- kill.Material = "Slate"
- kill.Anchored = false
- kill.CanCollide = false
- kill.FormFactor = "Custom"
- kill.Size = Vector3.new(1,1,1)
- kill.TopSurface = "Smooth"
- kill.BottomSurface = "Smooth"
- wait()
- local sbox = Instance.new("SelectionBox",kill)
- sbox.Adornee = kill
- sbox.Color3 = Color3.new(1,1,1)
- sbox.LineThickness = .010
- sbox.Transparency = .5
- kill.Parent = workspace
- kill.CFrame = chr.Head.CFrame
- wait()
- kill.BodyVelocity.Velocity = mouse.Hit.lookVector*100
- kill.ChildAdded:connect(function(c)
- for i = 0,1,.2 do
- game:GetService('RunService').RenderStepped:wait()
- c.Transparency = i
- c.SelectionBox.Transparency = i
- end
- c:Destroy()
- end)
- while kill.Transparency == 0 do
- wait(.09)
- local clone = kill:Clone()
- clone.Anchored = true
- clone.Parent = kill
- clone.CFrame = kill.CFrame
- end
- end
- end)
- --=<=Abilitys above=>=--
- ew = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- local Player = owner
- repeat wait(1) until Player.Character
- local Character = Player.Character
- Character.Animate.Disabled = true
- local la = Character:FindFirstChild("Left Arm")
- local ra = Character:FindFirstChild("Right Arm")
- local ll = Character:FindFirstChild("Left Leg")
- local rl = Character:FindFirstChild("Right Leg")
- local Torso = Character:FindFirstChild("Torso")
- z = Instance.new("Sound", Torso)
- z.SoundId = "rbxassetid://182096702" -- Put Music ID Here.
- z.Looped = true
- z.Volume = 10
- wait(.1)
- z:Play()
- local Humanoid = Character:findFirstChild("Humanoid")
- local Mouse = Player:GetMouse()
- Character.Animate.Disabled = true
- Character.Sound:Destroy()
- Humanoid.Animator:Destroy()
- local LimbAccess = {LA=true,RA=true,LL=true,RL=true,RJ=true,NJ=true,Weapon=true}
- local State = "Lounge"
- local Active = true
- local Mode = "Staff"
- function Lerp(a,b,i) -- A = First pos, B = Second Pos, i = Speed
- return a:lerp(b,i)
- end
- Left_Arm = Instance.new("Weld",Torso)
- Left_Arm.Part0 = Torso
- Left_Arm.Part1 = la
- Left_Arm.Name = "LeftArmJ"
- Left_Arm.C0 = CFrame.new(-1.5,0.5,0)
- Left_Arm.C1 = CFrame.new(0,0.5,0)
- Right_Arm = Instance.new("Weld",Torso)
- Right_Arm.Part0 = Torso
- Right_Arm.Part1 = ra
- Right_Arm.Name = "RightArmJ"
- Right_Arm.C0 = CFrame.new(1.5,0.5,0)
- Right_Arm.C1 = CFrame.new(0,0.5,0)
- Left_Leg = Instance.new("Weld",Torso)
- Left_Leg.Part0 = Torso
- Left_Leg.Part1 = ll
- Left_Leg.Name = "LeftLegJ"
- Left_Leg.C0 = CFrame.new(-0.5,-1,0)
- Left_Leg.C1 = CFrame.new(0,1,0)
- Right_Leg = Instance.new("Weld",Torso)
- Right_Leg.Name = "RightLegJ"
- Right_Leg.Part0 = Torso
- Right_Leg.Part1 = rl
- Right_Leg.C0 = CFrame.new(0.5,-1,0)
- Right_Leg.C1 = CFrame.new(0,1,0)
- Staffw = Instance.new("Weld",Torso)
- Staffw.Part0 = Torso
- Staffw.Part1 = Handle
- Staffw.Name = "StaffJoint"
- local RootJoint = Instance.new("Weld",Character["HumanoidRootPart"])
- RootJoint.Name = "RootJ"
- RootJoint.Part0 = Character["HumanoidRootPart"]
- RootJoint.Part1 = Torso
- local NeckJ = Instance.new("Weld",Torso)
- NeckJ.Name = "NeckJ"
- NeckJ.Part0 = Torso
- NeckJ.Part1 = Character.Head
- NeckJ.C1 = CFrame.new(0,-1.5,0)
- function Change()
- end
- _G.MoveCheck1 = false
- _G.SatanState = false
- function SpellBinder(SpellID)
- if _G.MoveCheck1 == false then
- _G.MoveCheck1 = true
- if _G.SatanState == false then
- _G.SatanState = true
- ID = 357442018
- _G.SpellBindStuff = 0
- _G.SpellBind = game:GetObjects("rbxassetid://437368177")[1]
- _G.SpellBind.Decal.Texture = "rbxassetid://" .. SpellID
- _G.SpellBind.Decal1.Texture = "rbxassetid://" .. SpellID
- _G.SpellBind.Parent = game.Players.owner.Character
- _G.SpellBind.CFrame = game.Players.owner.Character.Torso.CFrame - game.Players.owner.Character.Torso.CFrame.lookVector * 35
- _G.SpellBind.CFrame = CFrame.new(_G.SpellBind.Position, game.Players.owner.Character.Torso.Position)* CFrame.Angles(1.6,0,0)
- _G.SpellBind.ParticleEmitter.Color = ColorSequence.new(Color3.new(255,0,0))
- _G.SpellBind.ParticleEmitter.Size = NumberSequence.new(5)
- _G.UnsealEnforca = game:GetService("RunService").RenderStepped:connect(function()
- _G.SpellBind.CFrame = game.Players.owner.Character.Torso.CFrame + game.Players.owner.Character.Torso.CFrame.lookVector * 35
- _G.SpellBind.CFrame = CFrame.new(_G.SpellBind.Position, game.Players.owner.Character.Torso.Position)* CFrame.Angles(1.6,_G.SpellBindStuff,0)
- _G.SpellBindStuff = _G.SpellBindStuff + 0.012
- end)
- for i = 1, 117 do
- _G.SpellBind.Size = _G.SpellBind.Size + Vector3.new(0.50,0,0.50)
- wait(0.07)
- end
- wait(0.1)
- _G.chatcustom("You shall not pass!", "Really red", game.Players.owner)
- _G.MoveCheck1 = false
- else
- _G.MoveCheck1 = true
- wait(0.6)
- for i = 1, 117 do
- _G.SpellBind.Size = _G.SpellBind.Size - Vector3.new(0.50,0,0.50)
- wait(0.07)
- end
- _G.UnsealEnforca:disconnect()
- _G.SpellBind.Parent = _G.newParent
- wait(0.1)
- _G.SatanState = false
- _G.MoveCheck1 = false
- end
- end
- end
- _G.ConnectionAgent = Mouse.KeyDown:connect(function(key)
- if key == "q" and State == "Flying" and Active == true then
- State = "Lounge"
- Humanoid.WalkSpeed = 30
- elseif key == "q" and State == "Lounge" and Active == true then
- State = "Flying"
- Humanoid.WalkSpeed = 20
- elseif key == "q" and State == "Battle" and Active == true then
- State = "Flying"
- Humanoid.WalkSpeed = 50
- elseif key == "e" and State == "Battle" and Active == true then
- SpellBinder(375165574)
- elseif key == "e" and Active == true then
- --[[
- Humanoid.WalkSpeed = 0
- State = "Changing"
- Mode = "Changing"
- Active = false
- Change()
- --]]
- end
- end)
- Player.Character.Humanoid.Died:connect(function()
- _G.ConnectionAgent:disconnect()
- end)
- angle = 0
- angle2 = 0
- angle3 = 0
- anglespeed = 2
- anglespeed2 = 1
- anglespeed3 = .4
- game:GetService("RunService").Stepped:connect(function()
- angle = ((angle % 100) + anglespeed/10)
- angle2 = ((angle2 % 100) + anglespeed2/10)
- angle3 = ((angle3 % 100) + anglespeed3/10) --it'll go from 0 to 100 and repeat in a loop. basically it will get to its destination and back --ok
- if Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude < 2 and State == "Flying" then -- idle
- if not Humanoid.WalkSpeed == 50 then
- Humanoid.WalkSpeed = 50
- end
- if LimbAccess.RJ then
- RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,.5+math.sin(angle2)*.1,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(90),0),.2)
- end
- if LimbAccess.LA then
- Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.2,0.35,0)*CFrame.Angles(math.rad(-25)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(0)+math.sin(angle3)*.06),.1)
- end
- if LimbAccess.NJ then
- NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(-45)+(math.sin(-angle3)*.04),0),.25)
- end
- if LimbAccess.RA then
- Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-25)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(-5)+math.sin(angle3)*.06),.1)
- end
- if LimbAccess.LL then
- Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,(math.sin(angle3)*.1)-.6,-.2)*CFrame.Angles(math.rad(35)+(math.sin(angle3)*.1),0,math.rad(-5)),.1)
- end
- if LimbAccess.RL then
- Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,(math.sin(angle3)*.1)-.7,-.1)*CFrame.Angles(math.rad(45)+(math.sin(angle3)*.1),0,math.rad(5)),.1)
- end
- if LimbAccess.Weapon then
- Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,-1,0),.2)
- Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,0,-.4)*CFrame.Angles(math.rad(180),math.rad(180),0),.2)
- end
- elseif Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude > 2 and State == "Flying" then -- walk
- if LimbAccess.RJ then
- RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,.5+math.sin(angle2)*.1,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(90),0),.2)
- end
- if LimbAccess.LA then
- Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.2,0.35,0)*CFrame.Angles(math.rad(-25)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(7)+math.sin(angle3)*.06),.1)
- end
- if LimbAccess.NJ then
- NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(-45)+(math.sin(-angle3)*.04),0),.25)
- end
- if LimbAccess.RA then
- Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-25)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(-5)+math.sin(angle3)*.06),.1)
- end
- if LimbAccess.LL then
- Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,(math.sin(angle3)*.1)-.6,-.2)*CFrame.Angles(math.rad(35)+(math.sin(angle3)*.1),0,math.rad(-5)),.1)
- end
- if LimbAccess.RL then
- Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,(math.sin(angle3)*.1)-.7,-.1)*CFrame.Angles(math.rad(45)+(math.sin(angle3)*.1),0,math.rad(5)),.1)
- end
- if LimbAccess.Weapon then
- Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,-1,0),.2)
- Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,0,-.4)*CFrame.Angles(math.rad(180),math.rad(180),0),.2)
- end
- end
- if Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude < 2 and State == "Lounge" then -- idle
- if not Humanoid.WalkSpeed == 30 then
- Humanoid.WalkSpeed = 30
- end
- if LimbAccess.RJ then
- RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,0,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(0),0),.2)
- end
- if LimbAccess.LA then
- Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(5)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(-3)+math.sin(angle3)*.06),.1)
- end
- if LimbAccess.NJ then
- NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(0)+(math.sin(-angle3)*.04),0),.25)
- end
- if LimbAccess.RA then
- Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(5)+(math.sin(angle3)*.1),math.rad(0),math.rad(3)),.1)
- end
- if LimbAccess.LL then
- Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,-1,0)*CFrame.Angles(0,0,math.rad(-5)+math.sin(angle3)*.02),.1)
- end
- if LimbAccess.RL then
- Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,-1,0)*CFrame.Angles(0,0,math.rad(15)+math.sin(angle3)*-.02),.1)
- end
- if LimbAccess.Weapon then
- Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,0,.5),.2)
- Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,0,0)*CFrame.Angles(math.rad(180),math.rad(180),math.rad(-45)),.2)
- end
- elseif Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude > 2 and State == "Lounge" then -- walk
- if LimbAccess.RJ then
- RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.2,math.sin(angle2)*.1,0)*CFrame.Angles(0,math.rad(0),0),.2)
- end
- if LimbAccess.LA then
- Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(5)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(-23)+math.sin(angle3)*.06),.1)
- end
- if LimbAccess.NJ then
- NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(0)+(math.sin(-angle3)*.04),0),.25)
- end
- if LimbAccess.RA then
- Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(5)+(math.sin(angle3)*.1),math.rad(0),math.rad(23)),.1)
- end
- if LimbAccess.LL then
- Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,(math.sin(angle3)*.1)-.6,-.2)*CFrame.Angles(math.rad(-15)+(math.sin(angle3)*.1),0,math.rad(-5)),.1)
- end
- if LimbAccess.RL then
- Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,(math.sin(angle3)*.1)-.7,-.1)*CFrame.Angles(math.rad(-15)+(math.sin(angle3)*.1),0,math.rad(5)),.1)
- end
- if LimbAccess.Weapon then
- Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,0,.5),.2)
- Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,0,0)*CFrame.Angles(math.rad(180),math.rad(180),math.rad(-45)),.2)
- end
- end
- if Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude < 2 and State == "Battle" then -- idle
- if not Humanoid.WalkSpeed == 20 then
- Humanoid.WalkSpeed = 20
- end
- if LimbAccess.RJ then
- RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,.5+math.sin(angle2)*.1,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(0),0),.2)
- end
- if LimbAccess.LA then
- Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.1,0.5,-.7)*CFrame.Angles(math.rad(5),math.rad(-135),math.rad(-90)),.1)
- end
- if LimbAccess.NJ then
- NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(0)+(math.sin(-angle3)*.04),0),.25)
- end
- if LimbAccess.RA then
- Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.1,0.5,-.7)*CFrame.Angles(math.rad(5),math.rad(135),math.rad(90)),.1)
- end
- if LimbAccess.LL then
- Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,-1,0)*CFrame.Angles(0,0,math.rad(-5)+math.sin(angle3)*.02),.1)
- end
- if LimbAccess.RL then
- Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,-1,0)*CFrame.Angles(0,0,math.rad(5)+math.sin(angle3)*-.02),.1)
- end
- if LimbAccess.Weapon then
- Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,-.5,-1),.2)
- Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,.6,0)*CFrame.Angles(math.rad(90),math.rad(180),math.rad(-90)),.2)
- end
- elseif Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude > 2 and State == "Battle" then -- walk
- if LimbAccess.RJ then
- RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.2,.5+math.sin(angle2)*.1,0)*CFrame.Angles(0,math.rad(0),0),.2)
- end
- if LimbAccess.LA then
- Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-.9,0.6,-.8)*CFrame.Angles(math.rad(5),math.rad(-135),math.rad(-90)),.1)
- end
- if LimbAccess.NJ then
- NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(0)+(math.sin(-angle3)*.04),0),.25)
- end
- if LimbAccess.RA then
- Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.1,0.4,-.3)*CFrame.Angles(math.rad(5),math.rad(135),math.rad(90)),.1)
- end
- if LimbAccess.LL then
- Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,(math.sin(angle3)*.1)-.7,-.2)*CFrame.Angles(math.rad(-15)+(math.sin(angle3)*.1),0,math.rad(-5)),.1)
- end
- if LimbAccess.RL then
- Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,(math.sin(angle3)*.1)-.7,-.1)*CFrame.Angles(math.rad(-15)+(math.sin(angle3)*.1),0,math.rad(5)),.1)
- end
- if LimbAccess.Weapon then
- Staffw.C0 = Lerp(Staffw.C0,CFrame.new(.4,.5,-1),.2)
- Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,.1,0)*CFrame.Angles(math.rad(135),math.rad(120),math.rad(-135)),.2)
- end
- end
- if Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude < 2 and State == "Changing" then -- idle
- if LimbAccess.RJ then
- RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,.5+math.sin(angle2)*.1,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(0),0),.2)
- end
- if LimbAccess.LA then
- Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.3,0.51,-.7)*CFrame.Angles(math.rad(5),math.rad(-165),math.rad(-90)),.1)
- end
- if LimbAccess.NJ then
- NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(-10),math.rad(0)+(math.sin(-angle3)*.04),0),.25)
- end
- if LimbAccess.RA then
- Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.3,0.49,-.7)*CFrame.Angles(math.rad(5),math.rad(165),math.rad(90)),.1)
- end
- if LimbAccess.LL then
- Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-1,-1,-.4)*CFrame.Angles(0,math.rad(25),math.rad(75)),.1)
- end
- if LimbAccess.RL then
- Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(1,-1,-.4)*CFrame.Angles(0,math.rad(-25),math.rad(-75)),.1)
- end
- end
- end)
- Player = owner
- Cha = Player.Character
- rarm=Cha["Right Arm"]
- larm=Cha["Left Arm"]
- rar=Cha["Right Leg"]
- lar=Cha["Left Leg"]
- Handle = Instance.new("Part",Cha)
- Handle.TopSurface = "Smooth"
- Handle.BottomSurface = "Smooth"
- Handle.Size = Vector3.new(1,1,1)
- Handle.CanCollide = false
- Handle.Transparency = 0
- Handle.BrickColor = BrickColor.new("Crimson")
- HandleMesh = Instance.new("SpecialMesh", Handle)
- HandleMesh.MeshType = "Brick"
- HandleMesh.Scale = Vector3.new(1.01,0.5,1.01)
- HandleWeld = Instance.new("Weld",Cha)
- HandleWeld.Part0 = rarm
- HandleWeld.Part1 = Handle
- HandleWeld.C1 = CFrame.new(0, 0.4, 0)
- Hand = Instance.new("Part",Cha)
- Hand.TopSurface = "Smooth"
- Hand.BottomSurface = "Smooth"
- Hand.Size = Vector3.new(1,1,1)
- Hand.CanCollide = false
- Hand.Transparency = 0
- Hand.BrickColor = BrickColor.new("Royal purple")
- HandMesh = Instance.new("SpecialMesh", Hand)
- HandMesh.MeshType = "Brick"
- HandMesh.Scale = Vector3.new(1.02,0.1,1.02)
- HandWeld = Instance.new("Weld",Cha)
- HandWeld.Part0 = rarm
- HandWeld.Part1 = Hand
- HandWeld.C1 = CFrame.new(0, 0.4, 0)
- Handle = Instance.new("Part",Cha)
- Handle.TopSurface = "Smooth"
- Handle.BottomSurface = "Smooth"
- Handle.Size = Vector3.new(1,1,1)
- Handle.CanCollide = false
- Handle.Transparency = 0
- Handle.BrickColor = BrickColor.new("Crimson")
- HandleMesh = Instance.new("SpecialMesh", Handle)
- HandleMesh.MeshType = "Brick"
- HandleMesh.Scale = Vector3.new(1.01,0.5,1.01)
- HandleWeld = Instance.new("Weld",Cha)
- HandleWeld.Part0 = larm
- HandleWeld.Part1 = Handle
- HandleWeld.C1 = CFrame.new(0, 0.4, 0)
- Hand = Instance.new("Part",Cha)
- Hand.TopSurface = "Smooth"
- Hand.BottomSurface = "Smooth"
- Hand.Size = Vector3.new(1,1,1)
- Hand.CanCollide = false
- Hand.Transparency = 0
- Hand.BrickColor = BrickColor.new("Royal purple")
- HandMesh = Instance.new("SpecialMesh", Hand)
- HandMesh.MeshType = "Brick"
- HandMesh.Scale = Vector3.new(1.02,0.1,1.02)
- HandWeld = Instance.new("Weld",Cha)
- HandWeld.Part0 = larm
- HandWeld.Part1 = Hand
- HandWeld.C1 = CFrame.new(0, 0.4, 0)
- Handle = Instance.new("Part",Cha)
- Handle.TopSurface = "Smooth"
- Handle.BottomSurface = "Smooth"
- Handle.Size = Vector3.new(1,1,1)
- Handle.CanCollide = false
- Handle.Transparency = 0
- Handle.BrickColor = BrickColor.new("Crimson")
- HandleMesh = Instance.new("SpecialMesh", Handle)
- HandleMesh.MeshType = "Brick"
- HandleMesh.Scale = Vector3.new(1.01,0.5,1.01)
- HandleWeld = Instance.new("Weld",Cha)
- HandleWeld.Part0 = larm
- HandleWeld.Part1 = Handle
- HandleWeld.C1 = CFrame.new(0, 0.2, 0)
- Hand = Instance.new("Part",Cha)
- Hand.TopSurface = "Smooth"
- Hand.BottomSurface = "Smooth"
- Hand.Size = Vector3.new(1,1,1)
- Hand.CanCollide = false
- Hand.Transparency = 0
- Hand.BrickColor = BrickColor.new("Bright green")
- HandMesh = Instance.new("SpecialMesh", Hand)
- HandMesh.MeshType = "Brick"
- HandMesh.Scale = Vector3.new(1.02,0.1,1.02)
- HandWeld = Instance.new("Weld",Cha)
- HandWeld.Part0 = larm
- HandWeld.Part1 = Hand
- HandWeld.C1 = CFrame.new(0, 0.2, 0)
- Handle = Instance.new("Part",Cha)
- Handle.TopSurface = "Smooth"
- Handle.BottomSurface = "Smooth"
- Handle.Size = Vector3.new(1,1,1)
- Handle.CanCollide = false
- Handle.Transparency = 0
- Handle.BrickColor = BrickColor.new("Crimson")
- HandleMesh = Instance.new("SpecialMesh", Handle)
- HandleMesh.MeshType = "Brick"
- HandleMesh.Scale = Vector3.new(1.01,0.5,1.01)
- HandleWeld = Instance.new("Weld",Cha)
- HandleWeld.Part0 = rarm
- HandleWeld.Part1 = Handle
- HandleWeld.C1 = CFrame.new(0, 0.2, 0)
- Hand = Instance.new("Part",Cha)
- Hand.TopSurface = "Smooth"
- Hand.BottomSurface = "Smooth"
- Hand.Size = Vector3.new(1,1,1)
- Hand.CanCollide = false
- Hand.Transparency = 0
- Hand.BrickColor = BrickColor.new("Bright green")
- HandMesh = Instance.new("SpecialMesh", Hand)
- HandMesh.MeshType = "Brick"
- HandMesh.Scale = Vector3.new(1.02,0.1,1.02)
- HandWeld = Instance.new("Weld",Cha)
- HandWeld.Part0 = rarm
- HandWeld.Part1 = Hand
- HandWeld.C1 = CFrame.new(0, 0.2, 0)
- Handle = Instance.new("Part",Cha)
- Handle.TopSurface = "Smooth"
- Handle.BottomSurface = "Smooth"
- Handle.Size = Vector3.new(1,1,1)
- Handle.CanCollide = false
- Handle.Transparency = 0
- Handle.BrickColor = BrickColor.new("Crimson")
- HandleMesh = Instance.new("SpecialMesh", Handle)
- HandleMesh.MeshType = "Brick"
- HandleMesh.Scale = Vector3.new(1.01,0.5,1.01)
- HandleWeld = Instance.new("Weld",Cha)
- HandleWeld.Part0 = rarm
- HandleWeld.Part1 = Handle
- HandleWeld.C1 = CFrame.new(0, 0.6, 0)
- Hand = Instance.new("Part",Cha)
- Hand.TopSurface = "Smooth"
- Hand.BottomSurface = "Smooth"
- Hand.Size = Vector3.new(1,1,1)
- Hand.CanCollide = false
- Hand.Transparency = 0
- Hand.BrickColor = BrickColor.new("Bright green")
- HandMesh = Instance.new("SpecialMesh", Hand)
- HandMesh.MeshType = "Brick"
- HandMesh.Scale = Vector3.new(1.02,0.1,1.02)
- HandWeld = Instance.new("Weld",Cha)
- HandWeld.Part0 = rarm
- HandWeld.Part1 = Hand
- HandWeld.C1 = CFrame.new(0, 0.6, 0)
- Handle = Instance.new("Part",Cha)
- Handle.TopSurface = "Smooth"
- Handle.BottomSurface = "Smooth"
- Handle.Size = Vector3.new(1,1,1)
- Handle.CanCollide = false
- Handle.Transparency = 0
- Handle.BrickColor = BrickColor.new("Crimson")
- HandleMesh = Instance.new("SpecialMesh", Handle)
- HandleMesh.MeshType = "Brick"
- HandleMesh.Scale = Vector3.new(1.01,0.5,1.01)
- HandleWeld = Instance.new("Weld",Cha)
- HandleWeld.Part0 = larm
- HandleWeld.Part1 = Handle
- HandleWeld.C1 = CFrame.new(0, 0.6, 0)
- Hand = Instance.new("Part",Cha)
- Hand.TopSurface = "Smooth"
- Hand.BottomSurface = "Smooth"
- Hand.Size = Vector3.new(1,1,1)
- Hand.CanCollide = false
- Hand.Transparency = 0
- Hand.BrickColor = BrickColor.new("Bright green")
- HandMesh = Instance.new("SpecialMesh", Hand)
- HandMesh.MeshType = "Brick"
- HandMesh.Scale = Vector3.new(1.02,0.1,1.02)
- HandWeld = Instance.new("Weld",Cha)
- HandWeld.Part0 = larm
- HandWeld.Part1 = Hand
- HandWeld.C1 = CFrame.new(0, 0.6, 0)
- wait(0.1)
- rs = game:GetService'RunService'
- plrs = game:GetService'Players'
- lp = owner
- c = lp.Character
- root = lp.Character.HumanoidRootPart
- human = c.Humanoid
- FPS = 0
- inf = 0
- opos1 = Vector3.new(1)
- opos2 = Vector3.new(2)
- opos3 = Vector3.new(3)
- waves = Instance.new("Model", c)
- res = Instance.new("Model", c)
- local function b()
- local t=tick();
- local l=t%1*3;
- local t=.5*math.pi*(l%1);
- if l<0.5 then
- return Color3.new(47,0,32);
- elseif l<2 then
- return Color3.new(193,0,0);
- else
- return Color3.new(0,10,0);
- end;
- end;
- speedParts = function()
- for i = 1, 4 do
- local pos = Vector3.new(math.sin(math.rad(inf + 360 * i)) * 2, math.sin(math.rad(inf + 260 * i) + math.pi / 2) * 2, -c.HumanoidRootPart.Velocity / 5) * (math.sin(tick()) + 2)
- local CFramepos = root.CFrame:toWorldSpace(CFrame.new(pos)).p
- local opos
- if i == 1 then
- opos = opos1
- elseif i == 2 then
- opos = opos2
- else
- opos = opos3
- end
- if human.MoveDirection ~= Vector3.new(7, 8, 9) then
- local e
- if #res:children() <= 3 then
- e = Instance.new("Part")
- else
- e = res:FindFirstChild("Tail")
- end
- e.Parent = waves
- e.Anchored = true
- e.CanCollide = false
- e.Transparency = 0
- e.Material = "Slate"
- e.Name = "Tail"
- e.Color = b(); --Color = a();
- e.Size = Vector3.new(.2, (CFramepos - opos).magnitude, .2)
- e.CFrame = CFrame.new((CFramepos + opos) / 2, opos) * CFrame.Angles(math.pi / 2, 4, 2)
- end
- if i == 1 then
- opos1 = CFramepos
- elseif i == 2 then
- opos2 = CFramepos
- else
- opos3 = CFramepos
- end
- end
- end
- rs.RenderStepped:connect(function()
- FPS = 1 / rs.RenderStepped:wait()
- for i, v in pairs (waves:children()) do
- v.Transparency = v.Transparency + .05 / (FPS / 60)
- if v.Transparency >= .98 then
- v.Transparency = 1
- v.Parent = res
- end
- end
- inf = inf + (8 + root.Velocity.magnitude / 15) / (FPS / 60)
- speedParts()
- end)
- local p = owner
- local char = p.Character
- local size = 15
- part = function()
- local a = Instance.new("Part", script)
- a.Anchored = true
- a.CanCollide = true
- a.CFrame = char.Torso.CFrame
- a.Size = Vector3.new(size, 0.2, 0.2)
- a.Transparency = 5
- return a
- end
- part2 = function()
- local a = Instance.new("Part", script)
- a.Anchored = true
- a.CanCollide = true
- a.CFrame = char.Torso.CFrame
- a.Size = Vector3.new(0.2, size, 0.2)
- a.Transparency = 5
- return a
- end
- part3 = function()
- local a = Instance.new("Part", script)
- a.Anchored = true
- a.CanCollide = false
- a.Size = Vector3.new(size, size, 1)
- a.Transparency = 5
- a.Material = "Neon"
- a.BrickColor = BrickColor.new("Really black")
- local b = Instance.new("BlockMesh", a)
- b.Scale = Vector3.new(1, 1, 0)
- return a
- end
- local replicating = false
- local root, a, b, c, d, a2, b2, c2, d2, aa, bb, cc, dd, z, x, c, v, b, n = nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil
- replicate = function()
- replicating = true
- script:ClearAllChildren()
- root = part()
- root.Transparency = 5
- root.Size = Vector3.new(0.2, 0.2, 0.2)
- root.CanCollide = false
- a = part()
- b = part()
- c = part()
- d = part()
- a2 = part()
- b2 = part()
- c2 = part()
- d2 = part()
- aa = part2()
- bb = part2()
- cc = part2()
- dd = part2()
- z = part3()
- x = part3()
- c = part3()
- v = part3()
- b = part3()
- n = part3()
- replicating = false
- end
- script.ChildRemoved:connect(function(a)
- if a.ClassName == "Part" and replicating == false then
- replicate()
- end
- end
- )
- replicate()
- local tick = 0
- CreateRegion3FromLocAndSize = function(Position, Size)
- local SizeOffset = Size / 2
- local Point1 = Position - SizeOffset
- local Point2 = Position + SizeOffset
- return Region3.new(Point1, Point2)
- end
- local set = false
- local whitelist = {""}
- p.Chatted:connect(function(ms)
- if ms:sub(1, 5) == "size-" then
- size = tonumber(ms:sub(6))
- replicate()
- else
- if ms:sub(1, 4) == "set-" then
- set = true
- z.CanCollide = false
- x.CanCollide = false
- c.CanCollide = false
- v.CanCollide = false
- b.CanCollide = false
- n.CanCollide = false
- else
- if ms:sub(1, 6) == "unset-" then
- set = false
- z.CanCollide = false
- x.CanCollide = false
- c.CanCollide = false
- v.CanCollide = false
- b.CanCollide = false
- n.CanCollide = false
- else
- if ms:sub(1, 10) == "whitelist-" then
- table.insert(whitelist, ms:sub(11))
- else
- if ms:sub(1, 12) == "unwhitelist-" then
- for i,v in pairs(whitelist) do
- if ms:sub(13) == v then
- table.remove(whitelist, i)
- break
- end
- end
- end
- end
- end
- end
- end
- end
- )
- local magicpos = nil
- game:GetService("RunService").Heartbeat:connect(function()
- pcall(function()
- local void = char:GetChildren()
- for _,pl in pairs(whitelist) do
- if game.Players:FindFirstChild(pl) ~= nil and game.Players:FindFirstChild(pl).Character ~= nil then
- for i,v in pairs(game.Players[pl].Character:GetChildren()) do
- table.insert(void, v)
- end
- end
- end
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Character:isDescendantOf(char) and not v.Name == "FangxWulf" then
- v:LoadCharacter()
- end
- end
- char.Humanoid.Health = math.huge
- tick = tick + 0.01
- if not set then
- root.CFrame = root.CFrame:lerp(CFrame.new(char.Torso.CFrame.p) * CFrame.Angles(math.sin(tick) * 100 / 30 / (size / 2), math.cos(tick) * 100 / 30 / (size / 2), math.cos(tick) * 100 / 30 / (size / 2)), 0.1)
- magicpos = char.Torso.CFrame
- else
- root.CFrame = root.CFrame:lerp(CFrame.new(magicpos.p) * CFrame.Angles(0, 0, 0), 0.05)
- end
- local reg = CreateRegion3FromLocAndSize(root.CFrame.p, Vector3.new(size, size, size))
- for i,v in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(reg, void, 100)) do
- if v.Name ~= "Base" then
- v:Destroy()
- end
- end
- a.CFrame = root.CFrame * CFrame.new(size / 2, size / 2, 0) * CFrame.Angles(0, math.rad(90), 0)
- b.CFrame = root.CFrame * CFrame.new(-size / 2, size / 2, 0) * CFrame.Angles(0, math.rad(90), 0)
- c.CFrame = root.CFrame * CFrame.new(0, size / 2, size / 2)
- d.CFrame = root.CFrame * CFrame.new(0, size / 2, -size / 2)
- a2.CFrame = root.CFrame * CFrame.new(size / 2, -size / 2, 0) * CFrame.Angles(0, math.rad(90), 0)
- b2.CFrame = root.CFrame * CFrame.new(-size / 2, -size / 2, 0) * CFrame.Angles(0, math.rad(90), 0)
- c2.CFrame = root.CFrame * CFrame.new(0, -size / 2, size / 2)
- d2.CFrame = root.CFrame * CFrame.new(0, -size / 2, -size / 2)
- aa.CFrame = root.CFrame * CFrame.new(size / 2, 0, size / 2)
- bb.CFrame = root.CFrame * CFrame.new(-size / 2, 0, size / 2)
- cc.CFrame = root.CFrame * CFrame.new(-size / 2, 0, -size / 2)
- dd.CFrame = root.CFrame * CFrame.new(size / 2, 0, -size / 2)
- z.CFrame = root.CFrame * CFrame.new(size / 2, 0, 0) * CFrame.Angles(0, math.rad(90), 0)
- x.CFrame = root.CFrame * CFrame.new(-size / 2, 0, 0) * CFrame.Angles(0, math.rad(90), 0)
- c.CFrame = root.CFrame * CFrame.new(0, 0, size / 2) * CFrame.Angles(0, 0, math.rad(90))
- v.CFrame = root.CFrame * CFrame.new(0, 0, -size / 2) * CFrame.Angles(0, 0, math.rad(90))
- b.CFrame = root.CFrame * CFrame.new(0, size / 2, 0) * CFrame.Angles(math.rad(90), 0, 0)
- n.CFrame = root.CFrame * CFrame.new(0, -size / 2, 0) * CFrame.Angles(math.rad(90), 0, 0)
- end
- )
- end
- )
- --=<=Skin=>=--
- Player=owner
- local p = owner
- local char = p.Character
- local larm = char["Left Arm"]
- local rarm = char["Right Arm"]
- local lleg = char["Left Leg"]
- local rleg = char["Right Leg"]
- local hed = char.Head
- local torso = char.Torso
- local hum = char.Humanoid
- local cam = game.Workspace.CurrentCamera
- local root = char.HumanoidRootPart
- local deb = false
- local shot = 0
- local debris=game:service"Debris"
- local l = game:GetService("Lighting")
- local rs = game:GetService("RunService").RenderStepped
- ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
- math.randomseed(os.time())
- for i,v in pairs(char:children()) do
- if v:IsA("Hat") then
- v:Destroy()
- end
- end
- for i,v in pairs (hed:GetChildren()) do
- if v:IsA("Sound") then
- v:Destroy()
- end
- end
- ----------------------------------------------------
- Debounces = {
- CanAttack = true;
- NoIdl = false;
- Slashing = false;
- Slashed = false;
- RPunch = false;
- RPunched = false;
- LPunch = false;
- LPunched = false;
- }
- local Touche = {char.Name, }
- ----------------------------------------------------
- hed.face.Texture = ""
- char["Body Colors"].HeadColor = BrickColor.new("Institutional white")
- char["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
- char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
- char["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
- char["Body Colors"].RightLegColor = BrickColor.new("Institutional white")
- char["Body Colors"].LeftLegColor = BrickColor.new("Institutional white")
- ----------------------------------------------------
- ypcall(function()
- char.Shirt:Destroy()
- char.Pants:Destroy()
- shirt = Instance.new("Shirt", char)
- shirt.Name = "Shirt"
- pants = Instance.new("Pants", char)
- pants.Name = "Pants"
- char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=0"
- char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=0"
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement