Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --void Script bbuilder fe script converter V2
- 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
- local RealPlayer = Player
- do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
- local Player = game.Players.LocalPlayer
- local Character = Player.Character
- local Humanoid = Character.Humanoid
- local LeftArm = Character["Left Arm"]
- local RightArm = Character["Right Arm"]
- local LeftLeg = Character["Left Leg"]
- local RightLeg = Character["Right Leg"]
- local Head = Character.Head
- local Torso = Character.Torso
- local Camera = game.Workspace.CurrentCamera
- local RootPart = Character.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- local attack = false
- local Pause = false
- local LOL = false
- local DD = false
- local Anim = 'Idle'
- local attacktype = 1
- local delays = false
- local play = true
- local targetted = nil
- local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velocity = RootPart.Velocity.y
- local sine = 0
- local change = 1
- local doe = 0
- local Create = LoadLibrary("RbxUtility").Create
- Humanoid.WalkSpeed = 25
- Humanoid.Animator.Parent = nil
- Character.Animate.Parent = nil
- local newMotor = function(part0, part1, c0, c1)
- local w = Create('Motor'){
- Parent = part0,
- Part0 = part0,
- Part1 = part1,
- C0 = c0,
- C1 = c1,
- }
- return w
- end
- function clerp(a, b, t)
- return a:lerp(b, t)
- end
- RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
- local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
- local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
- local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
- RootJoint.C1 = CFrame.new(0, 0, 0)
- RootJoint.C0 = CFrame.new(0, 0, 0)
- Torso.Neck.C1 = CFrame.new(0, 0, 0)
- Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
- local rarmc1 = RW.C1
- local larmc1 = LW.C1
- local rlegc1 = RH.C1
- local llegc1 = LH.C1
- local resetc1 = false
- function PlayAnimationFromTable(table, speed, bool)
- RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
- RW.C0 = clerp(RW.C0, table[3], speed)
- LW.C0 = clerp(LW.C0, table[4], speed)
- RH.C0 = clerp(RH.C0, table[5], speed)
- LH.C0 = clerp(LH.C0, table[6], speed)
- if bool == true then
- if resetc1 == false then
- resetc1 = true
- RootJoint.C1 = RootJoint.C1
- Torso.Neck.C1 = Torso.Neck.C1
- RW.C1 = rarmc1
- LW.C1 = larmc1
- RH.C1 = rlegc1
- LH.C1 = llegc1
- end
- end
- end
- ArtificialHB = Create("BindableEvent", script){
- Parent = script,
- Name = "Heartbeat",
- }
- script:WaitForChild("Heartbeat")
- frame = 1 / 30
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- 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
- script.Heartbeat: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 DI = Instance.new("Part",Character)
- DI.Size = Vector3.new(1,1,1)
- DI.CanCollide = false
- DI.TopSurface = 0
- DI.BottomSurface = 0
- DI.BrickColor = Torso.BrickColor
- local DI2 = Instance.new("SpecialMesh",DI)
- DI2.MeshType = "Cylinder"
- DI2.Scale = Vector3.new(3.5,1,1)
- local DI3 = Instance.new("Weld",DI)
- DI3.Part0 = Torso
- DI3.Part1 = DI
- DI3.C0 = CFrame.new(0,-0.2,-2)*CFrame.Angles(0,1.55,0.5)
- local BALL = Instance.new("Part",Character)
- BALL.Size = Vector3.new(1,1,1)
- BALL.BrickColor = Torso.BrickColor
- BALL.TopSurface = 0
- BALL.BottomSurface = 0
- BALL.CanCollide = false
- local BALL2 = Instance.new("SpecialMesh",BALL)
- BALL2.MeshType = "Sphere"
- BALL2.Scale = Vector3.new(1.3,1.3,1.3)
- local WW = Instance.new("Weld",BALL)
- WW.Part0 = Torso
- WW.Part1 = BALL
- WW.C0 = CFrame.new(0.5,-1.4,-0.7)
- local BALL23 = Instance.new("Part",Character)
- BALL23.Size = Vector3.new(1,1,1)
- BALL23.BrickColor = Torso.BrickColor
- BALL23.TopSurface = 0
- BALL23.BottomSurface = 0
- BALL23.CanCollide = false
- local BALL22 = Instance.new("SpecialMesh",BALL23)
- BALL22.MeshType = "Sphere"
- BALL22.Scale = Vector3.new(1.3,1.3,1.3)
- local WW2 = Instance.new("Weld",BALL23)
- WW2.Part0 = Torso
- WW2.Part1 = BALL23
- WW2.C0 = CFrame.new(-0.5,-1.4,-0.7)
- local Tip = Instance.new("Part",Character)
- Tip.Size = Vector3.new(1,1,1)
- Tip.BrickColor = BrickColor.new("Pink")
- Tip.TopSurface = 0
- Tip.BottomSurface = 0
- Tip.CanCollide = false
- Tip.Name = "top"
- local BALL233 = Instance.new("SpecialMesh",Tip)
- BALL233.MeshType = "Sphere"
- BALL233.Scale = Vector3.new(1.2,1.2,1.2)
- local WW33 = Instance.new("Weld",Tip)
- WW33.Part0 = DI
- WW33.Part1 = Tip
- WW33.C0 = CFrame.new(1.7,0,0)
- local Lampo = Instance.new("Part", game.Workspace.Gustavo_Porto.top)
- Lampo.Size = Vector3.new(0.3,0.3,0.3)
- Lampo.CanCollide = false
- Lampo.Transparency = 0
- local meshlampo = Instance.new("SpecialMesh", Lampo)
- meshlampo.MeshId = "http://www.roblox.com/asset/?id=1028713"
- meshlampo.TextureId = "http://www.roblox.com/asset/?id=493309692"
- meshlampo.Scale = Vector3.new(0.5,0.5,0.5)
- local weldsensor = Instance.new("Weld", Lampo)
- weldsensor.Part0 = game.Workspace.Gustavo_Porto.top
- weldsensor.Part1 = Lampo
- weldsensor.C0 = weldsensor.C0 * CFrame.new(0,0.65,-0.15) * CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0))
- New = 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
- function rayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- function Hit()
- if not D then D = true
- Pause = true
- attack = false
- local Grab = Instance.new("Part",RightArm)
- Grab.Size = Vector3.new(2.3,2.3,2.3)
- Grab.CanCollide = false
- Grab.BrickColor = BrickColor.new("Really black")
- Grab.Transparency = math.huge
- local Grabo = Instance.new("Weld",Grab)
- Grabo.Part0 = DI
- Grabo.Part1 = Grab
- Grabo.C0 = CFrame.new(1,0,0)
- local SFXZ = Instance.new("Sound",Torso)
- SFXZ.SoundId = "rbxassetid://169259383"
- SFXZ.Volume = 1
- SFXZ.Pitch = 0.8
- SFXZ.Looped = false
- wait(0.01)
- SFXZ:Play()
- Grab.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then
- Grab:remove()
- hit.Parent.Humanoid:TakeDamage(13)
- local SFXZ = Instance.new("Sound",Torso)
- SFXZ.SoundId = "rbxassetid://743886825"
- SFXZ.Volume = 1
- SFXZ.Pitch = 0.8
- SFXZ.Looped = false
- wait(0.01)
- SFXZ:Play()
- local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
- Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- Fl.velocity = Torso.CFrame.lookVector*33
- wait(0.05)
- Fl:remove()
- end
- end)
- for i = 0,1.2,0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.5, 0),
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.8,1,0.3) * CFrame.new(0,0,0)*CFrame.Angles(3.1,0,-1),
- CFrame.new(-0.8,1,0.3) * CFrame.new(0,0,0)*CFrame.Angles(3.1,0,1),
- CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .5, false)
- DI3.C0 = clerp(DI3.C0,CFrame.new(-1,-0.2,-2)*CFrame.new(0,0,0)*CFrame.Angles(0,0.5,0)*CFrame.Angles(0,1.55,0.5),.3)
- end
- Grab:remove()
- Pause = false
- wait(0.1)
- D = false
- end
- end
- function Hit2()
- if not D then D = true
- Pause = true
- attack = false
- local Grab = Instance.new("Part",RightArm)
- Grab.Size = Vector3.new(2.3,2.3,2.3)
- Grab.CanCollide = false
- Grab.BrickColor = BrickColor.new("Really black")
- Grab.Transparency = math.huge
- local Grabo = Instance.new("Weld",Grab)
- Grabo.Part0 = DI
- Grabo.Part1 = Grab
- Grabo.C0 = CFrame.new(1,0,0)
- local SFXZ = Instance.new("Sound",Torso)
- SFXZ.SoundId = "rbxassetid://"
- SFXZ.Volume = 1
- SFXZ.Pitch = 0.8
- SFXZ.Looped = false
- wait(0.01)
- SFXZ:Play()
- Grab.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then
- Grab:remove()
- hit.Parent.Humanoid:TakeDamage(100)
- local SFXZ = Instance.new("Sound",Torso)
- SFXZ.SoundId = "rbxassetid://743886825"
- SFXZ.Volume = 1
- SFXZ.Pitch = 0.8
- SFXZ.Looped = false
- wait(0.01)
- SFXZ:Play()
- local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
- Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- Fl.velocity = Torso.CFrame.lookVector*33
- wait(0.05)
- Fl:remove()
- end
- end)
- for i = 0,1.2,0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -0.5, 0),
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.8,1,0.3) * CFrame.new(0,0,0)*CFrame.Angles(3.1,0,-1),
- CFrame.new(-0.8,1,0.3) * CFrame.new(0,0,0)*CFrame.Angles(3.1,0,1),
- CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .5, false)
- DI3.C0 = clerp(DI3.C0,CFrame.new(1,-0.2,-2)*CFrame.new(0,0,0)*CFrame.Angles(0,-0.5,0)*CFrame.Angles(0,1.55,0.5),.3)
- end
- Grab:remove()
- Pause = false
- wait(0.1)
- D = false
- end
- end
- function JOFF()
- if not DD then DD = true
- Pause = true
- for i = 0,1.2,0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0,0,0)*CFrame.Angles(0,0,0),
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0, 0),
- CFrame.new(0.9,0,-1) * CFrame.new(0,0,0)*CFrame.Angles(0.5,1,0),
- CFrame.new(-0.7,0,0.4) * CFrame.new(0,0,0)*CFrame.Angles(0,0,1),
- CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
- CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1),
- }, .3, false)
- DI3.C0 = clerp(DI3.C0,CFrame.new(0,-0.2,-2)*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0.5),.3)
- end
- game:GetService("Chat"):Chat(Head, "I cant hold it...")
- wait(0.5)
- local SFXZ = Instance.new("Sound",Torso)
- SFXZ.SoundId = "rbxassetid://517040733"
- SFXZ.Volume = math.huge
- SFXZ.Pitch = 1
- SFXZ.Looped = false
- wait(0.01)
- SFXZ:Play()
- local partasdeff = Instance.new("ParticleEmitter",Tip)
- partasdeff.Color = ColorSequence.new(Color3.new(244,244,244))
- partasdeff.LightEmission = .1
- partasdeff.Size = NumberSequence.new(0.2)
- partasdeff.Texture = "http://www.roblox.com/asset/?ID=833874434"
- aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
- bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
- partasdeff.Transparency = bbb
- partasdeff.Size = aaa
- partasdeff.ZOffset = .9
- partasdeff.Acceleration = Vector3.new(0, -5, 0)
- partasdeff.LockedToPart = false
- partasdeff.EmissionDirection = "Right"
- partasdeff.Lifetime = NumberRange.new(1, 2)
- partasdeff.Rate = 1000
- partasdeff.Rotation = NumberRange.new(-100, 100)
- partasdeff.RotSpeed = NumberRange.new(-100, 100)
- partasdeff.Speed = NumberRange.new(10)
- partasdeff.VelocitySpread = 20
- partasdeff.Enabled=true
- local PP = Instance.new("Part",Character)
- PP.Size = Vector3.new(9,1,1)
- PP.CanCollide = false
- PP.Transparency = math.huge
- local PP2 = Instance.new("Weld",PP)
- PP2.Part0 = DI
- PP2.Part1 = PP
- PP2.C0 = CFrame.new(2.5,0.5,0)*CFrame.Angles(0,0,-0.5)
- PP.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then
- PP:remove()
- local p2mit = Instance.new("ParticleEmitter",hit.Parent.Torso)
- p2mit.Texture = "http://www.roblox.com/asset/?id=243132757"
- p2mit.Color = ColorSequence.new(Color3.new(244,244,244))
- p2mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2),NumberSequenceKeypoint.new(1,.2)})
- p2mit.Lifetime = NumberRange.new(1)
- p2mit.Rate = 33
- p2mit.VelocitySpread = 0
- p2mit.Acceleration = Vector3.new(0,-50,0)
- local p2mit = Instance.new("ParticleEmitter",hit.Parent["Right Arm"])
- p2mit.Texture = "http://www.roblox.com/asset/?id=243132757"
- p2mit.Color = ColorSequence.new(Color3.new(244,244,244))
- p2mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2),NumberSequenceKeypoint.new(1,.2)})
- p2mit.Lifetime = NumberRange.new(1)
- p2mit.Rate = 33
- p2mit.VelocitySpread = 0
- p2mit.Acceleration = Vector3.new(0,-50,0)
- local p2mit = Instance.new("ParticleEmitter",hit.Parent["Left Arm"])
- p2mit.Texture = "http://www.roblox.com/asset/?id=243132757"
- p2mit.Color = ColorSequence.new(Color3.new(244,244,244))
- p2mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2),NumberSequenceKeypoint.new(1,.2)})
- p2mit.Lifetime = NumberRange.new(1)
- p2mit.Rate = 33
- p2mit.VelocitySpread = 0
- p2mit.Acceleration = Vector3.new(0,-50,0)
- end
- end)
- wait(1)
- partasdeff.Enabled=false
- PP:remove()
- wait(1)
- Pause = false
- wait(5)
- DD = false
- end
- end
- function Slime()
- if not DD then DD = true
- Pause = true
- for i = 0,1.2,0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.5,1,0.3) * CFrame.new(0,0,0)*CFrame.Angles(3.1,0,1),
- CFrame.new(-1.5,0,0) * CFrame.new(0,0,0)*CFrame.Angles(0,0,0),
- CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .5, false)
- DI3.C0 = clerp(DI3.C0,CFrame.new(0,-0.2,-2)*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0.5),.3)
- end
- local Fill = Instance.new("Part",Character)
- Fill.Size = Vector3.new(1,1,1)
- Fill.CanCollide = false
- Fill.BrickColor = BrickColor.new("White")
- Fill.Shape = "Ball"
- local Fill2 = Instance.new("SpecialMesh",Fill)
- Fill2.MeshType = "Sphere"
- Fill2.Scale = Vector3.new(0.1,0.1,0.1)
- local Fill3 = Instance.new("Weld",Fill)
- Fill3.Part0 = RightArm
- Fill3.Part1 = Fill
- Fill3.C0 = CFrame.new(0,-1.2,0)
- Fill.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then
- Fill:remove()
- hit.Parent.Humanoid:TakeDamage(40)
- end
- end)
- coroutine.resume(coroutine.create(function()
- for i = 1,166 do
- Fill2.Scale = Fill2.Scale + Vector3.new(0.01,0.01,0.01)
- game:GetService("RunService").RenderStepped:wait()
- end
- end))
- for i = 1,10 do
- local Spl = Instance.new("Part",Character)
- Spl.BrickColor = BrickColor.new("White")
- Spl.Material = "Neon"
- Spl.CanCollide = false
- Spl.Shape = "Ball"
- Spl.CFrame = Tip.CFrame*CFrame.new(0,0,0)
- local Spl2 = Instance.new("SpecialMesh",Spl)
- Spl2.MeshType = "Sphere"
- Spl2.Scale = Vector3.new(0.1,0.1,0.1)
- local At = Instance.new("BodyPosition",Spl)
- At.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- At.position = Fill.Position
- wait(0.3)
- Spl:remove()
- end
- wait(1)
- for i = 0,1.2,0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1.5, 0),
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.8,0.5,0) * CFrame.new(0,0,0)*CFrame.Angles(1.55,0,1.55),
- CFrame.new(-1.5,0,0) * CFrame.new(0,0,0)*CFrame.Angles(0,0,0),
- CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .5, false)
- DI3.C0 = clerp(DI3.C0,CFrame.new(0,-0.2,-2)*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0.5),.3)
- end
- wait(0.5)
- Fill:remove()
- Pause = false
- wait(3)
- DD = false
- end
- end
- Mouse.Button1Down:connect(function()
- if attack == false and attacktype == 1 then
- Hit()
- attacktype = 2
- elseif attack == false and attacktype == 2 then
- Hit2()
- attacktype = 1
- end
- end)
- Mouse.KeyDown:connect(function(key)
- if key == "e" then
- Slime()
- end
- if key == "q" then
- JOFF()
- end
- end)
- Ma = Instance.new("Sound",Torso)
- Ma.SoundId = "rbxassetid://870034109"
- Ma.Looped = true
- Ma.Pitch = 1
- Ma.Volume = 4
- wait(0.01)
- Ma:Play()
- coroutine.wrap(function()
- while 1 do
- swait()
- if doe <= 360 then
- doe = doe + 2
- else
- doe = 0
- end
- end
- end)()
- while true do
- swait()
- for i, v in pairs(Character:GetChildren()) do
- if v:IsA("Part") then
- v.Material = "SmoothPlastic"
- elseif v:IsA("Accessory") then
- v:WaitForChild("Handle").Material = "SmoothPlastic"
- end
- end
- Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- velocity = RootPart.Velocity.y
- sine = sine + change
- local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
- if RootPart.Velocity.y > 1 and hit == nil then
- Anim = "Jump"
- if Pause == false then
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- DI3.C0 = clerp(DI3.C0,CFrame.new(0,-0.2,-2)*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0.5),.3)
- end
- elseif RootPart.Velocity.y < -1 and hit == nil then
- Anim = "Fall"
- if Pause == false then
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- DI3.C0 = clerp(DI3.C0,CFrame.new(0,-0.2,-2)*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0.5),.3)
- end
- elseif Torsovelocity < 1 and hit ~= nil then
- Anim = "Idle"
- if Pause == false then
- change = 1
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0,0-.05*math.sin(tick()*1),0)*CFrame.Angles(0,0,0),
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0-.05*math.sin(tick()*1), 0, 0),
- CFrame.new(0.9,0,-1) * CFrame.new(0,0,0)*CFrame.Angles(0-.3*math.sin(tick()*3),1,0)*CFrame.Angles(0.8,0,0),
- CFrame.new(-0.7,0,0.4) * CFrame.new(0,0,0)*CFrame.Angles(0,0,1),
- CFrame.new(0.6,0+.05*math.sin(tick()*1),0) * CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0.1),
- CFrame.new(-0.6,0+.05*math.sin(tick()*1),0) * CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, -0.1),
- }, .3, false)
- DI3.C0 = clerp(DI3.C0,CFrame.new(0,-0.2,-2)*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0.5),.3)
- end
- elseif Torsovelocity > 2 and hit ~= nil then
- Anim = "Walk"
- if Pause == false then
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0,0,0)*CFrame.Angles(0.2,0,0),
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.3, 0, 0),
- CFrame.new(0.8,1,0.3) * CFrame.new(0,0,0)*CFrame.Angles(3.1,0,-1),
- CFrame.new(-0.8,1,0.3) * CFrame.new(0,0,0)*CFrame.Angles(3.1,0,1),
- CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 3)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 3)), 0, 0),
- CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 3)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 3)), 0, 0),
- }, .3, false)
- DI3.C0 = clerp(DI3.C0,CFrame.new(0,-0.2,-2)*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0.5),.3)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement