Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --https://github.com/Mokiros/roblox-FE-compatibility
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,game,owner = owner,game
- local RealPlayer = Player
- do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- Decal3 = Instance.new("Decal")
- ParticleEmitter4 = Instance.new("ParticleEmitter")
- ParticleEmitter5 = Instance.new("ParticleEmitter")
- ParticleEmitter6 = Instance.new("ParticleEmitter")
- ParticleEmitter7 = Instance.new("ParticleEmitter")
- Weld8 = Instance.new("Weld")
- Part9 = Instance.new("Part")
- Motor6D10 = Instance.new("Motor6D")
- Motor6D11 = Instance.new("Motor6D")
- Motor6D12 = Instance.new("Motor6D")
- Motor6D13 = Instance.new("Motor6D")
- Motor6D14 = Instance.new("Motor6D")
- BillboardGui15 = Instance.new("BillboardGui")
- Frame16 = Instance.new("Frame")
- Frame17 = Instance.new("Frame")
- Frame18 = Instance.new("Frame")
- ParticleEmitter19 = Instance.new("ParticleEmitter")
- ParticleEmitter20 = Instance.new("ParticleEmitter")
- ParticleEmitter21 = Instance.new("ParticleEmitter")
- ParticleEmitter22 = Instance.new("ParticleEmitter")
- Part23 = Instance.new("Part")
- ParticleEmitter24 = Instance.new("ParticleEmitter")
- ParticleEmitter25 = Instance.new("ParticleEmitter")
- ParticleEmitter26 = Instance.new("ParticleEmitter")
- ParticleEmitter27 = Instance.new("ParticleEmitter")
- Part28 = Instance.new("Part")
- ParticleEmitter29 = Instance.new("ParticleEmitter")
- ParticleEmitter30 = Instance.new("ParticleEmitter")
- ParticleEmitter31 = Instance.new("ParticleEmitter")
- ParticleEmitter32 = Instance.new("ParticleEmitter")
- Part33 = Instance.new("Part")
- ParticleEmitter34 = Instance.new("ParticleEmitter")
- ParticleEmitter35 = Instance.new("ParticleEmitter")
- ParticleEmitter36 = Instance.new("ParticleEmitter")
- ParticleEmitter37 = Instance.new("ParticleEmitter")
- Part38 = Instance.new("Part")
- ParticleEmitter39 = Instance.new("ParticleEmitter")
- ParticleEmitter40 = Instance.new("ParticleEmitter")
- ParticleEmitter41 = Instance.new("ParticleEmitter")
- ParticleEmitter42 = Instance.new("ParticleEmitter")
- Humanoid43 = Instance.new("Humanoid")
- Part44 = Instance.new("Part")
- Motor6D45 = Instance.new("Motor6D")
- BoolValue46 = Instance.new("BoolValue")
- Configuration47 = Instance.new("Configuration")
- Script48 = Instance.new("Script")
- Script49 = Instance.new("Script")
- Script50 = Instance.new("Script")
- SpecialMesh51 = Instance.new("SpecialMesh")
- Script52 = Instance.new("Script")
- ObjectValue53 = Instance.new("ObjectValue")
- LocalScript54 = Instance.new("LocalScript")
- LocalScript55 = Instance.new("LocalScript")
- LocalScript56 = Instance.new("LocalScript")
- LocalScript57 = Instance.new("LocalScript")
- Sound58 = Instance.new("Sound")
- Sound59 = Instance.new("Sound")
- Sound60 = Instance.new("Sound")
- Animation61 = Instance.new("Animation")
- Sound62 = Instance.new("Sound")
- Sound63 = Instance.new("Sound")
- Sound64 = Instance.new("Sound")
- Sound65 = Instance.new("Sound")
- Sound66 = Instance.new("Sound")
- Sound67 = Instance.new("Sound")
- Sound68 = Instance.new("Sound")
- Sound69 = Instance.new("Sound")
- Sound70 = Instance.new("Sound")
- Sound71 = Instance.new("Sound")
- Sound72 = Instance.new("Sound")
- Sound73 = Instance.new("Sound")
- SpecialMesh74 = Instance.new("SpecialMesh")
- SpecialMesh75 = Instance.new("SpecialMesh")
- SpecialMesh76 = Instance.new("SpecialMesh")
- Animation77 = Instance.new("Animation")
- Animation78 = Instance.new("Animation")
- Animation79 = Instance.new("Animation")
- Sound80 = Instance.new("Sound")
- Script81 = Instance.new("Script")
- StringValue82 = Instance.new("StringValue")
- Animation83 = Instance.new("Animation")
- StringValue84 = Instance.new("StringValue")
- Animation85 = Instance.new("Animation")
- StringValue86 = Instance.new("StringValue")
- Animation87 = Instance.new("Animation")
- NumberValue88 = Instance.new("NumberValue")
- Animation89 = Instance.new("Animation")
- NumberValue90 = Instance.new("NumberValue")
- StringValue91 = Instance.new("StringValue")
- Animation92 = Instance.new("Animation")
- StringValue93 = Instance.new("StringValue")
- Animation94 = Instance.new("Animation")
- StringValue95 = Instance.new("StringValue")
- Animation96 = Instance.new("Animation")
- StringValue97 = Instance.new("StringValue")
- Animation98 = Instance.new("Animation")
- StringValue99 = Instance.new("StringValue")
- Animation100 = Instance.new("Animation")
- Sound101 = Instance.new("Sound")
- Script102 = Instance.new("Script")
- Hat103 = Instance.new("Hat")
- Part104 = Instance.new("Part")
- SpecialMesh105 = Instance.new("SpecialMesh")
- Pants106 = Instance.new("Pants")
- Shirt107 = Instance.new("Shirt")
- Script108 = Instance.new("Script")
- Model0.Name = "Shaggy"
- Model0.Parent = mas
- Model0.PrimaryPart = Part1
- Part1.Name = "Head"
- Part1.Parent = Model0
- Part1.CFrame = CFrame.new(-59.6656265, 4.50001097, 6.45593214, 0, 0, -1, 1.61394169e-35, 1, 0, 1, 1.61394169e-35, 0)
- Part1.Orientation = Vector3.new(0, -90, 0)
- Part1.Position = Vector3.new(-59.6656265, 4.50001097, 6.45593214)
- Part1.Rotation = Vector3.new(0, -90, 0)
- Part1.Color = Color3.new(1, 0.8, 0.6)
- Part1.Size = Vector3.new(2, 1, 1)
- Part1.BrickColor = BrickColor.new("Pastel brown")
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.brickColor = BrickColor.new("Pastel brown")
- Part1.FormFactor = Enum.FormFactor.Symmetric
- Part1.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh2.Parent = Part1
- SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25)
- Decal3.Name = "face"
- Decal3.Parent = Part1
- Decal3.Texture = "rbxassetid://1096273237"
- ParticleEmitter4.Name = "small"
- ParticleEmitter4.Parent = Part1
- ParticleEmitter4.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter4.LightEmission = 0.5
- ParticleEmitter4.Texture = "rbxassetid://243740013"
- ParticleEmitter4.Transparency = NumberSequence.new(0,1)
- ParticleEmitter4.ZOffset = 2
- ParticleEmitter4.Size = NumberSequence.new(0.0099999997764826,0)
- ParticleEmitter4.Lifetime = NumberRange.new(2, 2)
- ParticleEmitter4.LockedToPart = true
- ParticleEmitter4.Rate = 10
- ParticleEmitter4.RotSpeed = NumberRange.new(-100, 100)
- ParticleEmitter4.SpreadAngle = Vector2.new(7, 7)
- ParticleEmitter4.VelocitySpread = 7
- ParticleEmitter5.Name = "aura3"
- ParticleEmitter5.Parent = Part1
- ParticleEmitter5.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter5.LightEmission = 0.30000001192093
- ParticleEmitter5.LightInfluence = 1
- ParticleEmitter5.Texture = "rbxassetid://833874434"
- ParticleEmitter5.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
- ParticleEmitter5.ZOffset = -1
- ParticleEmitter5.Size = NumberSequence.new(0.89999997615814,0.89999997615814)
- ParticleEmitter5.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter5.LockedToPart = true
- ParticleEmitter5.Rate = 30
- ParticleEmitter5.RotSpeed = NumberRange.new(-100, 100)
- ParticleEmitter6.Name = "aura2"
- ParticleEmitter6.Parent = Part1
- ParticleEmitter6.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter6.Color = ColorSequence.new(Color3.new(0.333333, 0, 1),Color3.new(0.333333, 0, 1))
- ParticleEmitter6.LightEmission = 0.30000001192093
- ParticleEmitter6.LightInfluence = 1
- ParticleEmitter6.Texture = "rbxassetid://833874434"
- ParticleEmitter6.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
- ParticleEmitter6.ZOffset = -3
- ParticleEmitter6.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter6.LockedToPart = true
- ParticleEmitter6.Rate = 50
- ParticleEmitter6.RotSpeed = NumberRange.new(-100, 100)
- ParticleEmitter7.Name = "aura"
- ParticleEmitter7.Parent = Part1
- ParticleEmitter7.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter7.Color = ColorSequence.new(Color3.new(0, 0.666667, 1),Color3.new(0, 0.666667, 1))
- ParticleEmitter7.LightEmission = 0.30000001192093
- ParticleEmitter7.LightInfluence = 1
- ParticleEmitter7.Texture = "rbxassetid://833874434"
- ParticleEmitter7.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
- ParticleEmitter7.ZOffset = -2
- ParticleEmitter7.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter7.LockedToPart = true
- ParticleEmitter7.Rate = 50
- ParticleEmitter7.RotSpeed = NumberRange.new(-100, 100)
- Weld8.Name = "HeadWeld"
- Weld8.Parent = Part1
- Weld8.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld8.C1 = CFrame.new(0.119999997, 0.300000012, -0.0700000003, 0.980619192, 0, -0.19592388, 0, 1, 0, 0.19592391, -0, 0.980619073)
- Weld8.Part0 = Part1
- Weld8.Part1 = Part104
- Weld8.part1 = Part104
- Part9.Name = "Torso"
- Part9.Parent = Model0
- Part9.CFrame = CFrame.new(-59.6656265, 3.00001097, 6.45593214, 0, 0, -1, 1.61394169e-35, 1, 0, 1, 1.61394169e-35, 0)
- Part9.Orientation = Vector3.new(0, -90, 0)
- Part9.Position = Vector3.new(-59.6656265, 3.00001097, 6.45593214)
- Part9.Rotation = Vector3.new(0, -90, 0)
- Part9.Color = Color3.new(1, 0.8, 0.6)
- Part9.Size = Vector3.new(2, 2, 1)
- Part9.BrickColor = BrickColor.new("Pastel brown")
- Part9.LeftParamA = 0
- Part9.LeftParamB = 0
- Part9.LeftSurface = Enum.SurfaceType.Weld
- Part9.RightParamA = 0
- Part9.RightParamB = 0
- Part9.RightSurface = Enum.SurfaceType.Weld
- Part9.brickColor = BrickColor.new("Pastel brown")
- Part9.FormFactor = Enum.FormFactor.Symmetric
- Part9.formFactor = Enum.FormFactor.Symmetric
- Motor6D10.Name = "Right Shoulder"
- Motor6D10.Parent = Part9
- Motor6D10.MaxVelocity = 0.10000000149012
- Motor6D10.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D10.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D10.Part0 = Part9
- Motor6D10.Part1 = Part28
- Motor6D10.part1 = Part28
- Motor6D11.Name = "Left Shoulder"
- Motor6D11.Parent = Part9
- Motor6D11.MaxVelocity = 0.10000000149012
- Motor6D11.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D11.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D11.Part0 = Part9
- Motor6D11.Part1 = Part23
- Motor6D11.part1 = Part23
- Motor6D12.Name = "Right Hip"
- Motor6D12.Parent = Part9
- Motor6D12.MaxVelocity = 0.10000000149012
- Motor6D12.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D12.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D12.Part0 = Part9
- Motor6D12.Part1 = Part38
- Motor6D12.part1 = Part38
- Motor6D13.Name = "Left Hip"
- Motor6D13.Parent = Part9
- Motor6D13.MaxVelocity = 0.10000000149012
- Motor6D13.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D13.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D13.Part0 = Part9
- Motor6D13.Part1 = Part33
- Motor6D13.part1 = Part33
- Motor6D14.Name = "Neck"
- Motor6D14.Parent = Part9
- Motor6D14.MaxVelocity = 0.10000000149012
- Motor6D14.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D14.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D14.Part0 = Part9
- Motor6D14.Part1 = Part1
- Motor6D14.part1 = Part1
- BillboardGui15.Name = "Healthbar"
- BillboardGui15.Parent = Part9
- BillboardGui15.Size = UDim2.new(25, 0, 1, 0)
- BillboardGui15.AlwaysOnTop = true
- BillboardGui15.StudsOffset = Vector3.new(0, 7.5, 0)
- Frame16.Parent = BillboardGui15
- Frame16.Size = UDim2.new(1, 0, 1, 0)
- Frame16.BackgroundColor = BrickColor.new("Really black")
- Frame16.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame16.BorderColor = BrickColor.new("Really black")
- Frame16.BorderColor3 = Color3.new(0, 0, 0)
- Frame17.Name = "Full"
- Frame17.Parent = Frame16
- Frame17.Size = UDim2.new(1, 0, 1, 0)
- Frame17.BackgroundColor = BrickColor.new("Lime green")
- Frame17.BackgroundColor3 = Color3.new(0, 0.784314, 0)
- Frame17.BorderColor = BrickColor.new("Really black")
- Frame17.BorderColor3 = Color3.new(0, 0, 0)
- Frame17.BorderSizePixel = 0
- Frame18.Name = "Reflec"
- Frame18.Parent = Frame17
- Frame18.Size = UDim2.new(1, 0, 0.370000005, 0)
- Frame18.BackgroundColor = BrickColor.new("Institutional white")
- Frame18.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame18.BackgroundTransparency = 0.625
- Frame18.BorderSizePixel = 0
- ParticleEmitter19.Name = "small"
- ParticleEmitter19.Parent = Part9
- ParticleEmitter19.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter19.LightEmission = 0.5
- ParticleEmitter19.Texture = "rbxassetid://243740013"
- ParticleEmitter19.Transparency = NumberSequence.new(0,1)
- ParticleEmitter19.ZOffset = 2
- ParticleEmitter19.Size = NumberSequence.new(0.0099999997764826,0)
- ParticleEmitter19.Lifetime = NumberRange.new(2, 2)
- ParticleEmitter19.LockedToPart = true
- ParticleEmitter19.Rate = 10
- ParticleEmitter19.RotSpeed = NumberRange.new(-100, 100)
- ParticleEmitter19.SpreadAngle = Vector2.new(7, 7)
- ParticleEmitter19.VelocitySpread = 7
- ParticleEmitter20.Name = "aura3"
- ParticleEmitter20.Parent = Part9
- ParticleEmitter20.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter20.LightEmission = 0.30000001192093
- ParticleEmitter20.LightInfluence = 1
- ParticleEmitter20.Texture = "rbxassetid://833874434"
- ParticleEmitter20.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
- ParticleEmitter20.ZOffset = -1
- ParticleEmitter20.Size = NumberSequence.new(0.89999997615814,0.89999997615814)
- ParticleEmitter20.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter20.LockedToPart = true
- ParticleEmitter20.Rate = 30
- ParticleEmitter20.RotSpeed = NumberRange.new(-100, 100)
- ParticleEmitter21.Name = "aura2"
- ParticleEmitter21.Parent = Part9
- ParticleEmitter21.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter21.Color = ColorSequence.new(Color3.new(0.333333, 0, 1),Color3.new(0.333333, 0, 1))
- ParticleEmitter21.LightEmission = 0.30000001192093
- ParticleEmitter21.LightInfluence = 1
- ParticleEmitter21.Texture = "rbxassetid://833874434"
- ParticleEmitter21.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
- ParticleEmitter21.ZOffset = -3
- ParticleEmitter21.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter21.LockedToPart = true
- ParticleEmitter21.Rate = 50
- ParticleEmitter21.RotSpeed = NumberRange.new(-100, 100)
- ParticleEmitter22.Name = "aura"
- ParticleEmitter22.Parent = Part9
- ParticleEmitter22.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter22.Color = ColorSequence.new(Color3.new(0, 0.666667, 1),Color3.new(0, 0.666667, 1))
- ParticleEmitter22.LightEmission = 0.30000001192093
- ParticleEmitter22.LightInfluence = 1
- ParticleEmitter22.Texture = "rbxassetid://833874434"
- ParticleEmitter22.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
- ParticleEmitter22.ZOffset = -2
- ParticleEmitter22.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter22.LockedToPart = true
- ParticleEmitter22.Rate = 50
- ParticleEmitter22.RotSpeed = NumberRange.new(-100, 100)
- Part23.Name = "Left Arm"
- Part23.Parent = Model0
- Part23.CFrame = CFrame.new(-59.6656265, 3.00001097, 4.95593214, 0, 0, -1, 1.61394169e-35, 1, 0, 1, 1.61394169e-35, 0)
- Part23.Orientation = Vector3.new(0, -90, 0)
- Part23.Position = Vector3.new(-59.6656265, 3.00001097, 4.95593214)
- Part23.Rotation = Vector3.new(0, -90, 0)
- Part23.Color = Color3.new(1, 0.8, 0.6)
- Part23.Size = Vector3.new(1, 2, 1)
- Part23.BrickColor = BrickColor.new("Pastel brown")
- Part23.CanCollide = false
- Part23.brickColor = BrickColor.new("Pastel brown")
- Part23.FormFactor = Enum.FormFactor.Symmetric
- Part23.formFactor = Enum.FormFactor.Symmetric
- ParticleEmitter24.Name = "small"
- ParticleEmitter24.Parent = Part23
- ParticleEmitter24.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter24.LightEmission = 0.5
- ParticleEmitter24.Texture = "rbxassetid://243740013"
- ParticleEmitter24.Transparency = NumberSequence.new(0,1)
- ParticleEmitter24.ZOffset = 2
- ParticleEmitter24.Size = NumberSequence.new(0.0099999997764826,0)
- ParticleEmitter24.Lifetime = NumberRange.new(2, 2)
- ParticleEmitter24.LockedToPart = true
- ParticleEmitter24.Rate = 10
- ParticleEmitter24.RotSpeed = NumberRange.new(-100, 100)
- ParticleEmitter24.SpreadAngle = Vector2.new(7, 7)
- ParticleEmitter24.VelocitySpread = 7
- ParticleEmitter25.Name = "aura3"
- ParticleEmitter25.Parent = Part23
- ParticleEmitter25.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter25.LightEmission = 0.30000001192093
- ParticleEmitter25.LightInfluence = 1
- ParticleEmitter25.Texture = "rbxassetid://833874434"
- ParticleEmitter25.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
- ParticleEmitter25.ZOffset = -1
- ParticleEmitter25.Size = NumberSequence.new(0.89999997615814,0.89999997615814)
- ParticleEmitter25.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter25.LockedToPart = true
- ParticleEmitter25.Rate = 30
- ParticleEmitter25.RotSpeed = NumberRange.new(-100, 100)
- ParticleEmitter26.Name = "aura2"
- ParticleEmitter26.Parent = Part23
- ParticleEmitter26.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter26.Color = ColorSequence.new(Color3.new(0.333333, 0, 1),Color3.new(0.333333, 0, 1))
- ParticleEmitter26.LightEmission = 0.30000001192093
- ParticleEmitter26.LightInfluence = 1
- ParticleEmitter26.Texture = "rbxassetid://833874434"
- ParticleEmitter26.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
- ParticleEmitter26.ZOffset = -3
- ParticleEmitter26.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter26.LockedToPart = true
- ParticleEmitter26.Rate = 50
- ParticleEmitter26.RotSpeed = NumberRange.new(-100, 100)
- ParticleEmitter27.Name = "aura"
- ParticleEmitter27.Parent = Part23
- ParticleEmitter27.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter27.Color = ColorSequence.new(Color3.new(0, 0.666667, 1),Color3.new(0, 0.666667, 1))
- ParticleEmitter27.LightEmission = 0.30000001192093
- ParticleEmitter27.LightInfluence = 1
- ParticleEmitter27.Texture = "rbxassetid://833874434"
- ParticleEmitter27.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
- ParticleEmitter27.ZOffset = -2
- ParticleEmitter27.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter27.LockedToPart = true
- ParticleEmitter27.Rate = 50
- ParticleEmitter27.RotSpeed = NumberRange.new(-100, 100)
- Part28.Name = "Right Arm"
- Part28.Parent = Model0
- Part28.CFrame = CFrame.new(-59.6656265, 3.00001097, 7.95593214, 0, 0, -1, 1.61394169e-35, 1, 0, 1, 1.61394169e-35, 0)
- Part28.Orientation = Vector3.new(0, -90, 0)
- Part28.Position = Vector3.new(-59.6656265, 3.00001097, 7.95593214)
- Part28.Rotation = Vector3.new(0, -90, 0)
- Part28.Color = Color3.new(1, 0.8, 0.6)
- Part28.Size = Vector3.new(1, 2, 1)
- Part28.BrickColor = BrickColor.new("Pastel brown")
- Part28.CanCollide = false
- Part28.brickColor = BrickColor.new("Pastel brown")
- Part28.FormFactor = Enum.FormFactor.Symmetric
- Part28.formFactor = Enum.FormFactor.Symmetric
- ParticleEmitter29.Name = "small"
- ParticleEmitter29.Parent = Part28
- ParticleEmitter29.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter29.LightEmission = 0.5
- ParticleEmitter29.Texture = "rbxassetid://243740013"
- ParticleEmitter29.Transparency = NumberSequence.new(0,1)
- ParticleEmitter29.ZOffset = 2
- ParticleEmitter29.Size = NumberSequence.new(0.0099999997764826,0)
- ParticleEmitter29.Lifetime = NumberRange.new(2, 2)
- ParticleEmitter29.LockedToPart = true
- ParticleEmitter29.Rate = 10
- ParticleEmitter29.RotSpeed = NumberRange.new(-100, 100)
- ParticleEmitter29.SpreadAngle = Vector2.new(7, 7)
- ParticleEmitter29.VelocitySpread = 7
- ParticleEmitter30.Name = "aura3"
- ParticleEmitter30.Parent = Part28
- ParticleEmitter30.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter30.LightEmission = 0.30000001192093
- ParticleEmitter30.LightInfluence = 1
- ParticleEmitter30.Texture = "rbxassetid://833874434"
- ParticleEmitter30.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
- ParticleEmitter30.ZOffset = -1
- ParticleEmitter30.Size = NumberSequence.new(0.89999997615814,0.89999997615814)
- ParticleEmitter30.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter30.LockedToPart = true
- ParticleEmitter30.Rate = 30
- ParticleEmitter30.RotSpeed = NumberRange.new(-100, 100)
- ParticleEmitter31.Name = "aura2"
- ParticleEmitter31.Parent = Part28
- ParticleEmitter31.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter31.Color = ColorSequence.new(Color3.new(0.333333, 0, 1),Color3.new(0.333333, 0, 1))
- ParticleEmitter31.LightEmission = 0.30000001192093
- ParticleEmitter31.LightInfluence = 1
- ParticleEmitter31.Texture = "rbxassetid://833874434"
- ParticleEmitter31.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
- ParticleEmitter31.ZOffset = -3
- ParticleEmitter31.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter31.LockedToPart = true
- ParticleEmitter31.Rate = 50
- ParticleEmitter31.RotSpeed = NumberRange.new(-100, 100)
- ParticleEmitter32.Name = "aura"
- ParticleEmitter32.Parent = Part28
- ParticleEmitter32.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter32.Color = ColorSequence.new(Color3.new(0, 0.666667, 1),Color3.new(0, 0.666667, 1))
- ParticleEmitter32.LightEmission = 0.30000001192093
- ParticleEmitter32.LightInfluence = 1
- ParticleEmitter32.Texture = "rbxassetid://833874434"
- ParticleEmitter32.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
- ParticleEmitter32.ZOffset = -2
- ParticleEmitter32.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter32.LockedToPart = true
- ParticleEmitter32.Rate = 50
- ParticleEmitter32.RotSpeed = NumberRange.new(-100, 100)
- Part33.Name = "Left Leg"
- Part33.Parent = Model0
- Part33.CFrame = CFrame.new(-59.6656265, 1.00001097, 5.95593214, 0, 0, -1, 1.61394169e-35, 1, 0, 1, 1.61394169e-35, 0)
- Part33.Orientation = Vector3.new(0, -90, 0)
- Part33.Position = Vector3.new(-59.6656265, 1.00001097, 5.95593214)
- Part33.Rotation = Vector3.new(0, -90, 0)
- Part33.Color = Color3.new(1, 0.8, 0.6)
- Part33.Size = Vector3.new(1, 2, 1)
- Part33.BottomSurface = Enum.SurfaceType.Smooth
- Part33.BrickColor = BrickColor.new("Pastel brown")
- Part33.CanCollide = false
- Part33.brickColor = BrickColor.new("Pastel brown")
- Part33.FormFactor = Enum.FormFactor.Symmetric
- Part33.formFactor = Enum.FormFactor.Symmetric
- ParticleEmitter34.Name = "small"
- ParticleEmitter34.Parent = Part33
- ParticleEmitter34.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter34.LightEmission = 0.5
- ParticleEmitter34.Texture = "rbxassetid://243740013"
- ParticleEmitter34.Transparency = NumberSequence.new(0,1)
- ParticleEmitter34.ZOffset = 2
- ParticleEmitter34.Size = NumberSequence.new(0.0099999997764826,0)
- ParticleEmitter34.Lifetime = NumberRange.new(2, 2)
- ParticleEmitter34.LockedToPart = true
- ParticleEmitter34.Rate = 10
- ParticleEmitter34.RotSpeed = NumberRange.new(-100, 100)
- ParticleEmitter34.SpreadAngle = Vector2.new(7, 7)
- ParticleEmitter34.VelocitySpread = 7
- ParticleEmitter35.Name = "aura3"
- ParticleEmitter35.Parent = Part33
- ParticleEmitter35.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter35.LightEmission = 0.30000001192093
- ParticleEmitter35.LightInfluence = 1
- ParticleEmitter35.Texture = "rbxassetid://833874434"
- ParticleEmitter35.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
- ParticleEmitter35.ZOffset = -1
- ParticleEmitter35.Size = NumberSequence.new(0.89999997615814,0.89999997615814)
- ParticleEmitter35.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter35.LockedToPart = true
- ParticleEmitter35.Rate = 30
- ParticleEmitter35.RotSpeed = NumberRange.new(-100, 100)
- ParticleEmitter36.Name = "aura2"
- ParticleEmitter36.Parent = Part33
- ParticleEmitter36.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter36.Color = ColorSequence.new(Color3.new(0.333333, 0, 1),Color3.new(0.333333, 0, 1))
- ParticleEmitter36.LightEmission = 0.30000001192093
- ParticleEmitter36.LightInfluence = 1
- ParticleEmitter36.Texture = "rbxassetid://833874434"
- ParticleEmitter36.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
- ParticleEmitter36.ZOffset = -3
- ParticleEmitter36.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter36.LockedToPart = true
- ParticleEmitter36.Rate = 50
- ParticleEmitter36.RotSpeed = NumberRange.new(-100, 100)
- ParticleEmitter37.Name = "aura"
- ParticleEmitter37.Parent = Part33
- ParticleEmitter37.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter37.Color = ColorSequence.new(Color3.new(0, 0.666667, 1),Color3.new(0, 0.666667, 1))
- ParticleEmitter37.LightEmission = 0.30000001192093
- ParticleEmitter37.LightInfluence = 1
- ParticleEmitter37.Texture = "rbxassetid://833874434"
- ParticleEmitter37.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
- ParticleEmitter37.ZOffset = -2
- ParticleEmitter37.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter37.LockedToPart = true
- ParticleEmitter37.Rate = 50
- ParticleEmitter37.RotSpeed = NumberRange.new(-100, 100)
- Part38.Name = "Right Leg"
- Part38.Parent = Model0
- Part38.CFrame = CFrame.new(-59.6656265, 1.00001097, 6.95593214, 0, 0, -1, 1.61394169e-35, 1, 0, 1, 1.61394169e-35, 0)
- Part38.Orientation = Vector3.new(0, -90, 0)
- Part38.Position = Vector3.new(-59.6656265, 1.00001097, 6.95593214)
- Part38.Rotation = Vector3.new(0, -90, 0)
- Part38.Color = Color3.new(1, 0.8, 0.6)
- Part38.Size = Vector3.new(1, 2, 1)
- Part38.BottomSurface = Enum.SurfaceType.Smooth
- Part38.BrickColor = BrickColor.new("Pastel brown")
- Part38.CanCollide = false
- Part38.brickColor = BrickColor.new("Pastel brown")
- Part38.FormFactor = Enum.FormFactor.Symmetric
- Part38.formFactor = Enum.FormFactor.Symmetric
- ParticleEmitter39.Name = "small"
- ParticleEmitter39.Parent = Part38
- ParticleEmitter39.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter39.LightEmission = 0.5
- ParticleEmitter39.Texture = "rbxassetid://243740013"
- ParticleEmitter39.Transparency = NumberSequence.new(0,1)
- ParticleEmitter39.ZOffset = 2
- ParticleEmitter39.Size = NumberSequence.new(0.0099999997764826,0)
- ParticleEmitter39.Lifetime = NumberRange.new(2, 2)
- ParticleEmitter39.LockedToPart = true
- ParticleEmitter39.Rate = 10
- ParticleEmitter39.RotSpeed = NumberRange.new(-100, 100)
- ParticleEmitter39.SpreadAngle = Vector2.new(7, 7)
- ParticleEmitter39.VelocitySpread = 7
- ParticleEmitter40.Name = "aura3"
- ParticleEmitter40.Parent = Part38
- ParticleEmitter40.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter40.LightEmission = 0.30000001192093
- ParticleEmitter40.LightInfluence = 1
- ParticleEmitter40.Texture = "rbxassetid://833874434"
- ParticleEmitter40.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
- ParticleEmitter40.ZOffset = -1
- ParticleEmitter40.Size = NumberSequence.new(0.89999997615814,0.89999997615814)
- ParticleEmitter40.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter40.LockedToPart = true
- ParticleEmitter40.Rate = 30
- ParticleEmitter40.RotSpeed = NumberRange.new(-100, 100)
- ParticleEmitter41.Name = "aura2"
- ParticleEmitter41.Parent = Part38
- ParticleEmitter41.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter41.Color = ColorSequence.new(Color3.new(0.333333, 0, 1),Color3.new(0.333333, 0, 1))
- ParticleEmitter41.LightEmission = 0.30000001192093
- ParticleEmitter41.LightInfluence = 1
- ParticleEmitter41.Texture = "rbxassetid://833874434"
- ParticleEmitter41.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
- ParticleEmitter41.ZOffset = -3
- ParticleEmitter41.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter41.LockedToPart = true
- ParticleEmitter41.Rate = 50
- ParticleEmitter41.RotSpeed = NumberRange.new(-100, 100)
- ParticleEmitter42.Name = "aura"
- ParticleEmitter42.Parent = Part38
- ParticleEmitter42.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter42.Color = ColorSequence.new(Color3.new(0, 0.666667, 1),Color3.new(0, 0.666667, 1))
- ParticleEmitter42.LightEmission = 0.30000001192093
- ParticleEmitter42.LightInfluence = 1
- ParticleEmitter42.Texture = "rbxassetid://833874434"
- ParticleEmitter42.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
- ParticleEmitter42.ZOffset = -2
- ParticleEmitter42.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter42.LockedToPart = true
- ParticleEmitter42.Rate = 50
- ParticleEmitter42.RotSpeed = NumberRange.new(-100, 100)
- Humanoid43.Parent = Model0
- Humanoid43.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
- Humanoid43.Health = 1337
- Humanoid43.HealthDisplayType = Enum.HumanoidHealthDisplayType.AlwaysOn
- Humanoid43.LeftLeg = Part33
- Humanoid43.MaxHealth = 1337
- Humanoid43.NameOcclusion = Enum.NameOcclusion.NoOcclusion
- Humanoid43.RightLeg = Part38
- Humanoid43.Torso = Part44
- Humanoid43.WalkSpeed = 10
- Humanoid43.maxHealth = 1337
- Part44.Name = "HumanoidRootPart"
- Part44.Parent = Model0
- Part44.CFrame = CFrame.new(-59.6656265, 3.00001097, 6.45593214, 0, 0, -1, 1.61394169e-35, 1, 0, 1, 1.61394169e-35, 0)
- Part44.Orientation = Vector3.new(0, -90, 0)
- Part44.Position = Vector3.new(-59.6656265, 3.00001097, 6.45593214)
- Part44.Rotation = Vector3.new(0, -90, 0)
- Part44.Color = Color3.new(0.905882, 0.905882, 0.92549)
- Part44.Transparency = 1
- Part44.Size = Vector3.new(2, 2, 1)
- Part44.BottomSurface = Enum.SurfaceType.Smooth
- Part44.BrickColor = BrickColor.new("Pearl")
- Part44.CanCollide = false
- Part44.LeftParamA = 0
- Part44.LeftParamB = 0
- Part44.RightParamA = 0
- Part44.RightParamB = 0
- Part44.TopSurface = Enum.SurfaceType.Smooth
- Part44.brickColor = BrickColor.new("Pearl")
- Part44.FormFactor = Enum.FormFactor.Symmetric
- Part44.formFactor = Enum.FormFactor.Symmetric
- Motor6D45.Name = "RootJoint"
- Motor6D45.Parent = Part44
- Motor6D45.MaxVelocity = 0.10000000149012
- Motor6D45.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D45.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D45.Part0 = Part44
- Motor6D45.Part1 = Part9
- Motor6D45.part1 = Part9
- BoolValue46.Name = "canAttack"
- BoolValue46.Parent = Model0
- Configuration47.Name = "Pack"
- Configuration47.Parent = Model0
- Script48.Name = "Sound"
- Script48.Parent = Model0
- table.insert(cors,sandbox(Script48,function()
- -- util
- function waitForChild(parent, childName)
- local child = parent:findFirstChild(childName)
- if child then return child end
- while true do
- child = parent.ChildAdded:wait()
- if child.Name==childName then return child end
- end
- end
- function newSound(id)
- local sound = Instance.new("Sound")
- sound.SoundId = id
- sound.archivable = false
- sound.Parent = script.Parent.Head
- return sound
- end
- -- declarations
- local sFallingDown = newSound("rbxasset://sounds/splat.wav")
- local sGettingUp = newSound("rbxasset://sounds/action_get_up.mp3")
- local sDied = newSound("rbxasset://sounds/uuhhh.mp3")
- local sFreeFalling = newSound("rbxasset://sounds/action_falling.mp3")
- local sJumping = newSound("rbxasset://sounds/action_jump.mp3")
- local sLanding = newSound("rbxasset://sounds/action_jump_land.mp3")
- local sSplash = newSound("rbxasset://sounds/impact_water.mp3")
- local sRunning = newSound("rbxasset://sounds/action_footsteps_plastic.mp3")
- sRunning.Looped = true
- local sSwimming = newSound("rbxasset://sounds/action_swim.mp3")
- sSwimming.Looped = true
- local sClimbing = newSound("rbxasset://sounds/action_footsteps_plastic.mp3")
- sClimbing.Looped = true
- local Figure = script.Parent
- local Head = waitForChild(Figure, "Head")
- local Humanoid = waitForChild(Figure, "Humanoid")
- local prevState = "None"
- -- functions
- function onDied()
- stopLoopedSounds()
- sDied:Play()
- end
- local fallCount = 0
- local fallSpeed = 0
- function onStateFall(state, sound)
- fallCount = fallCount + 1
- if state then
- sound.Volume = 0
- sound:Play()
- Spawn( function()
- local t = 0
- local thisFall = fallCount
- while t < 1.5 and fallCount == thisFall do
- local vol = math.max(t - 0.3 , 0)
- sound.Volume = vol
- wait(0.1)
- t = t + 0.1
- end
- end)
- else
- sound:Stop()
- end
- fallSpeed = math.max(fallSpeed, math.abs(Head.Velocity.Y))
- end
- function onStateNoStop(state, sound)
- if state then
- sound:Play()
- end
- end
- function onRunning(speed)
- sClimbing:Stop()
- sSwimming:Stop()
- if (prevState == "FreeFall" and fallSpeed > 0.1) then
- local vol = math.min(1.0, math.max(0.0, (fallSpeed - 50) / 110))
- sLanding.Volume = vol
- sLanding:Play()
- fallSpeed = 0
- end
- if speed>0.5 then
- sRunning:Play()
- sRunning.Pitch = 1.6
- else
- sRunning:Stop()
- end
- prevState = "Run"
- end
- function onSwimming(speed)
- if (prevState ~= "Swim" and speed > 0.1) then
- local volume = math.min(1.0, speed / 350)
- sSplash.Volume = volume
- sSplash:Play()
- prevState = "Swim"
- end
- sClimbing:Stop()
- sRunning:Stop()
- sSwimming.Pitch = 1.6
- sSwimming:Play()
- end
- function onClimbing(speed)
- sRunning:Stop()
- sSwimming:Stop()
- if speed>0.01 then
- sClimbing:Play()
- sClimbing.Pitch = speed / 5.5
- else
- sClimbing:Stop()
- end
- prevState = "Climb"
- end
- -- connect up
- function stopLoopedSounds()
- sRunning:Stop()
- sClimbing:Stop()
- sSwimming:Stop()
- end
- Humanoid.Died:connect(onDied)
- Humanoid.Running:connect(onRunning)
- Humanoid.Swimming:connect(onSwimming)
- Humanoid.Climbing:connect(onClimbing)
- Humanoid.Jumping:connect(function(state) onStateNoStop(state, sJumping) prevState = "Jump" end)
- Humanoid.GettingUp:connect(function(state) stopLoopedSounds() onStateNoStop(state, sGettingUp) prevState = "GetUp" end)
- Humanoid.FreeFalling:connect(function(state) stopLoopedSounds() onStateFall(state, sFreeFalling) prevState = "FreeFall" end)
- Humanoid.FallingDown:connect(function(state) stopLoopedSounds() onStateNoStop(state, sFallingDown) prevState = "Falling" end)
- Humanoid.StateChanged:connect(function(old, new)
- if not (new.Name == "Dead" or
- new.Name == "Running" or
- new.Name == "RunningNoPhysics" or
- new.Name == "Swimming" or
- new.Name == "Jumping" or
- new.Name == "GettingUp" or
- new.Name == "Freefall" or
- new.Name == "FallingDown") then
- stopLoopedSounds()
- end
- end)
- end))
- Script49.Name = "Deity"
- Script49.Parent = Model0
- table.insert(cors,sandbox(Script49,function()
- me=script.Parent
- Torso=me.Torso
- Humanoid=me.Humanoid
- wait()
- for _,v in pairs(script:children()) do
- if v.className=="Sound" then
- v:Stop()
- end
- end
- Charge,Maximum,ChargeAnims,Charging,OverE,EColor,EColor2=0,5000,{},false,0,"White","Black"
- CUR=1
- Abilities={}
- DCCOLS={BrickColor.new(EColor)}
- Contact = false
- Corrupt = false
- CanAnim=true
- DCCO1=function(Torso,ti)
- for i=1, ti do
- if Torso.Parent==nil then
- return
- end
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.CFrame=Torso.CFrame*CFrame.new(0,4,0)*CFrame.fromEulerAnglesXYZ(math.pi,0,0)
- p.Parent=workspace
- script.BlastMesh:clone().Parent=p
- coroutine.resume(coroutine.create(function(par) for lol=1, 9 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(1,.7,1) par.Transparency=lol*.1 par.CFrame=par.CFrame*CFrame.new(0,.3,0) wait() end par.Parent=nil end),p)
- wait(.05)
- end
- end
- DCCO2=function(Torso,ti)
- for o=1, ti do
- if Torso.Parent==nil then
- return
- end
- p2=Instance.new("Part")
- p2.Name="Blast"
- p2.TopSurface=0
- p2.BottomSurface=0
- p2.CanCollide=false
- p2.Anchored=true
- p2.BrickColor=BrickColor.new(EColor)
- p2.Size=Vector3.new(10,10,10)
- p2.formFactor="Symmetric"
- p2.CFrame=Torso.CFrame*CFrame.new(0,.25,0)
- p2.Parent=workspace
- m=Instance.new("BlockMesh")
- m.Parent=p2
- m.Name="BlastMesh"
- coroutine.resume(coroutine.create(function(part) for loll=1, 9 do part.BlastMesh.Scale=part.BlastMesh.Scale-Vector3.new(.09,.09,.09) part.Transparency=loll*.1 part.CFrame=part.CFrame*CFrame.new(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)*CFrame.fromEulerAnglesXYZ(math.random(-100,100)/100, math.random(-100,100)/100, math.random(-100,100)/100) wait() end part.Parent=nil end),p2)
- wait(.025)
- end
- end
- DCCO3=function(Torso,ti)
- for o=1, ti do
- if Torso.Parent==nil then
- return
- end
- p2=Instance.new("Part")
- p2.Name="Blast"
- p2.TopSurface=0
- p2.BottomSurface=0
- p2.CanCollide=false
- p2.Anchored=true
- p2.BrickColor=BrickColor.new(EColor)
- p2.Size=Vector3.new(3,3,3)
- p2.formFactor="Symmetric"
- p2.CFrame=Torso.CFrame*CFrame.new(0,.25,0)
- p2.Parent=workspace
- m=Instance.new("BlockMesh")
- m.Parent=p2
- m.Name="BlastMesh"
- coroutine.resume(coroutine.create(function(part,dir) for loll=1, 15 do part.BlastMesh.Scale=part.BlastMesh.Scale-Vector3.new(.09,.09,.09) part.Transparency=loll/20 part.CFrame=part.CFrame*CFrame.new(dir)*CFrame.fromEulerAnglesXYZ(math.random(-100,100)/100, math.random(-100,100)/100, math.random(-100,100)/100) wait() end part.Parent=nil end),p2,Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10))
- wait(.025)
- end
- end
- ----Corrupt State Area--------------------------------------------------------------------------------------------------------
- ----Corrupt State Area--------------------------------------------------------------------------------------------------------
- ----Corrupt State Area--------------------------------------------------------------------------------------------------------
- --this replaces Overcharging.
- --it still owns everyone around you in one shot (breaking them).
- LimitBreak=function(part)
- e=Instance.new("Part")
- e.TopSurface=0
- e.BottomSurface=0
- e.Anchored=true
- e.CanCollide=false
- e.formFactor="Plate"
- e.Size=Vector3.new(1,.4,1)
- e.CFrame=CFrame.new(part.Parent.Torso.CFrame.p)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- e.Name="Effect"
- e.BrickColor=BrickColor.new(EColor2)
- r=script.RingMesh:clone()
- r.Parent=e
- e.Parent=Torso.Parent
- coroutine.resume(coroutine.create(function(mesh) for l=1, 20 do r.Parent.Transparency=l/20 r.Scale=r.Scale+Vector3.new(25/l,25/l,.02) wait() end r.Parent.Parent=nil end),r)
- PWN={}
- for _,v in pairs(workspace:children()) do
- if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
- if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
- if v~=me and (v.Torso.Position-me.Torso.Position).magnitude<=40 then
- table.insert(PWN,v.Torso)
- end
- end
- end
- end
- wait(.45)
- for _,l in pairs(PWN) do
- v=Instance.new("BodyVelocity")
- v.P=3000
- v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- v.velocity=(l.Position-me.Torso.Position).unit*30+Vector3.new(0,50,0)
- v.Parent=l
- local ra=Instance.new("BodyAngularVelocity")
- ra.P=3000
- ra.maxTorque=Vector3.new(5000,5000,5000)*50000
- ra.angularvelocity=Vector3.new(math.random(-20,20),math.random(-30,30),math.random(-20,20))
- ra.Parent=l
- game:GetService("Debris"):AddItem(v,.2)
- game:GetService("Debris"):AddItem(ra,.2)
- end
- wait(.25)
- for _,v in pairs(PWN) do
- coroutine.resume(coroutine.create(Break),v)
- end
- end
- doStartup=function(mouse)
- local anim=Humanoid:LoadAnimation(script.darkcorruptstartanim1)
- anim:Play()
- wait(.25)
- for darkowns=1, 17 do
- p=Instance.new("Part")
- p.TopSurface=0
- p.BottomSurface=0
- p.Anchored=true
- p.CanCollide=false
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.formFactor="Symmetric"
- p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
- p.Parent=me
- Instance.new("BlockMesh").Parent=p
- coroutine.resume(coroutine.create(function(par,int) for i=1, 13 do par.Transparency=i/13 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/50,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns)
- wait(.05)
- end
- coroutine.resume(coroutine.create(LimitBreak),Torso)
- Corrupt=true
- pt=Instance.new("BodyPosition")
- pt.P=5000
- pt.D=700
- pt.maxForce=Vector3.new(0,math.huge,0)
- pt.position=Torso.Position+Vector3.new(0,4,0)
- pt.Parent=Torso
- wait(1.2)
- local CurElapsed=0
- CurrentHealth=Humanoid.Health
- LastHealth=CurrentHealth
- local CANIM="idle"
- anim:Stop()
- anim:Remove()
- local animloaded=Humanoid:LoadAnimation(script.darkcorruptidleanim)
- animloaded:Play()
- local humanoidFunction=Humanoid.Changed:connect(function(Change)
- if Change=="Health" then
- local Dif=LastHealth-Humanoid.Health
- if Dif>0 then
- Humanoid.Health=Humanoid.Health+Dif/2
- print("DAMAGE HALVED.")
- else
- Humanoid.Health=LastHealth
- print("NOHEALING")
- end
- CurrentHealth=Humanoid.Health
- LastHealth=CurrentHealth
- end
- end)
- local Tilt=Instance.new("BodyGyro")
- Tilt.P=80000
- Tilt.D=3000
- Tilt.maxTorque=Vector3.new(500000000000000000000000,500000000000000000000000,500000000000000000000000)*50000
- Tilt.cframe=Torso.CFrame
- Tilt.Parent=Torso
- local Cam=workspace.CurrentCamera
- vPush=Instance.new("BodyVelocity")
- vPush.P=3000
- vPush.maxForce=Vector3.new(math.huge,0,math.huge)
- vPush.velocity=Vector3.new(0,0,0)
- vPush.Parent=Torso
- coroutine.resume(coroutine.create(function()
- while Corrupt==true do
- wait(.085)
- if vPush.P>0 then
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.CFrame=CFrame.new(Torso.Position)-Vector3.new(0,6,0)
- p.Parent=workspace
- script.BlastMesh:clone().Parent=p
- p.BlastMesh.Scale=Vector3.new(2,1,2)
- coroutine.resume(coroutine.create(function(par,int) for lol=1, 10 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.2+int/5,int/5,.2+int/5) if int==1.2 then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0,.9,0) end par.Transparency=lol/10 par.CFrame=par.CFrame*CFrame.fromEulerAnglesXYZ(0,math.pi/20*lol,0) wait() end par.Parent=nil end),p,.5)
- p=Instance.new("Part")
- p.TopSurface=0
- p.BottomSurface=0
- p.Anchored=true
- p.CanCollide=false
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.formFactor="Symmetric"
- p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)
- p.Parent=me
- Instance.new("BlockMesh").Parent=p
- coroutine.resume(coroutine.create(function(par,int) for i=1, 13 do par.Transparency=i/13 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/50,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,Charge/160)
- p=Instance.new("Part")
- p.TopSurface=0
- p.BottomSurface=0
- p.Anchored=true
- p.CanCollide=false
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.formFactor="Symmetric"
- p.CFrame=me["Left Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)
- p.Parent=me
- Instance.new("BlockMesh").Parent=p
- coroutine.resume(coroutine.create(function(par,int) for i=1, 13 do par.Transparency=i/13 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/50,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,Charge/160)
- end
- end
- end))
- while Charge>0 do
- Vel=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)
- local Vell=(Vel-Vector3.new(0,0,0)).magnitude
- if CanAnim==true then
- if Vell>=10 and Vell<120 then
- if toload~="move" then
- toload="move"
- animloaded:Stop()
- animloaded:Remove()
- animloaded=Humanoid:LoadAnimation(script.darkcorruptmoveanim)
- animloaded:Play()
- Tilt.Parent=Torso
- vPush.P=3000
- pt.maxForce=Vector3.new(0,math.huge,0)
- vPush.Parent=Torso
- Tilt.maxTorque=Vector3.new(500000000000000000000000,500000000000000000000000,500000000000000000000000)*50000
- end
- else
- if toload~="idle" then
- toload="idle"
- animloaded:Stop()
- animloaded:Remove()
- animloaded=Humanoid:LoadAnimation(script.darkcorruptidleanim)
- animloaded:Play()
- Tilt.Parent=Torso
- vPush.P=3000
- pt.maxForce=Vector3.new(0,math.huge,0)
- vPush.Parent=Torso
- Tilt.maxTorque=Vector3.new(500000000000000000000000,500000000000000000000000,500000000000000000000000)*50000
- end
- end
- else
- toload="nil"
- animloaded:Stop()
- animloaded:Remove()
- Tilt.cframe=CFrame.new(Torso.Position,Torso.Position+Vector3.new(Torso.CFrame.lookVector.x,0,Torso.CFrame.lookVector.z))
- print(">_>")
- vPush.P=0
- vPush.Parent=nil
- pt.maxForce=Vector3.new(0,0,0)
- wait(.5)
- end
- local look=Cam.CoordinateFrame
- Tilt.cframe=look
- local mmmm=Vector3.new(Torso.CFrame.lookVector.x,0,Torso.CFrame.lookVector.z)
- local intt=((mouse.ViewSizeY-mouse.Y)/10+.5)/170
- --CFrame.new(Torso.Position,Torso.Position+mmmm*30)*CFrame.fromEulerAnglesXYZ(-math.pi/10,0,0)
- if toload=="idle" then
- Tilt.cframe=Tilt.cframe*CFrame.fromEulerAnglesXYZ(-math.pi/14 - intt,0,0)
- else
- Tilt.cframe=Tilt.cframe*CFrame.fromEulerAnglesXYZ(-math.pi/6 - intt,0,0)
- end
- local vii=Torso.CFrame.lookVector*((mouse.ViewSizeY-mouse.Y)/5-20)
- vPush.velocity=Vector3.new(vii.x*1.3,0,vii.z*1.3)
- wait()
- end
- animloaded:Stop()
- animloaded:Remove()
- humanoidFunction:disconnect()
- anim=Humanoid:LoadAnimation(script.darkcorruptstartanim2)
- anim:Play()
- pt.position=Torso.Position-Vector3.new(0,4,0)
- pt.Parent=nil
- Tilt.Parent=nil
- vPush.Parent=nil
- Corrupt=false
- wait(2)
- anim:Stop()
- anim:Remove()
- p.Parent=nil
- end
- ----Corrupt State Area--------------------------------------------------------------------------------------------------------
- ----Corrupt State Area--------------------------------------------------------------------------------------------------------
- ----Corrupt State Area--------------------------------------------------------------------------------------------------------
- SHAKE2=function(CHAR)
- if game.Players:GetPlayerFromCharacter(CHAR)~=nil then
- s=script.Shake2:clone()
- s.Disabled=false
- s.Parent=me.Pack
- end
- end
- SHAKE3=function(CHAR)
- if game.Players:GetPlayerFromCharacter(CHAR)~=nil then
- s=script.Shake3:clone()
- s.Disabled=false
- s.Parent=me.Pack
- end
- end
- DCContact=function(hit,Tors)
- if hit.Parent==nil then
- return
- end
- h=hit.Parent:FindFirstChild("Humanoid")
- t=hit.Parent:FindFirstChild("Torso")
- if h~=nil and t~=nil then
- print(Contact)
- if Contact==false then
- Contact=true
- print("CONTINUE!")
- end
- if h.Health>0 then
- if h.Parent==me then
- return
- end
- h:TakeDamage(5)
- vl=Instance.new("BodyVelocity")
- vl.P=4000
- vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- vl.velocity=Tors.BodyVelocity.velocity/1.1+Vector3.new(0,18,0)
- vl.Parent=t
- game:GetService("Debris"):AddItem(vl,.2)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*5000
- rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+Tors.RotVelocity*1.1
- rl.Parent=t
- game:GetService("Debris"):AddItem(rl,.2)
- end
- end
- end
- GBConnect=function(hit,vel)
- if hit.Parent==nil then
- return
- end
- h=hit.Parent:FindFirstChild("Humanoid")
- t=hit.Parent:FindFirstChild("Torso")
- if h~=nil and t~=nil then
- if h.Health>0 then
- if h.Parent==me then
- return
- end
- h:TakeDamage(El/13)
- vl=Instance.new("BodyVelocity")
- vl.P=4000
- vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- vl.velocity=vel*(5*El*2)+Vector3.new(0,7,0)
- vl.Parent=t
- game:GetService("Debris"):AddItem(vl,.2)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*5000
- rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
- rl.Parent=t
- game:GetService("Debris"):AddItem(rl,.2)
- end
- end
- end
- DBExplode=function(D)
- pf=Instance.new("Part")
- pf.TopSurface=0
- pf.BottomSurface=0
- pf.Anchored=false
- pf.CanCollide=false
- pf.Shape="Ball"
- pf.BrickColor=BrickColor.new(EColor2)
- pf.Size=Vector3.new(4,4,4)
- pf.formFactor="Symmetric"
- pf.CFrame=D.CFrame
- pf.Parent=workspace
- vp=Instance.new("BodyPosition")
- vp.P=4000
- vp.maxForce=Vector3.new(50000,50000,50000)*5000000000
- vp.position=pf.Position
- vp.Parent=pf
- pf.Touched:connect(function(hit)
- if hit.Parent==nil then
- return
- end
- h=hit.Parent:FindFirstChild("Humanoid")
- t=hit.Parent:FindFirstChild("Torso")
- if h~=nil and t~=nil then
- if h.Parent==me then
- return
- end
- if Corrupt==false then
- h:TakeDamage(5)
- else
- h:TakeDamage(6)
- end
- vl=Instance.new("BodyVelocity")
- vl.P=4500
- vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- vl.velocity=(pf.Position-t.Position).unit*30+Vector3.new(0,10,0)
- vl.Parent=t
- game:GetService("Debris"):AddItem(vl,.2)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
- rl.Parent=t
- game:GetService("Debris"):AddItem(rl,.2)
- end
- end)
- c=pf.CFrame
- r=Instance.new("Part")
- r.Anchored=true
- r.Name="Ring"
- r.CanCollide=false
- r.TopSurface=0
- r.BottomSurface=0
- r.CFrame=CFrame.new(c.p)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- r.Parent=workspace
- script.RingMesh:clone().Parent=r
- r.RingMesh.Scale=Vector3.new(3,3,3)
- r.BrickColor=BrickColor.new(EColor)
- coroutine.resume(coroutine.create(function(par) for i=1, 14 do par.Transparency=i/14 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(5,5,.1) wait() end par.Parent=nil end),r)
- r=Instance.new("Part")
- r.Anchored=true
- r.Name="Ring"
- r.CanCollide=false
- r.TopSurface=0
- r.BottomSurface=0
- r.CFrame=CFrame.new(c.p)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- r.Parent=workspace
- script.RingMesh:clone().Parent=r
- r.RingMesh.Scale=Vector3.new(3,3,3)
- r.BrickColor=BrickColor.new(EColor)
- coroutine.resume(coroutine.create(function(par) for i=1, 7 do par.Transparency=i/7 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(12,12,.3) wait() end par.Parent=nil end),r)
- D.Parent=nil
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.CFrame=r.CFrame*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)
- p.CFrame=p.CFrame-Vector3.new(0,5,0)
- p.Parent=workspace
- script.BlastMesh:clone().Parent=p
- p.BlastMesh.Scale=Vector3.new(5,5,1)
- coroutine.resume(coroutine.create(function(par) for lol=1, 17 do if Corrupt==false then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(1,1,1) else par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(2,1.3,2) end par.Transparency=lol/17 par.CFrame=par.CFrame*CFrame.new(0,.1,0) wait() end par.Parent=nil end),p)
- s=script.DBExplode:clone()
- s.Parent=pf
- s:Play()
- for grow=1, 15 do
- if Corrupt==false then
- pf.Size=pf.Size+Vector3.new(3,3,3)
- else
- pf.Size=pf.Size+Vector3.new(4,4,4)
- end
- pf.Transparency=grow/15
- pf.CFrame=c
- wait()
- end
- pf.Parent=nil
- end
- DBHit=function(hit,DB)
- if hit.Parent==nil then
- return
- end
- h=hit.Parent:FindFirstChild("Humanoid")
- t=hit.Parent:FindFirstChild("Torso")
- if h~=nil and t~=nil then
- if h.Parent==me then
- return
- end
- h:TakeDamage(5)
- vl=Instance.new("BodyVelocity")
- vl.P=4500
- vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- vl.velocity=DB.BodyVelocity.velocity*1.05+Vector3.new(0,3,0)
- vl.Parent=t
- game:GetService("Debris"):AddItem(vl,.2)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
- rl.Parent=t
- game:GetService("Debris"):AddItem(rl,.2)
- else
- if hit.CanCollide==false then
- return
- end
- DBCon:disconnect()
- DBExplode(DB)
- end
- end
- PunchHit=function(hit)
- if hit.Parent==nil then
- return
- end
- h=hit.Parent:FindFirstChild("Humanoid")
- t=hit.Parent:FindFirstChild("Torso")
- if h~=nil and t~=nil then
- if h.Parent==me then
- return
- end
- PAWNSH:disconnect()
- if Corrupt==false then
- h:TakeDamage(40)
- vl=Instance.new("BodyVelocity")
- vl.P=4500
- vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- vl.velocity=me.Torso.Velocity/2+Vector3.new(0,15,0)
- vl.Parent=t
- game:GetService("Debris"):AddItem(vl,.4)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
- rl.Parent=t
- game:GetService("Debris"):AddItem(rl,.5)
- else
- h:TakeDamage(75)
- vl=Instance.new("BodyVelocity")
- vl.P=4500
- vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- vl.velocity=me.Torso.Velocity/1.5+Vector3.new(0,10,0)
- vl.Parent=t
- game:GetService("Debris"):AddItem(vl,.3)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))*2
- rl.Parent=t
- game:GetService("Debris"):AddItem(rl,.5)
- end
- end
- end
- SmashHit=function(hit)
- if hit.Parent==nil then
- return
- end
- h=hit.Parent:FindFirstChild("Humanoid")
- t=hit.Parent:FindFirstChild("Torso")
- if h~=nil and t~=nil then
- if h.Parent==me then
- return
- end
- s=script.DSHit:clone()
- s.Parent=hit
- s:Play()
- game:GetService("Debris"):AddItem(s,2)
- LOLOHAX:disconnect()
- h:TakeDamage(40)
- vl=Instance.new("BodyVelocity")
- vl.P=4500
- vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- vl.velocity=me.Torso.Velocity/2+Vector3.new(0,2,0)+me.Torso.CFrame.lookVector*20
- vl.Parent=t
- game:GetService("Debris"):AddItem(vl,.2)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
- rl.Parent=t
- game:GetService("Debris"):AddItem(rl,.2)
- end
- end
- Land=function(hit)
- if hit.Parent==nil or hit.CanCollide==false then
- return
- end
- if hit.Parent:FindFirstChild("Humanoid")==true then
- return
- end
- nCont:disconnect()
- Contact=true
- PWN={}
- for _,v in pairs(workspace:children()) do
- if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
- if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
- if v~=me and (v.Torso.Position-me.Torso.Position).magnitude<=50 then
- table.insert(PWN,v.Torso)
- end
- end
- end
- end
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.CFrame=CFrame.new(Torso.Parent.Head.CFrame.p)-Vector3.new(0,4,0)
- p.Parent=workspace
- script.BlastMesh:clone().Parent=p
- p.BlastMesh.Scale=Vector3.new(2,3,2)
- if Corrupt==false then
- coroutine.resume(coroutine.create(function(par) for lol=1, 10 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(2,.4,2) par.Transparency=lol*.1 par.CFrame=par.CFrame*CFrame.new(0,.2,0) wait() end par.Parent=nil end),p)
- else
- coroutine.resume(coroutine.create(function(par) for lol=1, 10 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(4,.7,4) par.Transparency=lol*.1 par.CFrame=par.CFrame*CFrame.new(0,.35,0) wait() end par.Parent=nil end),p)
- end
- for _,t in pairs(PWN) do
- if Corrupt==false then
- Mag=(me.Torso.Position-t.Position).magnitude/10
- t.Parent.Humanoid:TakeDamage(2)
- else
- Mag=(me.Torso.Position-t.Position).magnitude/7
- t.Parent.Humanoid:TakeDamage(10)
- end
- vl=Instance.new("BodyVelocity")
- vl.P=4000
- vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- vl.velocity=Vector3.new(0,math.random(40,60),0)+(t.Position-me.Torso.Position).unit*(30/Mag)
- vl.Parent=t
- game:GetService("Debris"):AddItem(vl,.2)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*5000
- rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
- rl.Parent=t
- game:GetService("Debris"):AddItem(rl,.2)
- end
- end
- doArms=function(Com)
- if Com==true then
- Torso=me.Torso
- RA=Torso:FindFirstChild("Right Shoulder")
- if RA==nil then
- return
- end
- LA=Torso:FindFirstChild("Left Shoulder")
- if LA==nil then
- return
- end
- RightS=Instance.new("Motor")
- RightS.Name="Right_Shoulder"
- RightS.C0=RA.C0
- RightS.C1=RA.C1
- RightS.Part0=RA.Part0
- RightS.Part1=RA.Part1
- RightS.MaxVelocity=.35
- RightS.Parent=Torso
- LeftS=Instance.new("Motor")
- LeftS.Name="Left_Shoulder"
- LeftS.C0=LA.C0
- LeftS.C1=LA.C1
- LeftS.Part0=LA.Part0
- LeftS.Part1=LA.Part1
- LeftS.MaxVelocity=.35
- LeftS.Parent=Torso
- RA.Parent=nil
- LA.Parent=nil
- RA.Part1=nil
- LA.Part1=nil
- else
- RightS.Part1=nil
- LeftS.Part1=nil
- RightS.Parent=nil
- LeftS.Parent=nil
- RA.Parent=Torso
- LA.Parent=Torso
- RA.Part1=nil
- LA.Part1=nil
- RA.Part1=me["Right Arm"]
- LA.Part1=me["Left Arm"]
- wait(.2)
- RA.Part0=Torso
- LA.Part0=Torso
- RA.Part1=me["Right Arm"]
- LA.Part1=me["Left Arm"]
- end
- end
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --these moves require extreme power. Only jj363 can harness enough dark energy to perform these.
- SPIKEHIT=function(hit,p,BOOST)
- if hit.Parent==nil then
- return
- end
- h=hit.Parent:FindFirstChild("Humanoid")
- if h~=nil and hit.Parent~=me and hit.Parent:FindFirstChild("Torso")~=nil then
- if h.Health>0 then
- h:TakeDamage(3*BOOST)
- vl=Instance.new("BodyVelocity")
- vl.P=4000
- vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- vl.velocity=Vector3.new(0,(BOOST*20),0)+(hit.Parent.Torso.Position-p).unit*(50/BOOST)
- vl.Parent=hit.Parent.Torso
- game:GetService("Debris"):AddItem(vl,.2)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*5000
- rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
- rl.Parent=hit.Parent.Torso
- game:GetService("Debris"):AddItem(rl,.2)
- ss=script.DCHHIT:clone()
- ss.Parent=hit.Parent.Torso
- ss:Play()
- end
- end
- end
- MakeSpike=function(Location,PO,b)
- Spike=Instance.new("Part")
- Spike.BrickColor=BrickColor.new(EColor)
- Spike.CanCollide=false
- script.SpikeMesh:clone().Parent=Spike
- Spike.formFactor="Symmetric"
- Spike.Size=Vector3.new(5+b*3,11+b*4,5+b*3)
- Spike.CFrame=CFrame.new(Location-Vector3.new(0,3*b*1.5,0))
- Spike.SpikeMesh.Scale=(Spike.SpikeMesh.Scale*(b/2))*1.5
- v=Instance.new("BodyPosition")
- v.P=4000
- v.maxForce=Vector3.new(5000,math.huge,5000)
- v.position=Spike.Position+Vector3.new(0,28+b*18,0)
- v.Parent=Spike
- Spike.Parent=workspace
- coroutine.resume(coroutine.create(function(BANANA) for i=1, 12 do BANANA.SpikeMesh.Scale=BANANA.SpikeMesh.Scale-Vector3.new(.6,0,.6) BANANA.Transparency=i/12 wait() end BANANA.Parent=nil end),Spike)
- Spike.Touched:connect(function(hit) SPIKEHIT(hit,PO,b) end)
- ss=script.LOL:clone()
- ss.Pitch=.8/b
- ss.Parent=Spike
- ss:Play()
- end
- DarkChaser=function()
- Torso=me:FindFirstChild("Torso")
- if Torso.Velocity.y>5 or Torso.Velocity.y<-5 then
- return
- end
- if Charge>=80 then
- Charge=Charge-80
- else
- return
- end
- Pos=Torso.Position
- Dir=Torso.CFrame.lookVector
- Start=Torso.Position+Dir*7
- b=1
- for t=1, 12 do
- for i=1, 12 do
- if t==12 then
- b=2
- end
- coroutine.resume(coroutine.create(MakeSpike),Pos+Vector3.new(math.cos(i)*(6*t),0,math.sin(i)*(6*t)),Pos,b)
- end
- wait(.1)
- end
- end
- DarkSmash=function()
- if Charge>=70 then
- Charge=Charge-70
- else
- e=Instance.new("Part")
- e.TopSurface=0
- e.BottomSurface=0
- e.CanCollide=false
- e.Anchored=true
- e.Shape="Ball"
- e.Size=Vector3.new(1,1,1)
- e.CFrame=Torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- e.Name="Effect"
- e.BrickColor=BrickColor.new(EColor2)
- e.Parent=Torso.Parent
- m=script.BlastMesh:clone()
- m.Scale=Vector3.new(2,2,.1)
- m.Parent=e
- coroutine.resume(coroutine.create(function(m) for i=1, 5 do m.Parent.CFrame=m.Parent.CFrame*CFrame.new(0,.7,0) m.Scale=m.Scale+Vector3.new(1,.3,1) m.Parent.Transparency=i/6 wait() end m.Parent.Parent=nil end),e.BlastMesh)
- pu=Instance.new("BodyVelocity")
- pu.maxForce=Vector3.new(math.huge,0,math.huge)
- pu.velocity=Torso.CFrame.lookVector*3
- pu.Parent=Torso
- wait(.1)
- pu.Parent=nil
- return
- end
- e=Instance.new("Part")
- e.TopSurface=0
- e.BottomSurface=0
- e.CanCollide=false
- e.Anchored=true
- e.Shape="Ball"
- e.Size=Vector3.new(1,1,1)
- e.CFrame=Torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)+Torso.CFrame.lookVector*3
- e.Name="Effect"
- e.BrickColor=BrickColor.new(EColor2)
- e.Parent=Torso.Parent
- m=script.BlastMesh:clone()
- m.Scale=Vector3.new(2,2,.1)
- m.Parent=e
- coroutine.resume(coroutine.create(function(m) for i=1, 6 do m.Parent.CFrame=m.Parent.CFrame*CFrame.new(0,.8,0) m.Scale=m.Scale+Vector3.new(1.4,.35,1.4) m.Parent.Transparency=i/6 wait() end m.Parent.Parent=nil end),e.BlastMesh)
- pu=Instance.new("BodyVelocity")
- pu.P=9000
- pu.maxForce=Vector3.new(math.huge,0,math.huge)
- pu.velocity=Torso.CFrame.lookVector*70
- pu.Parent=Torso
- g=Instance.new("BodyGyro")
- g.Parent=Torso
- for forward=1, 6 do
- for _,v in pairs(Torso.Parent:children()) do
- if v.className=="Part" and v.Name~="Effect" then
- n=v:clone()
- n.archivable=true
- n.Anchored=true
- n.CanCollide=false
- n.Name="TRAILER"
- n.BrickColor=BrickColor.new(EColor)
- n.CFrame=n.CFrame+Torso.CFrame.lookVector*(2+forward)
- n.Parent=workspace
- coroutine.resume(coroutine.create(function(ne,m) for i=1, m do ne.Transparency=i/m wait() end ne.Parent=nil end),n,5+forward)
- elseif v.className=="Hat" then
- n=v.Handle:clone()
- n.archivable=true
- n.Anchored=true
- n.CanCollide=false
- n.Mesh.VertexColor=Vector3.new(0,0,0)
- n.Name="TRAILER"
- n.BrickColor=BrickColor.new(EColor)
- n.CFrame=n.CFrame+Torso.CFrame.lookVector*(2+forward)
- n.Parent=workspace
- coroutine.resume(coroutine.create(function(ne,m) for i=1, m do ne.Transparency=i/m wait() end ne.Parent=nil end),n,5+forward)
- end
- end
- end
- sgb=script.DS:clone()
- sgb.Parent=Torso
- sgb:Play()
- Dist=Torso.CFrame.lookVector*12.5
- Pos=Torso.Position+Dist
- r=Instance.new("Part")
- r.Anchored=true
- r.Name="Ring"
- r.CanCollide=false
- r.TopSurface=0
- r.BottomSurface=0
- r.CFrame=Torso.CFrame*CFrame.fromEulerAnglesXYZ(0,0,0)+Dist
- r.Parent=workspace
- script.RingMesh:clone().Parent=r
- r.RingMesh.Scale=Vector3.new(3,3,3)
- r.BrickColor=BrickColor.new(EColor)
- coroutine.resume(coroutine.create(function(par) for i=1, 8 do par.Transparency=i/8 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(1.5,1.5,.3) par.CFrame=par.CFrame*CFrame.new(0,0,.4) wait() end par.Parent=nil end),r)
- e=Instance.new("Part")
- e.TopSurface=0
- e.BottomSurface=0
- e.CanCollide=false
- e.Anchored=true
- e.Shape="Ball"
- e.Size=Vector3.new(1,1,1)
- e.CFrame=Torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)+Dist
- e.Name="Effect"
- e.BrickColor=BrickColor.new(EColor2)
- e.Parent=Torso.Parent
- m=script.BlastMesh:clone()
- m.Scale=Vector3.new(2,2,.1)
- m.Parent=e
- coroutine.resume(coroutine.create(function(m) for i=1, 5 do m.Parent.CFrame=m.Parent.CFrame*CFrame.new(0,.3,0) m.Scale=m.Scale+Vector3.new(1,.6,1) m.Parent.Transparency=i/5 wait() end m.Parent.Parent=nil end),e.BlastMesh)
- PWN={}
- for _,v in pairs(workspace:children()) do
- if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil and v~=Torso.Parent and v:FindFirstChild("Torso")~=nil then
- if (v.Torso.Position-Torso.Position).magnitude<=13 then
- vv=Instance.new("BodyVelocity")
- vv.P=800
- vv.maxForce=Vector3.new(5000000,0,5000000)
- vv.velocity=(v.Torso.Position-Torso.Position).unit*2+Torso.CFrame.lookVector*4
- vv.Parent=v.Torso
- game:GetService("Debris"):AddItem(vv,.2)
- vv=Instance.new("BodyAngularVelocity")
- vv.P=400
- vv.maxTorque=Vector3.new(50000,50000,50000)
- vv.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
- vv.Parent=v.Torso
- game:GetService("Debris"):AddItem(vv,.2)
- v.Humanoid:TakeDamage(3)
- table.insert(PWN,v)
- end
- end
- end
- for _,v in pairs(PWN) do
- if game.Players:GetPlayerFromCharacter(v)~=nil then
- s=script.Shake4:clone()
- s.Disabled=false
- s.Parent=v
- end
- end
- s=script.Shake4:clone()
- s.Disabled=false
- s.Parent=Torso.Parent
- connector=Instance.new("Part")
- connector.Name="HITSPACE"
- connector.formFactor="Symmetric"
- connector.Size=Vector3.new(4,5,2)
- connector.CanCollide=false
- connector.CFrame=Torso.CFrame
- connector.Transparency=1
- connector.Parent=workspace
- v=Instance.new("BodyVelocity")
- v.P=9000
- v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- v.velocity=Torso.CFrame.lookVector*100
- v.Parent=connector
- LOLOHAX=connector.Touched:connect(function(hit) SmashHit(hit) end)
- game:GetService("Debris"):AddItem(connector,.2)
- wait(.125)
- r=Instance.new("Part")
- r.Anchored=true
- r.Name="Ring"
- r.CanCollide=false
- r.TopSurface=0
- r.BottomSurface=0
- r.CFrame=Torso.CFrame*CFrame.fromEulerAnglesXYZ(0,0,0)+Dist-Torso.CFrame.lookVector*3
- r.Parent=workspace
- script.RingMesh:clone().Parent=r
- r.RingMesh.Scale=Vector3.new(3,3,3)
- r.BrickColor=BrickColor.new(EColor)
- coroutine.resume(coroutine.create(function(par) for i=1, 7 do par.Transparency=i/7 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(1.3,1.3,.1) par.CFrame=par.CFrame*CFrame.new(0,0,.3) wait() end par.Parent=nil end),r)
- e=Instance.new("Part")
- e.TopSurface=0
- e.BottomSurface=0
- e.CanCollide=false
- e.Anchored=true
- e.Shape="Ball"
- e.Size=Vector3.new(1,1,1)
- e.CFrame=Torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- e.Name="Effect"
- e.BrickColor=BrickColor.new(EColor2)
- e.Parent=Torso.Parent
- m=script.BlastMesh:clone()
- m.Scale=Vector3.new(1,1,.1)
- m.Parent=e
- coroutine.resume(coroutine.create(function(m) for i=1, 7 do m.Parent.CFrame=m.Parent.CFrame*CFrame.new(0,1.2,0) m.Scale=m.Scale+Vector3.new(1.2,.1,1.2) m.Parent.Transparency=i/7 wait() end m.Parent.Parent=nil end),e.BlastMesh)
- pu.Parent=nil
- wait(.2)
- g.Parent=nil
- sgb.Parent=nil
- end
- DPunisherGrab=function(hit)
- if hit.Parent==nil then
- return
- end
- h=hit.Parent:FindFirstChild("Humanoid")
- t=hit.Parent:FindFirstChild("Torso")
- print(hit.Parent.Name)
- if h~=nil and t~=nil then
- if h.Health<1 or h.Parent==me then
- return
- end
- me.Torso.BodyVelocityM.velocity=Vector3.new(0,0,0)
- Grabbed=t
- DPG:disconnect()
- end
- end
- DarkDPunisher=function()
- Torso=me.Torso
- RA=Torso:FindFirstChild("Right Shoulder")
- if RA==nil then
- return
- end
- LA=Torso:FindFirstChild("Left Shoulder")
- if LA==nil then
- return
- end
- doArms(true)
- RightS.MaxVelocity=.3
- LeftS.MaxVelocity=.2
- RightS.DesiredAngle=-1.5
- LeftS.DesiredAngle=-.6
- wait(.5)
- RightS.MaxVelocity=1
- LeftS.MaxVelocity=.4
- RightS.DesiredAngle=1.6
- LeftS.DesiredAngle=1.2
- v=Instance.new("BodyVelocity")
- v.Name="BodyVelocityM"
- v.P=3000
- v.maxForce=Vector3.new(math.huge,50000000000000000000,math.huge)
- v.velocity=Torso.CFrame.lookVector*160
- if Corrupt==true then v.velocity=Torso.CFrame.lookVector*200 end
- v.Parent=Torso
- g=Instance.new("BodyGyro")
- g.P=95000
- g.D=100
- g.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
- g.cframe=Torso.CFrame
- g.Parent=Torso
- Grabbed=nil
- DidGrab=false
- sa=Instance.new("Part")
- sa.Name="StrikeArea"
- sa.TopSurface=0
- sa.BottomSurface=0
- sa.CFrame=Torso.Parent.Head.CFrame
- sa.formFactor="Symmetric"
- sa.Transparency=1
- sa.CanCollide=false
- sa.Size=Vector3.new(2,2,2)
- sa.Parent=me
- ww=Instance.new("Weld")
- ww.Part0=me["Right Arm"]
- ww.Part1=sa
- ww.Parent=sa
- ww.C0=CFrame.new(0,-1.3,0)
- DPG=sa.Touched:connect(DPunisherGrab)
- for i=1, 7 do
- if Grabbed~=nil then
- DidGrab=true
- break
- end
- wait()
- end
- if DidGrab==false or Charge<60 then
- print("No grab.")
- v.Parent=nil
- else
- Charge=Charge-60
- v.Parent=nil
- pt=Instance.new("BodyPosition")
- pt.P=5000
- pt.maxForce=Vector3.new(0,500000000000000000000000000,0)
- pt.position=Torso.Position
- pt.Parent=Torso
- game:GetService("Debris"):AddItem(pt,4)
- Torso.Neck.C0=Torso.Neck.C0*CFrame.fromEulerAnglesXYZ(-math.pi/7,0,0)
- g.cframe=CFrame.new(Torso.Position,Torso.Position+Torso.CFrame.lookVector*10)
- print(Grabbed)
- w=Instance.new("Weld")
- w.Part0=Torso
- w.Part1=Grabbed
- w.C0=CFrame.new(1.5,1.75,-1.45)*CFrame.fromEulerAnglesXYZ(math.pi/6,math.pi,0)
- w.Parent=me["Torso"]
- RightS.MaxVelocity=.2
- RightS.CurrentAngle=1.6
- RightS.DesiredAngle=2.4
- LeftS.DesiredAngle=.2
- wait(.25)
- s=script.DBC:clone()
- s.Pitch=.375
- s.Parent=Torso
- s:Play()
- for darkowns=1, 12 do
- s.Pitch=s.Pitch+.075
- Grabbed.Parent.Humanoid.Health=Grabbed.Parent.Humanoid.Health-1.5
- p=Instance.new("Part")
- p.TopSurface=0
- p.BottomSurface=0
- p.Anchored=true
- p.CanCollide=false
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.formFactor="Symmetric"
- p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.4,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
- p.Parent=me
- Instance.new("BlockMesh").Parent=p
- coroutine.resume(coroutine.create(function(par,int) for i=1, 13 do par.Transparency=i/13 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/50,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns/1.5)
- wait(.05)
- end
- s:Stop()
- s.Parent=nil
- s=script.DBExplode:clone()
- s.Pitch=.425
- s.Parent=Grabbed
- s:Play()
- ww.C0=CFrame.new(0,-2,0)
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,1,0)*CFrame.fromEulerAnglesXYZ(math.pi,0,0)
- p.Parent=workspace
- script.BlastMesh:clone().Parent=p
- p.BlastMesh.Scale=Vector3.new(1,1,1)
- coroutine.resume(coroutine.create(function(par) for lol=1, 11 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.6,1.8,.6) par.Transparency=lol/11 par.CFrame=par.CFrame*CFrame.new(0,1,0) wait() end par.Parent=nil end),p)
- coroutine.resume(coroutine.create(DCCO2),sa,4)
- coroutine.resume(coroutine.create(DCCO3),sa,8)
- r=Instance.new("Part")
- r.Anchored=true
- r.Name="Ring"
- r.CanCollide=false
- r.TopSurface=0
- r.BottomSurface=0
- r.CFrame=sa.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- r.Parent=workspace
- script.RingMesh:clone().Parent=r
- r.RingMesh.Scale=Vector3.new(3,3,3)
- r.BrickColor=BrickColor.new(EColor)
- coroutine.resume(coroutine.create(function(par) for i=1, 15 do par.Transparency=i/15 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(1.5,1.5,.5) par.CFrame=par.CFrame*CFrame.new(0,0,.4) wait() end par.Parent=nil end),r)
- RightS.DesiredAngle=RightS.DesiredAngle+.5
- Dir=(me["Right Arm"].Position-(( me["Right Arm"].CFrame * CFrame.new(0,50,0) ).p)).unit
- vlo=Instance.new("BodyVelocity")
- vlo.Name="BodyVelocity"
- vlo.P=4500
- vlo.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- vlo.velocity=Dir*20
- if Corrupt==true then vlo.velocity=vlo.velocity*5-Vector3.new(0,60,0) end
- vlo.Parent=Grabbed
- game:GetService("Debris"):AddItem(vlo,.2)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
- rl.Parent=Grabbed
- game:GetService("Debris"):AddItem(rl,.2)
- Grabbed.Parent.Humanoid.Health=Grabbed.Parent.Humanoid.Health-70
- p.Parent=nil
- w.Parent=nil
- game:GetService("Debris"):AddItem(s,2)
- pt.Parent=nil
- coroutine.resume(coroutine.create(DCCO3),Grabbed,6)
- wait(.6)
- Torso.Neck.C0=Torso.Neck.C0*CFrame.fromEulerAnglesXYZ(math.pi/7,0,0)
- end
- wait(.3)
- sa.Parent=nil
- g.Parent=nil
- doArms(false)
- end
- DarkHide=function()
- Torso=me.Torso
- RA=Torso:FindFirstChild("Right Shoulder")
- if RA==nil then
- return
- end
- LA=Torso:FindFirstChild("Left Shoulder")
- if LA==nil then
- return
- end
- if Charge>=20 then
- Charge=Charge-20
- else
- return
- end
- doArms(true)
- OR=RA.C0
- RightS.C0=OR*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.2,-.5,0)
- RightS.DesiredAngle=2
- LeftS.DesiredAngle=.3
- RightS.MaxVelocity=.2
- LeftS.MaxVelocity=.1
- s=script.DBC:clone()
- s.Pitch=.9
- s.Parent=Torso
- s:Play()
- for darkowns=1, 12 do
- s.Pitch=s.Pitch-.06
- p=Instance.new("Part")
- p.TopSurface=0
- p.BottomSurface=0
- p.Anchored=true
- p.CanCollide=false
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.formFactor="Symmetric"
- p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
- p.Parent=me
- Instance.new("BlockMesh").Parent=p
- coroutine.resume(coroutine.create(function(par,int) for i=1, 13 do par.Transparency=i/13 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/50,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns)
- wait(.05)
- end
- for _,v in pairs(me:children()) do
- if v.className=="Part" and v.Name~="HumanoidRootPart" then
- coroutine.resume(coroutine.create(function(PAR) for i=1, 5 do PAR.Transparency=i*.2 wait(.02) end end),v)
- elseif v.className=="Hat" and v:FindFirstChild("Handle")~=nil then
- coroutine.resume(coroutine.create(function(PAR) for i=1, 5 do PAR.Transparency=i*.2 wait(.02) end end),v.Handle)
- end
- end
- for darkowns=1, 12 do
- s.Pitch=s.Pitch-.03
- p=Instance.new("Part")
- p.TopSurface=0
- p.BottomSurface=0
- p.Anchored=true
- p.CanCollide=false
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.formFactor="Symmetric"
- p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
- p.Parent=me
- Instance.new("BlockMesh").Parent=p
- coroutine.resume(coroutine.create(function(par,int) for i=1, 13 do par.Transparency=i/13 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/50,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns)
- wait(.05)
- end
- RightS.DesiredAngle=-1
- LeftS.DesiredAngle=1
- RightS.MaxVelocity=.4
- LeftS.MaxVelocity=.4
- s:Stop()
- s.Parent=nil
- wait(1)
- doArms(false)
- wait(10)
- for _,v in pairs(me:children()) do
- if v.className=="Part" and v.Name~="HumanoidRootPart" then
- coroutine.resume(coroutine.create(function(PAR) for i=1, 5 do PAR.Transparency=PAR.Transparency-.2 wait(.02) end end),v)
- elseif v.className=="Hat" and v:FindFirstChild("Handle")~=nil then
- coroutine.resume(coroutine.create(function(PAR) for i=1, 5 do PAR.Transparency=PAR.Transparency-.2 wait(.02) end end),v.Handle)
- end
- end
- end
- DoTornado=function(nVel,Pwn)
- t=Instance.new("Part")
- t.BrickColor=BrickColor.new(EColor)
- g=Instance.new("BodyGyro")
- g.P=5000
- g.D=50
- g.cframe=CFrame.new(0,0,0)
- g.maxTorque=Vector3.new(5000000000,0,5000000000)*50000000000
- g.Parent=t
- t.formFactor="Symmetric"
- t.Size=Vector3.new(2,2,2)
- t.CanCollide=false
- t.CFrame=CFrame.new(me.Torso.CFrame.p+me.Torso.CFrame.lookVector*5+Vector3.new(0,3,0))*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- vm=Instance.new("BodyVelocity")
- vm.P=3000
- vm.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- vm.velocity=me.Torso.CFrame.lookVector*40+Vector3.new(math.random(-5,5),0,math.random(-5,5))+nVel
- vm.Parent=t
- vl=Instance.new("BodyPosition")
- vl.P=3000
- vl.maxForce=Vector3.new(0,5000000,0)
- vl.position=t.Position
- vl.Parent=t
- r=Instance.new("BodyAngularVelocity")
- r.P=1450
- r.maxTorque=Vector3.new(0,50000000000000000000000000,0)*5000
- r.angularvelocity=Vector3.new(0,250,0)
- r.Parent=t
- s=Instance.new("Sound")
- s.Volume=1
- s.Pitch=.4
- s.SoundId="http://www.roblox.com/asset?id=2101157"
- s.Parent=t
- s:Play()
- script.NadoMesh:clone().Parent=t
- t.Name="'Nado"
- t.Parent=workspace
- s=script.TORNADO:clone()
- s.VP.Value=me
- s.Disabled=false
- s.Parent=t
- s.VP.Value=me
- end
- DarkStorm=function()
- Torso=me.Torso
- RA=Torso:FindFirstChild("Right Shoulder")
- if RA==nil then
- return
- end
- LA=Torso:FindFirstChild("Left Shoulder")
- if LA==nil then
- return
- end
- if Charge>=50 then
- Charge=Charge-50
- else
- return
- end
- doArms(true)
- OR=RA.C0
- RightS.C0=OR*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.2,-.5,0)
- RightS.DesiredAngle=2
- LeftS.DesiredAngle=.3
- RightS.MaxVelocity=.2
- LeftS.MaxVelocity=.1
- ss=script.DBC:clone()
- ss.Pitch=.7
- ss.Parent=Torso
- ss:Play()
- lolocaik=8
- if Corrupt==true then lolocaik=4 end
- for darkowns=1, lolocaik do
- p=Instance.new("Part")
- p.TopSurface=0
- p.BottomSurface=0
- p.Anchored=true
- p.CanCollide=false
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.formFactor="Symmetric"
- p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
- p.Parent=me
- Instance.new("BlockMesh").Parent=p
- coroutine.resume(coroutine.create(function(par,int) for i=1, 13 do par.Transparency=i/13 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/50,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns)
- wait(.05)
- end
- coroutine.resume(coroutine.create(DoTornado),Vector3.new(0,0,0),PWN)
- Pos=me.Torso.CFrame*CFrame.new(3,0,0)
- for i=1,10 do
- wait(.1)
- nDir=(me.Torso.Position-Pos.p).unit*i*5
- coroutine.resume(coroutine.create(DoTornado),nDir,PWN)
- nDir=(me.Torso.Position-Pos.p).unit*i*-5
- coroutine.resume(coroutine.create(DoTornado),nDir,PWN)
- end
- RightS.DesiredAngle=-1
- LeftS.DesiredAngle=1
- RightS.MaxVelocity=.4
- LeftS.MaxVelocity=.4
- ss:Stop()
- ss.Parent=nil
- wait(.4)
- doArms(false)
- end
- DarkWave=function()
- Torso=me.Torso
- RA=Torso:FindFirstChild("Right Shoulder")
- if RA==nil then
- return
- end
- LA=Torso:FindFirstChild("Left Shoulder")
- if LA==nil then
- return
- end
- if Charge>=50 then
- Charge=Charge-50
- else
- return
- end
- doArms(true)
- OR=RA.C0
- RightS.C0=OR*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.2,-.5,0)
- RightS.DesiredAngle=2
- LeftS.DesiredAngle=.3
- RightS.MaxVelocity=.2
- LeftS.MaxVelocity=.1
- ss=script.DBC:clone()
- ss.Pitch=.8
- ss.Parent=Torso
- ss:Play()
- for darkowns=1, 22 do
- p=Instance.new("Part")
- ss.Pitch=ss.Pitch-.02
- p.TopSurface=0
- p.BottomSurface=0
- p.Anchored=true
- p.CanCollide=false
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.formFactor="Symmetric"
- p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
- p.Parent=me
- Instance.new("BlockMesh").Parent=p
- coroutine.resume(coroutine.create(function(par,int) for i=1, 13 do par.Transparency=i/13 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/50,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns)
- wait(.05)
- end
- RightS.DesiredAngle=-1
- LeftS.DesiredAngle=1
- RightS.MaxVelocity=.4
- LeftS.MaxVelocity=.4
- ss:Stop()
- ss.Parent=nil
- Dir=Torso.CFrame.lookVector
- coroutine.resume(coroutine.create(function(Dir)
- for i=1, 20 do
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(2,2,2)
- p.CFrame=Torso.CFrame*CFrame.fromEulerAnglesXYZ(0,0,0)+Dir*(9*i+i)-Vector3.new(0,4,0)
- p.Parent=workspace
- script.BlastMesh:clone().Parent=p
- p.BlastMesh.Scale=Vector3.new(2,1,2)
- coroutine.resume(coroutine.create(function(par,int) for lol=1, 10 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.5+int,.6+int,.5+int) if int==1.2 then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0,.9,0) end par.Transparency=lol/10 par.CFrame=par.CFrame*CFrame.new(0,.4+int/3,0) wait() end par.Parent=nil end),p,i*.1)
- PWN={}
- for _,v in pairs(workspace:children()) do
- if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
- if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
- if v~=me and (v.Torso.Position-p.Position).magnitude<=7+(i) then
- table.insert(PWN,v.Torso)
- end
- end
- end
- end
- for _,t in pairs(PWN) do
- SHAKE2(t.Parent)
- t.Parent.Humanoid:TakeDamage(5)
- Mag=(p.Position-t.Position).magnitude/10
- t.Parent.Humanoid:TakeDamage(2)
- vl=Instance.new("BodyVelocity")
- vl.P=4000
- vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- vl.velocity=Vector3.new(0,math.random(45,50),0)+(t.Position-p.Position).unit*(5/Mag)+Dir*(32)
- if i==12 then
- vl.velocity=vl.velocity+Vector3.new(0,40,0)+(t.Position-p.Position).unit*(20/Mag)
- t.Parent.Humanoid:TakeDamage(5)
- SHAKE3(t.Parent)
- end
- vl.Parent=t
- game:GetService("Debris"):AddItem(vl,.2)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*5000
- rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
- rl.Parent=t
- game:GetService("Debris"):AddItem(rl,.2)
- end
- wait(.1)
- end
- end),Dir)
- wait(.4)
- doArms(false)
- end
- GBKEYDOWN=false
- DarkGBuster=function()
- Torso=me.Torso
- RA=Torso:FindFirstChild("Right Shoulder")
- if RA==nil then
- return
- end
- LA=Torso:FindFirstChild("Left Shoulder")
- if LA==nil then
- return
- end
- if Charge>=150 then
- Charge=Charge-150
- else
- return
- end
- doArms(true)
- VDIR=Torso.CFrame.lookVector
- OR=RA.C0
- RightS.C0=OR*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.2,-.5,0)
- RightS.DesiredAngle=2
- LeftS.DesiredAngle=.3
- RightS.MaxVelocity=.2
- LeftS.MaxVelocity=.1
- ss=script.DBC:clone()
- ss.Pitch=.3
- ss.Parent=Torso
- ss:Play()
- Torso.Neck.C0=Torso.Neck.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/2)
- g=Instance.new("BodyGyro")
- g.P=20000
- g.D=800
- g.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
- g.cframe=Torso.CFrame*CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
- g.Parent=Torso
- El=15
- GBKEYDOWN=true
- while El<60 and GBKEYDOWN==true do
- El=El+1
- p=Instance.new("Part")
- ss.Pitch=ss.Pitch+.006
- p.TopSurface=0
- p.BottomSurface=0
- p.Anchored=true
- p.CanCollide=false
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.formFactor="Symmetric"
- p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)
- p.Parent=me
- Instance.new("BlockMesh").Parent=p
- coroutine.resume(coroutine.create(function(par,int) for i=1, 10 do par.Transparency=i/10 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/50,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,El)
- wait(.04)
- end
- RightS.MaxVelocity=.4
- RightS.DesiredAngle=0
- LeftS.DesiredAngle=1
- RightS.MaxVelocity=.8
- LeftS.MaxVelocity=.4
- for darkowns=1, 4 do
- p=Instance.new("Part")
- ss.Pitch=ss.Pitch+.005
- p.TopSurface=0
- p.BottomSurface=0
- p.Anchored=true
- p.CanCollide=false
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.formFactor="Symmetric"
- p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
- p.Parent=me
- Instance.new("BlockMesh").Parent=p
- coroutine.resume(coroutine.create(function(par,int) for i=1, 10 do par.Transparency=i/10 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/70,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,40)
- wait(.04)
- end
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,1,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
- p.Parent=workspace
- script.BlastMesh:clone().Parent=p
- p.BlastMesh.Scale=Vector3.new(1,1,1)
- coroutine.resume(coroutine.create(function(par) for lol=1, 11 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.6,1.8,.6) par.Transparency=lol/11 par.CFrame=par.CFrame*CFrame.new(0,1,0) wait() end par.Parent=nil end),p)
- r=Instance.new("Part")
- r.Anchored=true
- r.Name="Ring"
- r.CanCollide=false
- r.TopSurface=0
- r.BottomSurface=0
- r.CFrame=me["Right Arm"].CFrame*CFrame.new(0,3,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- r.Parent=workspace
- script.RingMesh:clone().Parent=r
- r.RingMesh.Scale=Vector3.new(3,3,3)
- r.BrickColor=BrickColor.new(EColor)
- coroutine.resume(coroutine.create(function(par) for i=1, 15 do par.Transparency=i/15 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(1.5,1.5,.5) par.CFrame=par.CFrame*CFrame.new(0,0,.4) wait() end par.Parent=nil end),r)
- bStart=Instance.new("Part")
- bStart.Name="BlastStart"
- bStart.TopSurface=0
- bStart.BottomSurface=0
- bStart.BrickColor=BrickColor.new(EColor)
- bStart.formFactor="Symmetric"
- bStart.Size=Vector3.new(El,El,30)
- m=Instance.new("SpecialMesh")
- m.MeshType="Sphere"
- m.Scale=Vector3.new(1,1,1)
- m.Parent=bStart
- bStart.Anchored=false
- bStart.CanCollide=false
- bStart.CFrame=Torso.CFrame*CFrame.new(17,0,0)*CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
- pv=Instance.new("BodyPosition")
- pv.P=2000
- pv.D=20
- pv.maxForce=Vector3.new(0,500000000000000000000000000000000000000000000000,0)
- pv.position=bStart.Position
- pv.Parent=bStart
- bStart.Parent=workspace
- b=Instance.new("Part")
- b.Name="BlastStart"
- b.TopSurface=0
- b.BottomSurface=0
- b.BrickColor=BrickColor.new(EColor)
- b.formFactor="Symmetric"
- b.Size=Vector3.new(El,200,El)
- m=Instance.new("CylinderMesh")
- m.Parent=b
- b.Anchored=false
- b.CanCollide=false
- b.CFrame=bStart.CFrame*CFrame.new(0,0,217)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- pv2=Instance.new("BodyPosition")
- pv2.P=2000
- pv2.D=20
- pv2.maxForce=Vector3.new(0,50000000000000000000000000000000000000000000000,0)
- pv2.position=b.Position
- pv2.Parent=b
- b.Parent=workspace
- ss:Stop()
- ss.Parent=nil
- be=Instance.new("Part")
- be.Name="BlastStart"
- be.TopSurface=0
- be.BottomSurface=0
- be.BrickColor=BrickColor.new(EColor)
- be.formFactor="Symmetric"
- be.Size=Vector3.new(El,El,30)
- m=Instance.new("SpecialMesh")
- m.MeshType="Sphere"
- m.Scale=Vector3.new(1,1,1)
- m.Parent=be
- be.Anchored=false
- be.CanCollide=false
- be.CFrame=bStart.CFrame*CFrame.new(0,0,210)
- pv3=Instance.new("BodyPosition")
- pv3.P=2000
- pv3.D=20
- pv3.maxForce=Vector3.new(0,5000000000000000000000000000000000000000,0)
- pv3.position=be.Position
- pv3.Parent=be
- be.Parent=workspace
- pv=Instance.new("BodyPosition")
- pv.P=2000
- pv.D=20
- pv.maxForce=Vector3.new(0,5000000000000000,0)
- pv.position=bStart.Position
- pv.Parent=bStart
- bStart.Parent=workspace
- PUSH=Instance.new("BodyVelocity")
- PUSH.maxForce=Vector3.new(math.huge,0,math.huge)
- PUSH.velocity=-VDIR*(El/5)
- PUSH.Parent=Torso
- for s=1, 4 do
- script["GB"..tostring(s)]:Play()
- end
- coroutine.resume(coroutine.create(function()
- for i=1, 50 do
- bStart.CFrame=Torso.CFrame*CFrame.new(17,0,0)*CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
- bStart.CFrame=bStart.CFrame*CFrame.new(math.random(-30,30)/40,math.random(-30,30)/40,0)
- b.CFrame=bStart.CFrame*CFrame.new(0,0,100)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- be.CFrame=bStart.CFrame*CFrame.new(0,0,200)
- pv.position=bStart.Position
- pv2.position=b.Position
- pv3.position=be.Position
- wait()
- end
- end))
- for i=1, 4 do
- wait(.15)
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-3,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
- p.Parent=workspace
- script.BlastMesh:clone().Parent=p
- p.BlastMesh.Scale=Vector3.new(1,1,1)
- coroutine.resume(coroutine.create(function(par) for lol=1, 11 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(1,.8,1) par.Transparency=lol/11 par.CFrame=par.CFrame*CFrame.new(0,.7,0) wait() end par.Parent=nil end),p)
- r=Instance.new("Part")
- r.Anchored=true
- r.Name="Ring"
- r.CanCollide=false
- r.TopSurface=0
- r.BottomSurface=0
- r.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-i,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- r.Parent=workspace
- script.RingMesh:clone().Parent=r
- r.RingMesh.Scale=Vector3.new(3,3,3)
- r.BrickColor=BrickColor.new(EColor)
- coroutine.resume(coroutine.create(function(par) for i=1, 11 do par.Transparency=i/11 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(1,1,.25) par.CFrame=par.CFrame*CFrame.new(0,0,-.4) wait() end par.Parent=nil end),r)
- pv.position=bStart.Position
- pv2.position=b.Position
- connector=Instance.new("Part")
- connector.Name="HITSPACE"
- connector.formFactor="Symmetric"
- connector.Size=Vector3.new(El/2,130,5)
- connector.CanCollide=false
- connector.CFrame=b.CFrame-Vector3.new(0,7.5,0)
- push=Instance.new("BodyPosition")
- push.P=3000
- push.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- push.position=connector.Position+Vector3.new(0,15,0)
- push.Parent=connector
- connector.Transparency=1
- connector.Parent=workspace
- connector.Touched:connect(function(hit) GBConnect(hit,VDIR) end)
- game:GetService("Debris"):AddItem(connector,1)
- connector=Instance.new("Part")
- connector.Name="HITSPACE"
- connector.formFactor="Symmetric"
- connector.Size=Vector3.new(El/2,211,1)
- connector.CanCollide=false
- connector.CFrame=b.CFrame+Vector3.new(0,5,0)
- connector.Transparency=1
- connector.Parent=workspace
- connector.Touched:connect(function(hit) GBConnect(hit,VDIR) end)
- game:GetService("Debris"):AddItem(connector,1)
- connector=Instance.new("Part")
- connector.Name="HITSPACE"
- connector.formFactor="Symmetric"
- connector.Size=Vector3.new(El/2,El/2,1)
- connector.CanCollide=false
- connector.CFrame=bStart.CFrame
- connector.Transparency=1
- connector.Parent=workspace
- connector.Touched:connect(function(hit) GBConnect(hit,VDIR) end)
- v=Instance.new("BodyVelocity")
- v.P=2000
- v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- v.velocity=VDIR*400
- v.Parent=connector
- game:GetService("Debris"):AddItem(connector,.7)
- end
- for i=1, 7 do
- wait(.15)
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-3,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
- p.Parent=workspace
- script.BlastMesh:clone().Parent=p
- p.BlastMesh.Scale=Vector3.new(1,1,1)
- coroutine.resume(coroutine.create(function(par) for lol=1, 11 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(1,.8,1) par.Transparency=lol/11 par.CFrame=par.CFrame*CFrame.new(0,.7,0) wait() end par.Parent=nil end),p)
- connector=Instance.new("Part")
- connector.Name="HITSPACE"
- connector.formFactor="Symmetric"
- connector.Size=Vector3.new(El/2,211,5)
- connector.CanCollide=false
- connector.CFrame=b.CFrame-Vector3.new(0,5,0)
- push=Instance.new("BodyPosition")
- push.P=5000
- push.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- push.position=connector.Position+Vector3.new(0,15,0)
- push.Parent=connector
- connector.Transparency=1
- connector.Parent=workspace
- connector.Touched:connect(function(hit) GBConnect(hit,VDIR) end)
- game:GetService("Debris"):AddItem(connector,.5)
- connector=Instance.new("Part")
- connector.Name="HITSPACE"
- connector.formFactor="Symmetric"
- connector.Size=Vector3.new(El/2,211,8)
- connector.CanCollide=false
- connector.CFrame=b.CFrame+Vector3.new(0,7.5,0)
- connector.Transparency=1
- connector.Parent=workspace
- connector.Touched:connect(function(hit) GBConnect(hit,VDIR) end)
- game:GetService("Debris"):AddItem(connector,1)
- connector=Instance.new("Part")
- connector.Name="HITSPACE"
- connector.formFactor="Symmetric"
- connector.Size=Vector3.new(El/2,El/2,1)
- connector.CanCollide=false
- connector.CFrame=bStart.CFrame
- connector.Transparency=1
- connector.Parent=workspace
- connector.Touched:connect(function(hit) GBConnect(hit,VDIR) end)
- v=Instance.new("BodyVelocity")
- v.P=2000
- v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- v.velocity=VDIR*300
- v.Parent=connector
- game:GetService("Debris"):AddItem(connector,.7)
- end
- bStart.Parent=nil
- b.Parent=nil
- be.Parent=nil
- PUSH.Parent=nil
- RightS.DesiredAngle=2
- RightS.MaxVelocity=.6
- wait(1)
- LeftS.DesiredAngle=0
- LeftS.MaxVelocity=.4
- for i=1, 10 do
- wait()
- Torso.Neck.C0=Torso.Neck.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/20)
- end
- g.Parent=nil
- doArms(false)
- end
- DarkCurse=function()
- Torso=me.Torso
- RA=Torso:FindFirstChild("Right Shoulder")
- if RA==nil then
- return
- end
- LA=Torso:FindFirstChild("Left Shoulder")
- if LA==nil then
- return
- end
- if Charge>=50 then
- Charge=Charge-50
- else
- return
- end
- doArms(true)
- VDIR=Torso.CFrame.lookVector
- OR=RA.C0
- RightS.DesiredAngle=-.9
- LeftS.DesiredAngle=-.3
- RightS.MaxVelocity=.3
- LeftS.MaxVelocity=.1
- ss=script.DBC:clone()
- ss.Pitch=.3
- ss.Parent=Torso
- ss:Play()
- for darkowns=1, 15 do
- p=Instance.new("Part")
- ss.Pitch=ss.Pitch+.007
- p.TopSurface=0
- p.BottomSurface=0
- p.Anchored=true
- p.CanCollide=false
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.formFactor="Symmetric"
- p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
- p.Parent=me
- Instance.new("BlockMesh").Parent=p
- coroutine.resume(coroutine.create(function(par,int) for i=1, 10 do par.Transparency=i/10 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/70,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns/2)
- wait(.04)
- end
- RightS.DesiredAngle=1.6
- for darkowns=1, 17 do
- p=Instance.new("Part")
- ss.Pitch=ss.Pitch+.003
- p.TopSurface=0
- p.BottomSurface=0
- p.Anchored=true
- p.CanCollide=false
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.formFactor="Symmetric"
- p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
- p.Parent=me
- Instance.new("BlockMesh").Parent=p
- coroutine.resume(coroutine.create(function(par,int) for i=1, 10 do par.Transparency=i/10 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/70,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns/5+7.5)
- wait(.04)
- end
- ss:Stop()
- ss.Parent=nil
- ss=script.DBExplode:clone()
- ss.Parent=Torso
- ss.Pitch=1
- ss:Play()
- game:GetService("Debris"):AddItem(ss,2)
- LeftS.DesiredAngle=.3
- coroutine.resume(coroutine.create(DCCO2),p,1)
- coroutine.resume(coroutine.create(DCCO3),p,3)
- md=12
- if Corrupt==true then md=17 end
- PWN={}
- for _,v in pairs(workspace:children()) do
- if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
- if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
- if v~=me and (v.Torso.Position-p.Position).magnitude<=md then
- table.insert(PWN,v.Torso)
- end
- end
- end
- end
- for _,t in pairs(PWN) do
- SHAKE3(t.Parent)
- Num=0
- for __,vv in pairs(t.Parent:children()) do
- if vv.Name=="DC" then
- Num=Num+1
- end
- end
- ss=script.Curse:clone()
- ss.Parent=t
- game:GetService("Debris"):AddItem(ss,2)
- if Num<=1 then
- s=script.DC:clone()
- s.Disabled=false
- s.Parent=t.Parent
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*5000
- rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))/5
- rl.Parent=t
- game:GetService("Debris"):AddItem(rl,.1)
- ss.Pitch=.5
- ss:Play()
- else
- ss.Pitch=.37
- ss:Play()
- t.Parent.Humanoid:TakeDamage(8)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*5000
- rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))*2
- rl.Parent=t
- game:GetService("Debris"):AddItem(rl,.1)
- end
- if Corrupt==true then
- t.Parent.Humanoid:TakeDamage(16)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*5000
- rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))*2
- rl.Parent=t
- game:GetService("Debris"):AddItem(rl,.1)
- end
- end
- wait(.5)
- doArms(false)
- end
- DarkRiftF=function(par)
- coroutine.resume(coroutine.create(DCCO2),par,250)
- coroutine.resume(coroutine.create(DCCO3),par,250)
- if Corrupt==true then s=script.projPuller:clone() s.Disabled=false s.Parent=par end
- for timelapse=1, 120 do
- PWN={}
- for _,v in pairs(workspace:children()) do
- if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
- if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
- if v~=me and (v.Torso.Position-par.Position).magnitude<=25 then
- table.insert(PWN,v.Torso)
- end
- end
- end
- end
- for _,t in pairs(PWN) do
- Mag=(par.Position-t.Position).magnitude/2
- t.Parent.Humanoid:TakeDamage(.6)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*5000
- rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))/10
- rl.Parent=t
- game:GetService("Debris"):AddItem(rl,.1)
- if Mag<=2 then
- t.Parent.Humanoid.Health=t.Parent.Humanoid.Health-.3
- SHAKE3(t.Parent)
- else
- vl=Instance.new("BodyVelocity")
- vl.P=3000
- vl.maxForce=Vector3.new(50000000000,50000000000,50000000000)
- vl.velocity=(t.Position-par.Position).unit*-(70/(Mag))
- vl.Parent=t
- game:GetService("Debris"):AddItem(vl,.1)
- end
- end
- wait(.08)
- end
- par.Parent=nil
- end
- DarkRift=function()
- Torso=me.Torso
- RA=Torso:FindFirstChild("Right Shoulder")
- if RA==nil then
- return
- end
- LA=Torso:FindFirstChild("Left Shoulder")
- if LA==nil then
- return
- end
- if Charge>=100 then
- Charge=Charge-100
- else
- return
- end
- doArms(true)
- OR=RA.C0
- RightS.DesiredAngle=-.9
- LeftS.DesiredAngle=-.3
- RightS.MaxVelocity=.3
- LeftS.MaxVelocity=.1
- ss=script.DBC:clone()
- ss.Pitch=.3
- ss.Parent=Torso
- ss:Play()
- for darkowns=1, 5 do
- p=Instance.new("Part")
- ss.Pitch=ss.Pitch+.003
- p.TopSurface=0
- p.BottomSurface=0
- p.Anchored=true
- p.CanCollide=false
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.formFactor="Symmetric"
- p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
- p.Parent=me
- Instance.new("BlockMesh").Parent=p
- coroutine.resume(coroutine.create(function(par,int) for i=1, 10 do par.Transparency=i/10 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/70,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns/2)
- wait(.04)
- end
- RightS.DesiredAngle=1.6
- for darkowns=1, 12 do
- p=Instance.new("Part")
- ss.Pitch=ss.Pitch+.002
- p.TopSurface=0
- p.BottomSurface=0
- p.Anchored=true
- p.CanCollide=false
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.formFactor="Symmetric"
- p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/7.5)
- p.Parent=me
- Instance.new("BlockMesh").Parent=p
- coroutine.resume(coroutine.create(function(par,int) for i=1, 10 do par.Transparency=i/10 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/70,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns/5+7.5)
- wait(.04)
- end
- ss:Stop()
- ss:Remove()
- l=Instance.new("Part")
- l.Name="Rift"
- l.Transparency=0
- l.Anchored=true
- l.CanCollide=false
- l.Size=Vector3.new(1,1,1)
- l.CFrame=p.CFrame
- l.Parent=workspace
- coroutine.resume(coroutine.create(DarkRiftF),l)
- s=script.GB4:clone()
- s.Pitch=.5
- s.Parent=l
- s:Play()
- wait(.5)
- RightS.DesiredAngle=0
- wait(.2)
- doArms(false)
- wait(.5)
- end
- DarkSUMMONWEEGEEXD=function(hit)
- if hit==nil then
- return
- end
- h=hit.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- vv=game.Players:GetPlayerFromCharacter(hit.Parent)
- if vv~=nil then
- PLGUI=vv.PlayerGui
- m=Instance.new("Message")
- m.Text=PLGUI.Name
- m.Parent=workspace
- wait(1)
- m.Parent=nil
- S=script.OWNAGEgui:clone()
- S.Parent=PLGUI
- if Charge>=70 then
- Charge=Charge-70
- else
- return
- end
- S.Script.Disabled=false
- end
- end
- end
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
- DarkPunch=function()
- Torso=me.Torso
- RA=Torso:FindFirstChild("Right Shoulder")
- if RA==nil then
- return
- end
- LA=Torso:FindFirstChild("Left Shoulder")
- if LA==nil then
- return
- end
- if Charge>=40 then
- Charge=Charge-40
- else
- return
- end
- doArms(true)
- RightS.MaxVelocity=.3
- LeftS.MaxVelocity=.2
- RightS.DesiredAngle=-1.5
- LeftS.DesiredAngle=-.6
- for darkowns=1, 6 do
- p=Instance.new("Part")
- p.TopSurface=0
- p.BottomSurface=0
- p.Anchored=true
- p.CanCollide=false
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.formFactor="Symmetric"
- p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
- p.Parent=me
- Instance.new("BlockMesh").Parent=p
- coroutine.resume(coroutine.create(function(par,int) for i=1, 13 do par.Transparency=i/13 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/50,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns)
- wait(.05)
- end
- RightS.MaxVelocity=1
- LeftS.MaxVelocity=.4
- RightS.DesiredAngle=1.6
- LeftS.DesiredAngle=1.2
- v=Instance.new("BodyVelocity")
- v.P=6000
- v.maxForce=Vector3.new(math.huge,5000000000,math.huge)
- v.velocity=Torso.CFrame.lookVector*60
- v.Parent=Torso
- print(v)
- g=Instance.new("BodyGyro")
- g.P=3000
- g.maxTorque=Vector3.new(50000,50000,50000)*50000
- g.cframe=Torso.CFrame
- g.Parent=Torso
- if Corrupt==true then v.velocity=Torso.CFrame.lookVector*120 end
- sa=Instance.new("Part")
- sa.Name="StrikeArea"
- sa.TopSurface=0
- sa.BottomSurface=0
- sa.CFrame=Torso.Parent.Head.CFrame
- sa.formFactor="Symmetric"
- sa.Transparency=1
- sa.CanCollide=false
- sa.Size=Vector3.new(2,1,2)
- sa.Parent=me
- w=Instance.new("Weld")
- w.Part0=me["Right Arm"]
- w.Part1=sa
- w.Parent=sa
- w.C0=CFrame.new(0,-1.5,0)
- PAWNSH=sa.Touched:connect(PunchHit)
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.CFrame=Torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)+Torso.CFrame.lookVector*-2
- p.Parent=workspace
- script.BlastMesh:clone().Parent=p
- p.BlastMesh.Scale=Vector3.new(1,1,1)
- coroutine.resume(coroutine.create(function(par) for lol=1, 9 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.8,.8,.6) par.Transparency=lol/9 par.CFrame=par.CFrame*CFrame.new(0,.2,0) wait() end par.Parent=nil end),p)
- wait(.2)
- sa.Parent=nil
- v.Parent=nil
- wait(.5)
- RightS.DesiredAngle=0
- LeftS.DesiredAngle=0
- wait(.5)
- g.Parent=nil
- doArms(false)
- end
- DarkBomb=function()
- Torso=me.Torso
- RA=Torso:FindFirstChild("Right Shoulder")
- if RA==nil then
- return
- end
- LA=Torso:FindFirstChild("Left Shoulder")
- if LA==nil then
- return
- end
- if Charge>=100 then
- Charge=Charge-100
- else
- return
- end
- doArms(true)
- OR=RA.C0
- OL=LA.C0
- RightS.C0=OR*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.2,-.5,0)
- LeftS.C0=OL*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(-.2,-.5,0)
- RightS.DesiredAngle=2
- LeftS.DesiredAngle=-2
- RightS.MaxVelocity=.2
- LeftS.MaxVelocity=.2
- Torso.Neck.C0=Torso.Neck.C0*CFrame.fromEulerAnglesXYZ(math.pi/9,0,0)
- s=script.DBC:clone()
- s.Parent=Torso
- s:Play()
- for darkowns=1, 25 do
- p=Instance.new("Part")
- p.TopSurface=0
- p.BottomSurface=0
- p.Anchored=true
- p.CanCollide=false
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.formFactor="Symmetric"
- p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
- p.Parent=me
- Instance.new("BlockMesh").Parent=p
- coroutine.resume(coroutine.create(function(par,int) for i=1, 13 do par.Transparency=i/13 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/50,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns)
- p=Instance.new("Part")
- p.TopSurface=0
- p.BottomSurface=0
- p.Anchored=true
- p.CanCollide=false
- p.BrickColor=BrickColor.new(EColor2)
- p.Size=Vector3.new(1,1,1)
- p.formFactor="Symmetric"
- p.CFrame=me["Left Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
- p.Parent=me
- Instance.new("BlockMesh").Parent=p
- coroutine.resume(coroutine.create(function(par,int) for i=1, 13 do par.Transparency=i/13 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/50,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns)
- wait(.05)
- end
- RightS.DesiredAngle=-1
- LeftS.DesiredAngle=1
- RightS.MaxVelocity=.4
- LeftS.MaxVelocity=.4
- s.Parent=nil
- Torso.Neck.C0=Torso.Neck.C0*CFrame.fromEulerAnglesXYZ(-math.pi/9,0,0)
- Dir=Torso.CFrame.lookVector
- Vel=Dir*100
- if Corrupt==true then Vel=Dir*150 end
- bomb=Instance.new("Part")
- bomb.Name="DarkBlast"
- bomb.Transparency=1
- bomb.TopSurface=0
- bomb.BottomSurface=0
- bomb.Anchored=false
- bomb.CanCollide=false
- bomb.Size=Vector3.new(7,1,7)
- bomb.formFactor="Symmetric"
- bomb.CFrame=CFrame.new(Torso.CFrame.p+Vector3.new(0,1,0)+Dir*6,Torso.Position+Dir*50)*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)
- bomb.Parent=workspace
- DBCon=bomb.Touched:connect(function(hit) DBHit(hit,bomb) end)
- v=Instance.new("BodyVelocity")
- v.P=3000
- v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- v.velocity=Vel
- v.Parent=bomb
- s=script.Abscond:clone()
- s.Pitch=.6
- s.Parent=bomb
- s:Play()
- coroutine.resume(coroutine.create(DCCO1),bomb,10)
- coroutine.resume(coroutine.create(DCCO2),bomb,20)
- for loopwait=1, 20 do
- if bomb.Parent==nil then
- return doArms(false)
- end
- wait(.025)
- end
- DBCon:disconnect()
- DBExplode(bomb)
- doArms(false)
- end
- DarkBoostStrike=function()
- if Charge>=80 then
- Charge=Charge-80
- else
- return
- end
- script.Defile:Play()
- Contact=false
- Torso=me.Torso
- coroutine.resume(coroutine.create(DCCO1),Torso,5)
- coroutine.resume(coroutine.create(DCCO2),Torso,10)
- sa=Instance.new("Part")
- sa.Name="StrikeArea"
- sa.TopSurface=0
- sa.BottomSurface=0
- sa.CFrame=Torso.Parent.Head.CFrame
- sa.formFactor="Symmetric"
- sa.Transparency=1
- sa.CanCollide=false
- sa.Size=Vector3.new(8,1,8)
- sa.Parent=me
- w=Instance.new("Weld")
- w.Part0=me.Torso
- w.Part1=sa
- w.Parent=sa
- w.C0=CFrame.new(0,3,0)
- Dir=Torso.CFrame.lookVector
- Vel=Dir*150
- if Corrupt==true then Vel=Dir*200 end
- uv=Instance.new("BodyVelocity")
- uv.P=4000
- uv.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- uv.velocity=Vel
- uv.Parent=Torso
- g=Instance.new("BodyGyro")
- g.P=4500
- g.D=500
- g.maxTorque=Vector3.new(5000000,5000000,5000000)*5000000000000000
- g.cframe=Torso.CFrame*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)
- g.Parent=Torso
- ContactF=sa.Touched:connect(function(hit) DCContact(hit,Torso) end)
- coroutine.resume(coroutine.create(DCCO3),Torso,10)
- for waitloop=1, 10 do
- wait(.025)
- end
- if Contact==false or Charge<35 then
- ContactF:disconnect()
- uv.velocity=uv.velocity/10
- wait()
- uv.Parent=nil
- g.Parent=nil
- else
- Charge=Charge-35
- print("GOING ON!")
- coroutine.resume(coroutine.create(DCCO1),Torso,5)
- coroutine.resume(coroutine.create(DCCO2),Torso,10)
- coroutine.resume(coroutine.create(DCCO3),Torso,10)
- Contact=false
- for rise=1, 20 do
- uv.velocity=Dir*(100-(rise*3))+Vector3.new(0,(rise/4)*rise,0)
- g.cframe=CFrame.new(Vector3.new(0,0,0),Torso.Velocity.unit)*CFrame.fromEulerAnglesXYZ(-math.pi/2,math.pi/10*rise,0)
- wait(.25/10)
- end
- if Contact==false or Charge<35 then
- print("DONE")
- ContactF:disconnect()
- uv.velocity=uv.velocity/10
- wait()
- uv.Parent=nil
- g.Parent=nil
- else
- print("CONTINUE!")
- ContactF:disconnect()
- w.C0=CFrame.new(0,-3.5,0)
- nCont=sa.Touched:connect(Land)
- Contact=false
- uv.P=0
- doRing=false
- while true do
- if Torso.Velocity.y<=-10 and doRing==false then
- doRing=true
- coroutine.resume(coroutine.create(DCCO1),Torso,5)
- coroutine.resume(coroutine.create(DCCO2),Torso,10)
- end
- if Contact==true then
- break
- end
- g.cframe=CFrame.new(Vector3.new(0,0,0),Torso.Velocity.unit)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- wait()
- end
- Charge=Charge-35
- uv.P=3000
- uv.velocity=Vector3.new(0,0,0)
- wait()
- uv.Parent=nil
- g.Parent=nil
- end
- end
- sa.Parent=nil
- end
- HPHeal=function(part)
- if part==nil then
- return
- end
- h=part.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- if h.Health<0 then
- return
- end
- Torso=h.Parent:FindFirstChild("Torso")
- if Torso~=nil then
- if (Torso.Position-me.Torso.Position).magnitude>=20 then
- return
- end
- if Charge>=20 then
- Charge=Charge-20
- else
- return
- end
- s=script.Imbue:clone()
- s.Pitch=1.2
- s.Parent=Torso
- s:Play()
- game:GetService("Debris"):AddItem(s,2)
- s=script.Imbue:clone()
- s.Pitch=.8
- s.Parent=me.Torso
- s:Play()
- game:GetService("Debris"):AddItem(s,2)
- for i=1, 18 do
- e=Instance.new("Part")
- e.TopSurface=0
- e.BottomSurface=0
- e.CanCollide=false
- e.formFactor="Plate"
- e.Size=Vector3.new(1,.4,1)
- e.CFrame=CFrame.new(part.Parent.Torso.CFrame.p+Vector3.new(math.cos(i)*5,0,math.sin(i)*5)+Vector3.new(0,6.4,0),part.Parent.Torso.CFrame.p+Vector3.new(0,6.4,0))
- e.Name="Effect"
- e.BrickColor=BrickColor.new(EColor2)
- f=Instance.new("BodyVelocity")
- f.P=500
- f.maxForce=Vector3.new(0,math.huge,0)
- f.velocity=Vector3.new(0,-20,0)
- f.Parent=e
- e.Parent=part.Parent
- coroutine.resume(coroutine.create(function(par) for i=1, 30 do par.Transparency=i/30 wait() end par.Parent=nil end),e)
- e=Instance.new("Part")
- e.TopSurface=0
- e.BottomSurface=0
- e.CanCollide=false
- e.formFactor="Plate"
- e.Size=Vector3.new(1,.4,1)
- e.CFrame=CFrame.new(me.Torso.CFrame.p+Vector3.new(-math.cos(i)*5,0,-math.sin(i)*5)-Vector3.new(0,3.2,0),me.Torso.CFrame.p-Vector3.new(0,3.2,0))
- e.Name="Effect"
- e.BrickColor=BrickColor.new(EColor2)
- f=Instance.new("BodyVelocity")
- f.P=500
- f.maxForce=Vector3.new(0,math.huge,0)
- f.velocity=Vector3.new(0,20,0)
- f.Parent=e
- e.Parent=part.Parent
- coroutine.resume(coroutine.create(function(par) for i=1, 30 do par.Transparency=i/30 wait() end par.Parent=nil end),e)
- part.Parent.Humanoid.Health=part.Parent.Humanoid.Health-10
- me.Humanoid.Health=me.Humanoid.Health+1000
- wait(.1)
- end
- end
- end
- end
- HPSteal=function(part)
- if part==nil then
- return
- end
- h=part.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- if h.Health<0 then
- return
- end
- Torso=h.Parent:FindFirstChild("Torso")
- if Torso~=nil then
- if (Torso.Position-me.Torso.Position).magnitude>=40 then
- return
- end
- if Charge>=60 then
- Charge=Charge-60
- else
- return
- end
- s=script.Imbue:clone()
- s.Pitch=.8
- s.Parent=Torso
- s:Play()
- game:GetService("Debris"):AddItem(s,2)
- s=script.Imbue:clone()
- s.Pitch=1.2
- s.Parent=me.Torso
- s:Play()
- game:GetService("Debris"):AddItem(s,2)
- for i=1, 18 do
- e=Instance.new("Part")
- e.TopSurface=0
- e.BottomSurface=0
- e.CanCollide=false
- e.formFactor="Plate"
- e.Size=Vector3.new(1,.4,1)
- e.CFrame=CFrame.new(part.Parent.Torso.CFrame.p+Vector3.new(math.cos(i)*5,0,math.sin(i)*5)-Vector3.new(0,3.2,0),part.Parent.Torso.CFrame.p-Vector3.new(0,3.2,0))
- e.Name="Effect"
- e.BrickColor=BrickColor.new(EColor2)
- f=Instance.new("BodyVelocity")
- f.P=500
- f.maxForce=Vector3.new(0,math.huge,0)
- f.velocity=Vector3.new(0,20,0)
- f.Parent=e
- e.Parent=part.Parent
- coroutine.resume(coroutine.create(function(par) for i=1, 30 do par.Transparency=i/30 wait() end par.Parent=nil end),e)
- e=Instance.new("Part")
- e.TopSurface=0
- e.BottomSurface=0
- e.CanCollide=false
- e.formFactor="Plate"
- e.Size=Vector3.new(1,.4,1)
- e.CFrame=CFrame.new(me.Torso.CFrame.p+Vector3.new(-math.cos(i)*5,0,-math.sin(i)*5)+Vector3.new(0,6.4,0),me.Torso.CFrame.p+Vector3.new(0,6.4,0))
- e.Name="Effect"
- e.BrickColor=BrickColor.new(EColor2)
- f=Instance.new("BodyVelocity")
- f.P=500
- f.maxForce=Vector3.new(0,math.huge,0)
- f.velocity=Vector3.new(0,-20,0)
- f.Parent=e
- e.Parent=part.Parent
- coroutine.resume(coroutine.create(function(par) for i=1, 30 do par.Transparency=i/30 wait() end par.Parent=nil end),e)
- part.Parent.Humanoid.Health=part.Parent.Humanoid.Health-2
- me.Humanoid.Health=me.Humanoid.Health+2
- wait(.1)
- end
- end
- end
- end
- DarkDoubleJump=function()
- Torso=me:FindFirstChild("Torso")
- if Charge>=5 then
- Charge=Charge-5
- else
- return
- end
- part=Torso
- e=Instance.new("Part")
- e.TopSurface=0
- e.BottomSurface=0
- e.CanCollide=false
- e.Anchored=true
- e.Shape="Ball"
- e.Size=Vector3.new(1,1,1)
- e.CFrame=Torso.CFrame*CFrame.fromEulerAnglesXYZ(0,0,math.pi)
- e.Name="Effect"
- e.BrickColor=BrickColor.new(EColor2)
- e.Parent=Torso.Parent
- m=script.BlastMesh:clone()
- m.Parent=e
- coroutine.resume(coroutine.create(function(m) for i=1, 6 do m.Parent.CFrame=m.Parent.CFrame*CFrame.new(0,.25,0) m.Scale=m.Scale+Vector3.new(1,.1,1) m.Parent.Transparency=i/6 wait() end m.Parent.Parent=nil end),e.BlastMesh)
- v=Instance.new("BodyVelocity")
- v.P=8000
- v.maxForce=Vector3.new(0,math.huge,0)
- v.velocity=Vector3.new(0,80,0)
- v.Parent=Torso
- g=Instance.new("BodyGyro")
- g.P=3000
- g.maxTorque=Vector3.new(50000,0,50000)*50
- g.cframe=Torso.CFrame
- g.Parent=Torso
- game:GetService("Debris"):AddItem(v,.2)
- s=script.Break:clone()
- s.Pitch=4.5
- s.Parent=Torso
- s:Play()
- wait(.5)
- g:Remove()
- wait(.1)
- s:Remove()
- end
- DarkSpeedBreak=function()
- if Charge>=3 then
- Charge=Charge-3
- else
- return
- end
- Torso=me:FindFirstChild("Torso")
- part=Torso
- e=Instance.new("Part")
- e.TopSurface=0
- e.BottomSurface=0
- e.CanCollide=false
- e.Anchored=true
- e.Shape="Ball"
- e.Size=Vector3.new(1,1,1)
- e.CFrame=Torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- e.Name="Effect"
- e.BrickColor=BrickColor.new(EColor2)
- e.Parent=Torso.Parent
- m=script.BlastMesh:clone()
- m.Parent=e
- coroutine.resume(coroutine.create(function(m) for i=1, 5 do m.Parent.CFrame=m.Parent.CFrame*CFrame.new(0,2,0) m.Scale=m.Scale+Vector3.new(1.7,.35,1.7) m.Parent.Transparency=i/5 wait() end m.Parent.Parent=nil end),e.BlastMesh)
- v=Instance.new("BodyVelocity")
- v.P=4000
- v.maxForce=Vector3.new(math.huge,500,math.huge)
- v.velocity=Torso.CFrame.lookVector*300
- v.Parent=Torso
- g=Instance.new("BodyGyro")
- g.P=3000
- g.maxTorque=Vector3.new(50000,50000,50000)*50
- g.cframe=Torso.CFrame
- g.Parent=Torso
- con=Torso.Touched:connect(function(hit) if hit.Parent==nil then return end if hit.Parent==me then return end h=hit.Parent:FindFirstChild("Humanoid") if h~=nil then if h.Parent:FindFirstChild("Torso")==nil then return end h:TakeDamage(0) SHAKE2(hit.Parent) r=Instance.new("BodyAngularVelocity") r.P=2500 r.maxTorque=Vector3.new(50000,50000,50000)*50000 r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) r.Parent=hit.Parent.Torso game:GetService("Debris"):AddItem(r,.15) vv=Instance.new("BodyVelocity") vv.P=3000 vv.maxForce=Vector3.new(math.huge,math.huge,math.huge) vv.velocity=(hit.Parent.Torso.Position-Torso.Position).unit*40+Vector3.new(0,60,0) vv.Parent=hit.Parent.Torso game:GetService("Debris"):AddItem(vv,.15) end end)
- s=script.Break:clone()
- s.Pitch=4
- s.Parent=Torso
- s:Play()
- wait(.07)
- v.Parent=nil
- wait(.05)
- g:Remove()
- con:disconnect()
- wait(.1)
- s:Remove()
- end
- DarkRepulse=function()
- if Charge>=40 then
- Charge=Charge-40
- else
- return
- end
- Torso=me:FindFirstChild("Torso")
- part=Torso
- dir=Vector3.new(0,0,0)
- sfx=script.Defile:clone()
- sfx.Parent=Torso
- sfx:Play()
- for i=1, 12 do
- start=CFrame.new(part.Parent.Torso.CFrame.p)
- e=Instance.new("Part")
- e.TopSurface=0
- e.BottomSurface=0
- e.CanCollide=false
- e.Shape="Ball"
- e.Size=Vector3.new(1,1,1)
- e.CFrame=start+dir*i+Vector3.new((math.random(-20,20)/15*i),(math.random(-20,20)/15*i),(math.random(-20,20)/15*i))
- e.Name="Effect"
- e.BrickColor=BrickColor.new(EColor2)
- e.Parent=Torso.Parent
- p=Instance.new("BodyPosition")
- p.P=5000
- p.D=200
- p.maxForce=Vector3.new(50000,50000,50000)*50000
- p.position=e.CFrame.p
- p.Parent=e
- e.Touched:connect(function(hit) if hit.Parent==nil then return end if hit.Parent==me then return end h=hit.Parent:FindFirstChild("Humanoid") if h~=nil then if h.Parent:FindFirstChild("Torso")==nil then return end h:TakeDamage(1) SHAKE2(hit.Parent) r=Instance.new("BodyAngularVelocity") r.P=2500 r.maxTorque=Vector3.new(50000,50000,50000)*50000 r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) r.Parent=hit.Parent.Torso game:GetService("Debris"):AddItem(r,.15) v=Instance.new("BodyVelocity") v.P=3000 v.maxForce=Vector3.new(math.huge,math.huge,math.huge) v.velocity=(hit.Parent.Torso.Position-Torso.Position).unit*10+Vector3.new(0,20,0) v.Parent=hit.Parent.Torso game:GetService("Debris"):AddItem(v,.15) end end)
- coroutine.resume(coroutine.create(function(par,c) for i=1, 25 do par.Size=par.Size+Vector3.new(1,1,1) par.CFrame=c par.Transparency=i/9 wait() end par.Parent=nil end),e,e.CFrame)
- wait(.05)
- end
- sfx:Remove()
- wait(2)
- e.Parent=nil
- end
- DarkRush=function()
- if Charge>=40 then
- Charge=Charge-40
- else
- return
- end
- Torso=me:FindFirstChild("Torso")
- rPos=Vector3.new(0,8,0)
- pn=Instance.new("BodyPosition")
- pn.P=6000
- pn.D=150
- pn.maxForce=Vector3.new(500000,500000,500000)*5000
- g=Instance.new("BodyGyro")
- g.P=3000
- g.maxTorque=Vector3.new(50000,50000,50000)*50000
- g.cframe=Torso.CFrame
- g.Parent=Torso
- pn.Parent=Torso
- pn.position=Torso.Position
- to=Torso.Position+Torso.CFrame.lookVector*15+rPos
- cParts=Torso.Parent:GetChildren()
- part=Torso
- s1=script.Abscond:clone()
- s1.Parent=Torso
- s2=script.Break:clone()
- s2.Parent=Torso
- s3=script.Elec:clone()
- s3.Parent=Torso
- for i=1, 8 do
- e=Instance.new("Part")
- e.TopSurface=0
- e.BottomSurface=0
- e.CanCollide=false
- e.Shape="Ball"
- e.Size=Vector3.new(1,1,1)
- e.CFrame=CFrame.new(part.Parent.Torso.CFrame.p+part.Parent.Torso.CFrame.lookVector*(5-i))
- e.Name="Effect"
- e.BrickColor=BrickColor.new(EColor2)
- k=Instance.new("Sparkles")
- k.SparkleColor=Color3.new(0,0,255)
- k.Parent=e
- po=Instance.new("BodyPosition")
- po.P=10000
- po.D=2000
- po.maxForce=Vector3.new(5000000,5000000,5000000)*500
- po.position=e.Position
- po.Parent=e
- e.Parent=workspace
- e.Touched:connect(function(hit) if hit.Parent==nil then return end if hit.Parent==me then return end h=hit.Parent:FindFirstChild("Humanoid") if h~=nil then if h.Parent:FindFirstChild("Torso")==nil then return end h:TakeDamage(5) SHAKE2(hit.Parent) r=Instance.new("BodyAngularVelocity") r.P=2500 r.maxTorque=Vector3.new(50000,50000,50000)*50000 r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) r.Parent=hit.Parent.Torso game:GetService("Debris"):AddItem(r,.15) v=Instance.new("BodyVelocity") v.P=3000 v.maxForce=Vector3.new(math.huge,math.huge,math.huge) v.velocity=(hit.Parent.Torso.Position-to).unit*-70+Vector3.new(0,20,0) v.Parent=hit.Parent.Torso game:GetService("Debris"):AddItem(v,.15) end end)
- coroutine.resume(coroutine.create(function(par,pp) for i=1, 6 do par.Size=par.Size+Vector3.new(2,2,2) par.CFrame=pp par.Transparency=i/8 wait() end par.Parent=nil end),e,e.CFrame)
- s1:Play()
- s2:Play()
- s3:Play()
- pn.position=to
- rPos=-rPos
- to=to+Torso.CFrame.lookVector*15+rPos
- wait(.15)
- end
- s1:Remove()
- s2:Remove()
- s3:Remove()
- g.Parent=nil
- pn.Parent=nil
- end
- Tele=function()
- if Charge>=2 then
- Charge=Charge-2
- else
- return
- end
- part=me.Torso
- toPos=part.Position+part.CFrame.lookVector*17
- orig=part.Position
- for _,v in pairs(part.Parent:children()) do
- if v.Name=="TRAILER" then
- v.Parent=nil
- end
- end
- for _,v in pairs(part.Parent:children()) do
- if v.className=="Part" then
- n=v:clone()
- n.archivable=true
- n.Anchored=true
- n.CanCollide=false
- n.Name="TRAILER"
- n.BrickColor=BrickColor.new(EColor)
- n.Parent=workspace
- coroutine.resume(coroutine.create(function(ne) for i=1, 12 do ne.Transparency=i/12 wait() end ne.Parent=nil end),n)
- elseif v.className=="Hat" then
- n=v.Handle:clone()
- n.archivable=true
- n.Anchored=true
- n.CanCollide=false
- n.Name="TRAILER"
- n.BrickColor=BrickColor.new(EColor)
- n.Parent=workspace
- coroutine.resume(coroutine.create(function(ne) for i=1, 12 do ne.Transparency=i/12 wait() end ne.Parent=nil end),n)
- end
- end
- newc=CFrame.new(toPos,orig)
- part.CFrame=newc
- script.Abscond:Play()
- --[[for _,v in pairs(part.Parent:children()) do
- if v.className=="Part" then
- n=v:clone()
- n.archivable=true
- n.Anchored=true
- n.CanCollide=false
- n.Name="TRAILER"
- n.BrickColor=BrickColor.new(EColor)
- n.Parent=part.Parent
- coroutine.resume(coroutine.create(function(ne) for i=1, 12 do ne.Transparency=i/12 wait() end ne.Parent=nil end),n)
- elseif v.className=="Hat" then
- n=v.Handle:clone()
- n.archivable=true
- n.Anchored=true
- n.CanCollide=false
- n.Name="TRAILER"
- n.BrickColor=BrickColor.new("Bright violet")
- n.Parent=part.Parent
- coroutine.resume(coroutine.create(function(ne) for i=1, 12 do ne.Transparency=i/12 wait() end ne.Parent=nil end),n)
- end
- end]]
- wait(.1)
- end
- Imbue=function()
- if Charge>=20 then
- Charge=Charge-20
- else
- return
- end
- part=me.Torso
- script.Imbue:Play()
- for i=1, 20 do
- e=Instance.new("Part")
- e.TopSurface=0
- e.BottomSurface=0
- e.CanCollide=false
- e.formFactor="Plate"
- e.Size=Vector3.new(1,.4,1)
- e.CFrame=CFrame.new(part.Parent.Torso.CFrame.p+Vector3.new(math.random(-15,15)/5,3.2,math.random(-15,15)/5))
- e.Name="Effect"
- e.BrickColor=BrickColor.new(EColor2)
- f=Instance.new("BodyVelocity")
- f.P=500
- f.maxForce=Vector3.new(0,math.huge,0)
- f.velocity=Vector3.new(0,-15,0)
- f.Parent=e
- e.Parent=part.Parent
- coroutine.resume(coroutine.create(function(par) for i=1, 20 do par.Transparency=i/20 wait() end par.Parent=nil end),e)
- part.Parent.Humanoid.Health=part.Parent.Humanoid.Health+10
- wait(.05)
- end
- end
- Berserk=function()
- if Charge>=10 then
- Charge=Charge-10
- else
- return
- end
- me.Humanoid.WalkSpeed=me.Humanoid.WalkSpeed+10
- me.Humanoid.Health=me.Humanoid.Health-10
- me.Humanoid.MaxHealth=me.Humanoid.MaxHealth-10
- s=script.Berserk:clone()
- s.Parent=me.Torso
- s:Play()
- game:GetService("Debris"):AddItem(s,4)
- end
- EXWave=function(hit)
- if Charge>=70 then
- Charge=Charge-70
- else
- return
- end
- if hit==nil then
- return
- end
- h=hit.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- e=Instance.new("Part")
- e.TopSurface=0
- e.BottomSurface=0
- e.Reflectance=.05
- e.formFactor="Symmetric"
- e.Size=Vector3.new(1,1,1)
- e.Anchored=true
- e.CanCollide=false
- e.BrickColor=BrickColor.new(EColor)
- e.CFrame=CFrame.new(hit.Position)
- e.Parent=hit.Parent
- Instance.new("BlockMesh").Parent=e
- coroutine.resume(coroutine.create(function(par) for i=1, 13 do par.CFrame=par.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50) par.Transparency=i/13 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.4,.4,.4) wait() end par.Parent=nil end),e)
- vPP=game.Players:GetPlayerFromCharacter(hit.Parent)
- if vPP~=nil then
- s=script.Shake:clone()
- s.Disabled=false
- s.Parent=vPP.Backpack
- end
- for _,v in pairs(hit.Parent:children()) do
- if v.className=="Part" then
- v.BrickColor=BrickColor.new(EColor)
- v.RotVelocity=Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))*3
- v:BreakJoints()
- f=Instance.new("BodyVelocity")
- f.P=3000
- f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- f.velocity=Vector3.new(math.random(-30,30)/10,math.random(-30,30)/10,math.random(-30,30)/10)
- f.Parent=v
- v.CanCollide=false
- coroutine.resume(coroutine.create(function(par) for i=1, 30 do par.Transparency=i/30 wait() end par.Parent=nil end),v)
- elseif v.className=="Hat" then
- v.Handle.BrickColor=BrickColor.new(EColor)
- v.Handle.RotVelocity=Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))*3
- v.Handle:BreakJoints()
- f=Instance.new("BodyVelocity")
- f.P=3000
- f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- f.velocity=Vector3.new(math.random(-30,30)/10,math.random(-30,30)/10,math.random(-30,30)/10)
- f.Parent=v.Handle
- v.Handle.CanCollide=false
- coroutine.resume(coroutine.create(function(par) for i=1, 30 do par.Transparency=i/30 wait() end par.Parent=nil end),v.Handle)
- end
- end
- script.Break:Play()
- end
- end
- vPlayer,cPlayer,Torso,BarGUI=nil,nil,nil,nil
- HandlePB=function(BAR)
- while true do
- Div=Charge/Maximum
- BAR.PressureBar.DarkBar.Fill.Size=UDim2.new(Div,0,.9,0)
- BAR.PressureBar.DarkBar.Label.Text="Deity Power: "..tostring(Charge)
- wait()
- end
- end
- GetHumanoids=function()
- Fill={}
- for _,v in pairs(game.Workspace:children()) do
- if v.className=="Model" and v:FindFirstChild("Torso")~=nil then
- if v.Humanoid.Health>0 then
- if v.Name~=game.Players:findFirstChild(myname) then
- table.insert(Fill,v)
- end
- end
- end
- end
- return Fill
- end
- LimitBerzerk=function(m)
- doStartup(m)
- end
- ChargeAnims["meshFlowOut"]=function(part,m)
- if OverE>0 then
- Col=BarGUI.PressureBar.DarkBar.Fill.BackgroundColor3
- BarGUI.PressureBar.DarkBar.Fill.BackgroundColor3=Color3.new(1,1,1)
- wait(.05)
- BarGUI.PressureBar.DarkBar.Fill.BackgroundColor3=Color3.new(0,0,1)
- if OverE>10 then
- cdeb=false
- LimitBerzerk(m)
- cdeb=true
- end
- return wait(.05)
- end
- e=Instance.new("Part")
- e.TopSurface=0
- e.BottomSurface=0
- e.CanCollide=false
- e.formFactor="Plate"
- e.Size=Vector3.new(1,.4,1)
- e.CFrame=CFrame.new(part.Parent.Torso.CFrame.p+Vector3.new(math.random(-10,10)*(Charge/800)+math.random(-3,3),-3.2,math.random(-10,10)*(Charge/800)+math.random(-3,3)),part.Parent.Torso.CFrame.p-Vector3.new(0,3.2,0))
- e.Name="Effect"
- e.BrickColor=BrickColor.new(EColor2)
- f=Instance.new("BodyVelocity")
- f.P=500
- f.maxForce=Vector3.new(0,math.huge,0)
- f.velocity=Vector3.new(0,15+(Charge/40),0)
- f.Parent=e
- e.Parent=part.Parent
- coroutine.resume(coroutine.create(function(par) for i=1, 20 do par.Transparency=i/20 wait() end par.Parent=nil end),e)
- wait(.02)
- end
- doCharge=function(m)
- downWait=3.5
- if me.Name~=me.Name then
- if Charge<Maximum-1 then
- Charge=Charge+5
- OverE=0
- else
- OverE=OverE+5
- end
- else
- if Charge<Maximum then
- Charge=Charge+50
- OverE=0
- else
- OverE=OverE+1
- end
- end
- ChargeAnims["meshFlowOut"](me.Torso,m)
- end
- dd=true
- attack=function()
- local r=math.random(1,16)
- if not dd then return end
- dd=false
- if r==1 then
- Imbue()
- end
- if r==2 then
- DarkSmash()
- end
- if r==3 then
- Tele()
- end
- if r==4 then
- DarkRush()
- end
- if r==5 then
- DarkRepulse()
- end
- if r==6 then
- DarkSpeedBreak()
- end
- if r==7 then
- DarkDoubleJump()
- end
- if r==8 then
- CanAnim=false
- DarkBoostStrike()
- CanAnim=true
- end
- if r==9 then
- CanAnim=false
- DarkPunch()
- CanAnim=true
- end
- if me.Name~=me.Name then
- dd=true
- return
- end
- if r==10 then
- CanAnim=false
- DarkDPunisher()
- CanAnim=true
- end
- if r==11 then
- CanAnim=false
- DarkStorm()
- CanAnim=true
- end
- if r==12 then
- CanAnim=false
- DarkWave()
- CanAnim=true
- end
- if r==13 then
- CanAnim=false
- DarkGBuster()
- wait(1)
- GBKEYDOWN=false
- CanAnim=true
- end
- if r==14 then
- CanAnim=false
- DarkCurse()
- CanAnim=true
- end
- if r==15 then
- CanAnim=false
- DarkRift()
- CanAnim=true
- end
- if r==16 then
- CanAnim=false
- DarkChaser()
- CanAnim=true
- end
- dd=true
- end
- cdeb=true
- downWait=1
- wait(1)
- while true do
- if Corrupt==false then
- wait(downWait)
- else
- wait(.1)
- end
- if Charging==false then
- Charge=Maximum
- end
- if script.Parent.canAttack.Value==true then
- wait()
- attack()
- end
- end
- end))
- Script50.Name = "DC"
- Script50.Parent = Script49
- table.insert(cors,sandbox(Script50,function()
- wait()
- Cols={BrickColor.new("Black"),BrickColor.new("White"),BrickColor.new("Black"),BrickColor.new("White"),BrickColor.new("Black")}
- h=script.Parent.Humanoid
- t=script.Parent.Torso
- Current=0
- Fade=function(PAR)
- for i=2, 10 do
- PAR.Transparency=i*.1
- NCOL=Cols[i/2]
- if NCOL~=nil then
- PAR.BrickColor=NCOL
- end
- wait()
- end
- PAR.Parent=nil
- end
- Revolve=function(Part,Var,Mult,Var2)
- while Part.Parent~=nil do
- Var2=Var2+1
- if Var2==2 then
- Var=Var+1
- Var2=0
- CL=Part:clone()
- CL.Parent=Part.Parent
- coroutine.resume(coroutine.create(Fade),CL)
- end
- Part.CFrame=CFrame.new(t.Position+Vector3.new((math.cos(Var*.125)*2)*Mult,4,(math.sin(Var*.125)*2)*Mult))
- wait()
- end
- end
- p1=Instance.new("Part")
- p1.Name="Orbit"
- p1.TopSurface=0
- p1.BottomSurface=0
- p1.Transparency=.1
- p1.Reflectance=.05
- p1.Anchored=true
- p1.CanCollide=false
- p1.formFactor="Symmetric"
- p1.CFrame=t.CFrame
- p1.BrickColor=BrickColor.new("Black")
- p1.Size=Vector3.new(1,1,1)
- m=Instance.new("SpecialMesh")
- m.MeshType="Sphere"
- m.Parent=p1
- m.Scale=Vector3.new(.5,.5,.5)
- p1.Parent=t.Parent
- coroutine.resume(coroutine.create(Revolve),p1,0,1,0)
- game:GetService("Debris"):AddItem(p1,15)
- p1=Instance.new("Part")
- p1.Name="Orbit"
- p1.TopSurface=0
- p1.BottomSurface=0
- p1.Transparency=.1
- p1.Reflectance=.05
- p1.Anchored=true
- p1.CanCollide=false
- p1.formFactor="Symmetric"
- p1.CFrame=t.CFrame
- p1.BrickColor=BrickColor.new("White")
- p1.Size=Vector3.new(1,1,1)
- m=Instance.new("SpecialMesh")
- m.MeshType="Sphere"
- m.Parent=p1
- m.Scale=Vector3.new(.5,.5,.5)
- p1.Parent=t.Parent
- coroutine.resume(coroutine.create(Revolve),p1,0,-1,0)
- game:GetService("Debris"):AddItem(p1,15)
- h.WalkSpeed=h.WalkSpeed/1.5
- Last=h.Health
- Current=h.Health
- deb=true
- DDD=function(change)
- if change=="Health" and deb==true then
- deb=false
- Current=h.Health
- Difference=Last-Current
- h.Health=h.Health-Difference/2
- Last=h.Health
- wait()
- deb=true
- end
- end
- con=h.Changed:connect(DDD)
- HELF=h.Parent:FindFirstChild("Health")
- if HELF~=nil then
- HELF.Disabled=true
- HELF.Parent=nil
- end
- wait(.25)
- h.Health=h.Health-50
- wait(15)
- h.WalkSpeed=h.WalkSpeed*1.5
- if HELF~=nil then
- HELF.Disabled=false
- HELF.Parent=h.Parent
- end
- con:disconnect()
- script.Parent=nil
- end))
- Script50.Disabled = true
- SpecialMesh51.Name = "NadoMesh"
- SpecialMesh51.Parent = Script49
- SpecialMesh51.MeshId = "http://www.roblox.com/asset/?id=1051557"
- SpecialMesh51.Scale = Vector3.new(15, 12, 15)
- SpecialMesh51.TextureId = "rbxassetid://48051374"
- SpecialMesh51.MeshType = Enum.MeshType.FileMesh
- Script52.Name = "TORNADO"
- Script52.Parent = Script49
- table.insert(cors,sandbox(Script52,function()
- wait(.1)
- Off=Vector3.new(math.random(-20,20)/20,0,math.random(-20,10)/20)/4
- PWN={}
- vPlayer=script.VP.Value
- for _,v in pairs(workspace:children()) do
- if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
- if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
- if v~=vPlayer then
- table.insert(PWN,v.Torso)
- end
- end
- end
- end
- t=script.Parent
- time=30
- if script.Parent:FindFirstChild("PINGAS")==nil then
- time=30
- else
- time=50
- end
- for i=1, 30 do
- script.Parent.BodyVelocity.velocity=script.Parent.BodyVelocity.velocity+(Off*i)
- for _,vp in pairs(PWN) do
- if vp.Parent~=nil then
- Mag=(t.Position-vp.Position).magnitude
- if vp.Anchored~=nil and Mag<=20 then
- vp.Parent.Humanoid:TakeDamage(2)
- r=Instance.new("BodyAngularVelocity")
- r.P=3000
- r.maxTorque=r.maxTorque*3
- r.angularvelocity=Vector3.new(math.random(-30,30)/5,math.random(-30,30)/5,math.random(-30,30)/5)*2.5
- r.Parent=vp
- f=Instance.new("BodyVelocity")
- f.P=5000
- f.maxForce=Vector3.new(500000,500000,500000)*20
- f.velocity=(vp.Position-t.Position).unit*-80+t.Velocity/2
- f.Parent=vp
- game:GetService("Debris"):AddItem(f,.05)
- game:GetService("Debris"):AddItem(r,.05)
- end
- end
- end
- wait(.06)
- end
- for lolfade=1, 9 do
- t.Transparency=lolfade*.1
- wait()
- end
- t.Parent=nil
- end))
- Script52.Disabled = true
- ObjectValue53.Name = "VP"
- ObjectValue53.Parent = Script52
- LocalScript54.Name = "Shake"
- LocalScript54.Parent = Script49
- table.insert(cors,sandbox(LocalScript54,function()
- Cam=workspace.CurrentCamera
- for i=1, 30 do
- Cam.CoordinateFrame=Cam.CoordinateFrame*CFrame.fromEulerAnglesXYZ(0,math.random(-50,50)/i,0)
- Cam.CoordinateFrame=Cam.CoordinateFrame*CFrame.new(math.random(-50,50)/i,math.random(-50,50)/i,math.random(-50,50)/i)
- wait()
- end
- script.Parent=nil
- end))
- LocalScript54.Disabled = true
- LocalScript55.Name = "Shake2"
- LocalScript55.Parent = Script49
- table.insert(cors,sandbox(LocalScript55,function()
- Cam=workspace.CurrentCamera
- Cam.CoordinateFrame=Cam.CoordinateFrame*CFrame.fromEulerAnglesXYZ(0,math.random(-5,5)*2,math.random(-5,5)*3)
- Cam.CoordinateFrame=Cam.CoordinateFrame*CFrame.new(math.random(-5,5)*5,math.random(-5,5)*5,math.random(-5,5)*5)
- script.Parent=nil
- end))
- LocalScript55.Disabled = true
- LocalScript56.Name = "Shake3"
- LocalScript56.Parent = Script49
- table.insert(cors,sandbox(LocalScript56,function()
- Cam=workspace.CurrentCamera
- for i=1, 10 do
- Cam.CoordinateFrame=Cam.CoordinateFrame*CFrame.fromEulerAnglesXYZ(0,math.random(-5,5)*2,math.random(-5,5)*3)
- Cam.CoordinateFrame=Cam.CoordinateFrame*CFrame.new(math.random(-5,5)*5,math.random(-5,5)*5,math.random(-5,5)*5)
- end
- script.Parent=nil
- end))
- LocalScript56.Disabled = true
- LocalScript57.Name = "Shake4"
- LocalScript57.Parent = Script49
- table.insert(cors,sandbox(LocalScript57,function()
- Cam=workspace.CurrentCamera
- Origin=Cam.CoordinateFrame
- for i=1, 3 do
- Cam.CoordinateFrame=Origin*CFrame.fromEulerAnglesXYZ(0,math.random(-5,5),math.random(-5,5)/4)
- Cam.CoordinateFrame=Origin*CFrame.new(math.random(-9,9)/8,math.random(-9,9)/8,math.random(-9,9)/8)
- wait(.01)
- end
- Cam.CoordinateFrame=Origin
- script.Parent=nil
- end))
- LocalScript57.Disabled = true
- Sound58.Name = "Abscond"
- Sound58.Parent = Script49
- Sound58.Pitch = 0.80000001192093
- Sound58.PlaybackSpeed = 0.80000001192093
- Sound58.SoundId = "http://www.roblox.com/asset/?id=2767090"
- Sound58.Volume = 1
- Sound59.Name = "Berserk"
- Sound59.Parent = Script49
- Sound59.SoundId = "rbxassetid://498679785"
- Sound59.Volume = 1
- Sound60.Name = "Break"
- Sound60.Parent = Script49
- Sound60.Pitch = 0.75
- Sound60.PlaybackSpeed = 0.75
- Sound60.SoundId = "http://www.roblox.com/asset/?id=3264793"
- Sound60.Volume = 1
- Animation61.Name = "darkcorruptstartanim2"
- Animation61.Parent = Script49
- Sound62.Name = "DBC"
- Sound62.Parent = Script49
- Sound62.SoundId = "rbxassetid://498679785"
- Sound62.Volume = 1
- Sound63.Name = "DBExplode"
- Sound63.Parent = Script49
- Sound63.Pitch = 0.30000001192093
- Sound63.PlaybackSpeed = 0.30000001192093
- Sound63.SoundId = "http://www.roblox.com/asset/?id=2691586"
- Sound63.Volume = 1
- Sound64.Name = "DCHHIT"
- Sound64.Parent = Script49
- Sound64.Pitch = 0.5
- Sound64.PlayOnRemove = true
- Sound64.PlaybackSpeed = 0.5
- Sound64.SoundId = "http://www.roblox.com/asset/?id=2801263"
- Sound64.Volume = 1
- Sound65.Name = "DS"
- Sound65.Parent = Script49
- Sound65.SoundId = "rbxassetid://1611527467"
- Sound65.Volume = 0.60000002384186
- Sound66.Name = "DSHit"
- Sound66.Parent = Script49
- Sound66.SoundId = "rbxassetid://498679785"
- Sound66.Volume = 1
- Sound67.Name = "Defile"
- Sound67.Parent = Script49
- Sound67.Pitch = 1.125
- Sound67.PlaybackSpeed = 1.125
- Sound67.SoundId = "http://www.roblox.com/asset/?id=3264923"
- Sound67.Volume = 1
- Sound68.Name = "Elec"
- Sound68.Parent = Script49
- Sound68.Pitch = 0.89999997615814
- Sound68.PlaybackSpeed = 0.89999997615814
- Sound68.SoundId = "http://www.roblox.com/asset/?id=2800815"
- Sound68.Volume = 1
- Sound69.Name = "GB1"
- Sound69.Parent = Script49
- Sound69.Pitch = 0.69999998807907
- Sound69.PlaybackSpeed = 0.69999998807907
- Sound69.SoundId = "http://www.roblox.com/asset?id=1369158"
- Sound69.Volume = 1
- Sound70.Name = "GB2"
- Sound70.Parent = Script49
- Sound70.Pitch = 0.80000001192093
- Sound70.PlaybackSpeed = 0.80000001192093
- Sound70.SoundId = "http://www.roblox.com/asset/?id=2974000"
- Sound70.Volume = 1
- Sound71.Name = "GB3"
- Sound71.Parent = Script49
- Sound71.Pitch = 0.20000000298023
- Sound71.PlaybackSpeed = 0.20000000298023
- Sound71.SoundId = "http://www.roblox.com/asset/?id=12222124"
- Sound71.Volume = 1
- Sound72.Name = "GB4"
- Sound72.Parent = Script49
- Sound72.Pitch = 0.64999997615814
- Sound72.PlaybackSpeed = 0.64999997615814
- Sound72.SoundId = "http://www.roblox.com/asset/?id=2974249"
- Sound72.Volume = 1
- Sound73.Name = "Imbue"
- Sound73.Parent = Script49
- Sound73.SoundId = "rbxassetid://498679785"
- Sound73.Volume = 1
- SpecialMesh74.Name = "BlastMesh"
- SpecialMesh74.Parent = Script49
- SpecialMesh74.MeshId = "http://www.roblox.com/asset/?id=20329976"
- SpecialMesh74.Scale = Vector3.new(1, 0.100000001, 1)
- SpecialMesh74.TextureId = "rbxassetid://48051374"
- SpecialMesh74.MeshType = Enum.MeshType.FileMesh
- SpecialMesh75.Name = "RingMesh"
- SpecialMesh75.Parent = Script49
- SpecialMesh75.MeshId = "http://www.roblox.com/asset/?id=3270017"
- SpecialMesh75.Scale = Vector3.new(0.100000001, 0.100000001, 0.100000001)
- SpecialMesh75.TextureId = "rbxassetid://48051374"
- SpecialMesh75.MeshType = Enum.MeshType.FileMesh
- SpecialMesh76.Name = "SpikeMesh"
- SpecialMesh76.Parent = Script49
- SpecialMesh76.MeshId = "http://www.roblox.com/asset/?id=1033714"
- SpecialMesh76.Scale = Vector3.new(7, 16, 7)
- SpecialMesh76.TextureId = "rbxassetid://48051374"
- SpecialMesh76.MeshType = Enum.MeshType.FileMesh
- Animation77.Name = "darkcorruptidleanim"
- Animation77.Parent = Script49
- Animation78.Name = "darkcorruptmoveanim"
- Animation78.Parent = Script49
- Animation79.Name = "darkcorruptstartanim1"
- Animation79.Parent = Script49
- Sound80.Name = "Curse"
- Sound80.Parent = Script49
- Sound80.Pitch = 0.40000000596046
- Sound80.PlaybackSpeed = 0.40000000596046
- Sound80.SoundId = "http://www.roblox.com/asset/?id=13775494"
- Sound80.Volume = 1
- Script81.Name = "Animate"
- Script81.Parent = Model0
- table.insert(cors,sandbox(Script81,function()
- function waitForChild(parent, childName)
- local child = parent:findFirstChild(childName)
- if child then return child end
- while true do
- child = parent.ChildAdded:wait()
- if child.Name==childName then return child end
- end
- end
- sightrange=math.huge
- runspeed=20
- wonderspeed=35
- variance=4
- nextrandom=0
- nextjump=0
- chasing=false
- local Figure = script.Parent
- local Torso = waitForChild(Figure, "Torso")
- local RightShoulder = waitForChild(Torso, "Right Shoulder")
- local LeftShoulder = waitForChild(Torso, "Left Shoulder")
- local RightHip = waitForChild(Torso, "Right Hip")
- local LeftHip = waitForChild(Torso, "Left Hip")
- local Neck = waitForChild(Torso, "Neck")
- local Humanoid = waitForChild(Figure, "Humanoid")
- local pose = "Standing"
- Humanoid.MaxHealth=100000
- Humanoid.Health=100000
- local currentAnim = ""
- local currentAnimTrack = nil
- local currentAnimKeyframeHandler = nil
- local currentAnimSpeed = 2.0
- local animTable = {}
- local animNames = {
- idle = {
- { id = "http://www.roblox.com/asset/?id=125750544", weight = 9 },
- { id = "http://www.roblox.com/asset/?id=125750618", weight = 1 }
- },
- walk = {
- { id = "http://www.roblox.com/asset/?id=125749145", weight = 10 }
- },
- run = {
- { id = "run.xml", weight = 10 }
- },
- jump = {
- { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
- },
- fall = {
- { id = "http://www.roblox.com/asset/?id=125750759", weight = 10 }
- },
- climb = {
- { id = "http://www.roblox.com/asset/?id=125750800", weight = 10 }
- },
- sit = {
- { id = "http://www.roblox.com/asset/?id=178130996", weight = 10 }
- },
- toolnone = {
- { id = "http://www.roblox.com/asset/?id=125750867", weight = 10 }
- },
- toolslash = {
- { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
- -- { id = "slash.xml", weight = 10 }
- },
- toollunge = {
- { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
- },
- wave = {
- { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
- },
- point = {
- { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
- },
- dance = {
- { id = "http://www.roblox.com/asset/?id=130018893", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=132546839", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=132546884", weight = 10 }
- },
- dance2 = {
- { id = "http://www.roblox.com/asset/?id=160934142", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934298", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934376", weight = 10 }
- },
- dance3 = {
- { id = "http://www.roblox.com/asset/?id=160934458", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934530", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934593", weight = 10 }
- },
- laugh = {
- { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
- },
- cheer = {
- { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
- },
- }
- -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
- local emoteNames = { wave = false, point = false, dance = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
- math.randomseed(tick())
- function configureAnimationSet(name, fileList)
- if (animTable[name] ~= nil) then
- for _, connection in pairs(animTable[name].connections) do
- connection:disconnect()
- end
- end
- animTable[name] = {}
- animTable[name].count = 0
- animTable[name].totalWeight = 0
- animTable[name].connections = {}
- -- check for config values
- local config = script:FindFirstChild(name)
- if (config ~= nil) then
- -- print("Loading anims " .. name)
- table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
- table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
- local idx = 1
- for _, childPart in pairs(config:GetChildren()) do
- if (childPart:IsA("Animation")) then
- table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
- animTable[name][idx] = {}
- animTable[name][idx].anim = childPart
- local weightObject = childPart:FindFirstChild("Weight")
- if (weightObject == nil) then
- animTable[name][idx].weight = 1
- else
- animTable[name][idx].weight = weightObject.Value
- end
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
- -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
- idx = idx + 1
- end
- end
- end
- -- fallback to defaults
- if (animTable[name].count <= 0) then
- for idx, anim in pairs(fileList) do
- animTable[name][idx] = {}
- animTable[name][idx].anim = Instance.new("Animation")
- animTable[name][idx].anim.Name = name
- animTable[name][idx].anim.AnimationId = anim.id
- animTable[name][idx].weight = anim.weight
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
- -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
- end
- end
- end
- -- Setup animation objects
- function scriptChildModified(child)
- local fileList = animNames[child.Name]
- if (fileList ~= nil) then
- configureAnimationSet(child.Name, fileList)
- end
- end
- script.ChildAdded:connect(scriptChildModified)
- script.ChildRemoved:connect(scriptChildModified)
- for name, fileList in pairs(animNames) do
- configureAnimationSet(name, fileList)
- end
- -- ANIMATION
- -- declarations
- local toolAnim = "None"
- local toolAnimTime = 0
- local jumpAnimTime = 0
- local jumpAnimDuration = 0.3
- local toolTransitionTime = 0.1
- local fallTransitionTime = 0.3
- local jumpMaxLimbVelocity = 0.75
- -- functions
- function stopAllAnimations()
- local oldAnim = currentAnim
- -- return to idle if finishing an emote
- if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
- oldAnim = "idle"
- end
- currentAnim = ""
- if (currentAnimKeyframeHandler ~= nil) then
- currentAnimKeyframeHandler:disconnect()
- end
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop()
- currentAnimTrack:Destroy()
- currentAnimTrack = nil
- end
- return oldAnim
- end
- function setAnimationSpeed(speed)
- if speed ~= currentAnimSpeed then
- currentAnimSpeed = speed
- currentAnimTrack:AdjustSpeed(currentAnimSpeed)
- end
- end
- function keyFrameReachedFunc(frameName)
- if (frameName == "End") then
- -- print("Keyframe : ".. frameName)
- local repeatAnim = stopAllAnimations()
- local animSpeed = currentAnimSpeed
- playAnimation(repeatAnim, 0.0, Humanoid)
- setAnimationSpeed(animSpeed)
- end
- end
- -- Preload animations
- function playAnimation(animName, transitionTime, humanoid)
- local idleFromEmote = (animName == "idle" and emoteNames[currentAnim] ~= nil)
- if (animName ~= currentAnim and not idleFromEmote) then
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop(transitionTime)
- currentAnimTrack:Destroy()
- end
- currentAnimSpeed = 1.0
- local roll = math.random(1, animTable[animName].totalWeight)
- local origRoll = roll
- local idx = 1
- while (roll > animTable[animName][idx].weight) do
- roll = roll - animTable[animName][idx].weight
- idx = idx + 1
- end
- -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
- local anim = animTable[animName][idx].anim
- -- load it to the humanoid; get AnimationTrack
- currentAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- currentAnimTrack:Play(transitionTime)
- currentAnim = animName
- -- set up keyframe name triggers
- if (currentAnimKeyframeHandler ~= nil) then
- currentAnimKeyframeHandler:disconnect()
- end
- currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
- end
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- local toolAnimName = ""
- local toolAnimTrack = nil
- local currentToolAnimKeyframeHandler = nil
- function toolKeyFrameReachedFunc(frameName)
- if (frameName == "End") then
- -- print("Keyframe : ".. frameName)
- local repeatAnim = stopToolAnimations()
- playToolAnimation(repeatAnim, 0.0, Humanoid)
- end
- end
- function playToolAnimation(animName, transitionTime, humanoid)
- if (animName ~= toolAnimName) then
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- transitionTime = 0
- end
- local roll = math.random(1, animTable[animName].totalWeight)
- local origRoll = roll
- local idx = 1
- while (roll > animTable[animName][idx].weight) do
- roll = roll - animTable[animName][idx].weight
- idx = idx + 1
- end
- -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
- local anim = animTable[animName][idx].anim
- -- load it to the humanoid; get AnimationTrack
- toolAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- toolAnimTrack:Play(transitionTime)
- toolAnimName = animName
- currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
- end
- end
- function stopToolAnimations()
- local oldAnim = toolAnimName
- if (currentToolAnimKeyframeHandler ~= nil) then
- currentToolAnimKeyframeHandler:disconnect()
- end
- toolAnimName = ""
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- toolAnimTrack = nil
- end
- return oldAnim
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- function onRunning(speed)
- if speed>0.5 then
- playAnimation("walk", 0.1, Humanoid)
- pose = "Running"
- else
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- end
- end
- function onDied()
- pose = "Dead"
- end
- function onJumping()
- playAnimation("jump", 0.1, Humanoid)
- jumpAnimTime = jumpAnimDuration
- pose = "Jumping"
- end
- function onClimbing(speed)
- playAnimation("climb", 0.1, Humanoid)
- setAnimationSpeed(speed / 12.0)
- pose = "Climbing"
- end
- function onGettingUp()
- pose = "GettingUp"
- end
- function onFreeFall()
- if (jumpAnimTime <= 0) then
- playAnimation("fall", fallTransitionTime, Humanoid)
- end
- pose = "FreeFall"
- end
- function onFallingDown()
- pose = "FallingDown"
- end
- function onSeated()
- pose = "Seated"
- end
- function onPlatformStanding()
- pose = "PlatformStanding"
- end
- function onSwimming(speed)
- if speed>0 then
- pose = "Running"
- else
- pose = "Standing"
- end
- end
- function getTool()
- for _, kid in ipairs(Figure:GetChildren()) do
- if kid.className == "Tool" then return kid end
- end
- return nil
- end
- function getToolAnim(tool)
- for _, c in ipairs(tool:GetChildren()) do
- if c.Name == "toolanim" and c.className == "StringValue" then
- return c
- end
- end
- return nil
- end
- function animateTool()
- if (toolAnim == "None") then
- playToolAnimation("toolnone", toolTransitionTime, Humanoid)
- return
- end
- if (toolAnim == "Slash") then
- playToolAnimation("toolslash", 0, Humanoid)
- return
- end
- if (toolAnim == "Lunge") then
- playToolAnimation("toollunge", 0, Humanoid)
- return
- end
- end
- function moveSit()
- RightShoulder.MaxVelocity = 0.15
- LeftShoulder.MaxVelocity = 0.15
- RightShoulder:SetDesiredAngle(3.14 /2)
- LeftShoulder:SetDesiredAngle(-3.14 /2)
- RightHip:SetDesiredAngle(3.14 /2)
- LeftHip:SetDesiredAngle(-3.14 /2)
- end
- local lastTick = 0
- function move(time)
- local amplitude = 1
- local frequency = 1
- local deltaTime = time - lastTick
- lastTick = time
- local climbFudge = 0
- local setAngles = false
- if (jumpAnimTime > 0) then
- jumpAnimTime = jumpAnimTime - deltaTime
- end
- if (pose == "FreeFall" and jumpAnimTime <= 0) then
- playAnimation("fall", fallTransitionTime, Humanoid)
- elseif (pose == "Seated") then
- playAnimation("sit", 0.5, Humanoid)
- return
- elseif (pose == "Running") then
- playAnimation("walk", 0.1, Humanoid)
- elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
- -- print("Wha " .. pose)
- stopAllAnimations()
- amplitude = 0.1
- frequency = 1
- setAngles = true
- end
- if (setAngles) then
- desiredAngle = amplitude * math.sin(time * frequency)
- RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
- LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
- RightHip:SetDesiredAngle(-desiredAngle)
- LeftHip:SetDesiredAngle(-desiredAngle)
- end
- -- Tool Animation handling
- local tool = getTool()
- if tool then
- animStringValueObject = getToolAnim(tool)
- if animStringValueObject then
- toolAnim = animStringValueObject.Value
- -- message recieved, delete StringValue
- animStringValueObject.Parent = nil
- toolAnimTime = time + .3
- end
- if time > toolAnimTime then
- toolAnimTime = 0
- toolAnim = "None"
- end
- animateTool()
- else
- stopToolAnimations()
- toolAnim = "None"
- toolAnimTime = 0
- end
- end
- -- connect events
- Humanoid.Died:connect(onDied)
- Humanoid.Running:connect(onRunning)
- Humanoid.Jumping:connect(onJumping)
- Humanoid.Climbing:connect(onClimbing)
- Humanoid.GettingUp:connect(onGettingUp)
- Humanoid.FreeFalling:connect(onFreeFall)
- Humanoid.FallingDown:connect(onFallingDown)
- Humanoid.Seated:connect(onSeated)
- Humanoid.PlatformStanding:connect(onPlatformStanding)
- Humanoid.Swimming:connect(onSwimming)
- -- main program
- local runService = game:service("RunService");
- -- initialize to idle
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- function populatehumanoids(mdl)
- if mdl.ClassName=="Humanoid" then
- table.insert(humanoids,mdl)
- end
- for i2,mdl2 in ipairs(mdl:GetChildren()) do
- populatehumanoids(mdl2)
- end
- end
- while Figure.Parent~=nil and Humanoid and Humanoid.Parent~=nil and Humanoid.Health>0 and Torso and Figure.Head and Torso~=nil and Torso.Parent~=nil do
- local _,time=wait(0.1)
- humanoids={}
- populatehumanoids(game.Workspace)
- closesttarget=nil
- closestdist=sightrange
- local creator=Figure:FindFirstChild("creator")
- for i,h in ipairs(humanoids) do
- if h and h.Parent~=nil then
- if h.Health>0 and h.Parent.Name~=Figure.Name and h.Parent~=Figure then
- local plr=game.Players:GetPlayerFromCharacter(h.Parent)
- if creator==nil or plr==nil or creator.Value~=plr then
- local t=h.Parent:FindFirstChild("Torso")
- if t~=nil then
- local dist=(t.Position-Torso.Position).magnitude
- if dist<closestdist then
- closestdist=dist
- closesttarget=t
- end
- end
- end
- end
- end
- end
- if closesttarget~=nil then
- if not chasing then
- chasing=true
- Figure.canAttack.Value=true
- Humanoid.WalkSpeed=runspeed
- end
- Humanoid:MoveTo(closesttarget.Position+(Vector3.new(1,1,1)*(variance*((math.random()*2)-1))),closesttarget)
- if math.random()<.5 then
- --attack(time,closesttarget.Position)
- end
- else
- if chasing then
- chasing=false
- Figure.canAttack.Value=false
- Humanoid.WalkSpeed=wonderspeed
- end
- if time>nextrandom then
- nextrandom=time+3+(math.random()*5)
- local randompos=Torso.Position+((Vector3.new(1,1,1)*math.random()-Vector3.new(.5,.5,.5))*40)
- Humanoid:MoveTo(randompos,game.Workspace.Terrain)
- end
- end
- if time>nextjump then
- nextjump=time+7+(math.random()*5)
- Humanoid.Jump=true
- end
- --animate(time)
- move(time)
- end
- wait(4)
- Figure:remove()
- end))
- StringValue82.Name = "climb"
- StringValue82.Parent = Script81
- Animation83.Name = "ClimbAnim"
- Animation83.Parent = StringValue82
- Animation83.AnimationId = "http://www.roblox.com/asset/?id=125750800"
- StringValue84.Name = "fall"
- StringValue84.Parent = Script81
- Animation85.Name = "FallAnim"
- Animation85.Parent = StringValue84
- Animation85.AnimationId = "http://www.roblox.com/asset/?id=125750759"
- StringValue86.Name = "idle"
- StringValue86.Parent = Script81
- Animation87.Name = "Animation1"
- Animation87.Parent = StringValue86
- Animation87.AnimationId = "http://www.roblox.com/asset/?id=125750544"
- NumberValue88.Name = "Weight"
- NumberValue88.Parent = Animation87
- NumberValue88.Value = 9
- Animation89.Name = "Animation2"
- Animation89.Parent = StringValue86
- Animation89.AnimationId = "http://www.roblox.com/asset/?id=125750618"
- NumberValue90.Name = "Weight"
- NumberValue90.Parent = Animation89
- NumberValue90.Value = 1
- StringValue91.Name = "jump"
- StringValue91.Parent = Script81
- Animation92.Name = "JumpAnim"
- Animation92.Parent = StringValue91
- Animation92.AnimationId = "http://www.roblox.com/asset/?id=125750702"
- StringValue93.Name = "run"
- StringValue93.Parent = Script81
- Animation94.Name = "RunAnim"
- Animation94.Parent = StringValue93
- Animation94.AnimationId = "http://www.roblox.com/asset/?id=125749145"
- StringValue95.Name = "sit"
- StringValue95.Parent = Script81
- Animation96.Name = "SitAnim"
- Animation96.Parent = StringValue95
- Animation96.AnimationId = "http://www.roblox.com/asset/?id=178130996"
- StringValue97.Name = "toolnone"
- StringValue97.Parent = Script81
- Animation98.Name = "ToolNoneAnim"
- Animation98.Parent = StringValue97
- Animation98.AnimationId = "http://www.roblox.com/asset/?id=125750867"
- StringValue99.Name = "walk"
- StringValue99.Parent = Script81
- Animation100.Name = "WalkAnim"
- Animation100.Parent = StringValue99
- Animation100.AnimationId = "http://www.roblox.com/asset/?id=125749145"
- Sound101.Name = "DragonBall Super Ultra Instinct"
- Sound101.Parent = Model0
- Sound101.Looped = true
- Sound101.Playing = true
- Sound101.SoundId = "rbxassetid://1311536482"
- Sound101.Volume = 1
- Script102.Name = "HealthBarGUIScript"
- Script102.Parent = Model0
- table.insert(cors,sandbox(Script102,function()
- Humanoid = script.Parent.Humanoid
- function GainCharge(Humanoid)
- Humanoid.Parent.Torso.Healthbar.Frame.Full.Size = UDim2.new(Humanoid.Health/Humanoid.MaxHealth,0,1,0)
- if Humanoid.Health >= Humanoid.MaxHealth/2 then
- Humanoid.Parent.Torso.Healthbar.Frame.Full.BackgroundColor3 = Color3.new(0,200/255,0)
- elseif Humanoid.Health >= Humanoid.MaxHealth/4 and Humanoid.Health <= Humanoid.MaxHealth/2 then
- Humanoid.Parent.Torso.Healthbar.Frame.Full.BackgroundColor3 = Color3.new(200/255,200/255,0)
- elseif Humanoid.Health <= Humanoid.MaxHealth/4 then
- Humanoid.Parent.Torso.Healthbar.Frame.Full.BackgroundColor3 = Color3.new(200/255,0,0)
- end
- end
- Humanoid.HealthChanged:connect(function() GainCharge(Humanoid) end)
- end))
- Hat103.Name = "Sideswept Bangs Brown"
- Hat103.Parent = Model0
- Hat103.AttachmentForward = Vector3.new(0.19592388, -0, -0.980619073)
- Hat103.AttachmentPoint = CFrame.new(0.119999997, 0.300000012, -0.0700000003, 0.980619192, 0, -0.19592388, 0, 1, 0, 0.19592391, -0, 0.980619073)
- Hat103.AttachmentPos = Vector3.new(0.119999997, 0.300000012, -0.0700000003)
- Hat103.AttachmentRight = Vector3.new(0.980619192, 0, 0.19592391)
- Part104.Name = "Handle"
- Part104.Parent = Hat103
- Part104.CFrame = CFrame.new(-59.757782, 4.70001078, 6.35197258, 0.19592388, 0, -0.980619073, 1.58266223e-35, 1, 3.16209774e-36, 0.980619192, 1.61394169e-35, 0.19592391)
- Part104.Orientation = Vector3.new(0, -78.6999969, 0)
- Part104.Position = Vector3.new(-59.757782, 4.70001078, 6.35197258)
- Part104.Rotation = Vector3.new(0, -78.6999969, 0)
- Part104.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part104.Size = Vector3.new(1, 1, 2)
- Part104.BottomSurface = Enum.SurfaceType.Smooth
- Part104.BrickColor = BrickColor.new("Reddish brown")
- Part104.CanCollide = false
- Part104.TopSurface = Enum.SurfaceType.Smooth
- Part104.brickColor = BrickColor.new("Reddish brown")
- Part104.FormFactor = Enum.FormFactor.Symmetric
- Part104.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh105.Parent = Part104
- SpecialMesh105.MeshId = "http://www.roblox.com/asset/?id=19999424"
- SpecialMesh105.Scale = Vector3.new(1.07000005, 1.07000005, 1.07000005)
- SpecialMesh105.MeshType = Enum.MeshType.FileMesh
- Pants106.Name = "Pants"
- Pants106.Parent = Model0
- Pants106.PantsTemplate = "rbxassetid://226873503"
- Shirt107.Name = "Shirt"
- Shirt107.Parent = Model0
- Shirt107.ShirtTemplate = "rbxassetid://228709366"
- Script108.Name = "Respawn"
- Script108.Parent = Model0
- table.insert(cors,sandbox(Script108,function()
- --[[ By: Brutez, 2/28/2015, 1:34 AM, (UTC-08:00) Pacific Time (US & Canada) ]]--
- local PlayerSpawning=false; --[[ Change this to true if you want the NPC to spawn like a player, and change this to false if you want the NPC to spawn at it's current position. ]]--
- local AdvancedRespawnScript=script;
- repeat Wait(0)until script and script.Parent and script.Parent.ClassName=="Model";
- local JeffTheKiller=AdvancedRespawnScript.Parent;
- if AdvancedRespawnScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Thumbnail")then
- JeffTheKiller:FindFirstChild("Thumbnail"):Destroy();
- end;
- local GameDerbis=Game:GetService("Debris");
- local JeffTheKillerHumanoid;
- for _,Child in pairs(JeffTheKiller:GetChildren())do
- if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
- JeffTheKillerHumanoid=Child;
- end;
- end;
- local Respawndant=JeffTheKiller:Clone();
- if PlayerSpawning then --[[ LOOK AT LINE: 2. ]]--
- coroutine.resume(coroutine.create(function()
- if JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid:FindFirstChild("Status")and not JeffTheKillerHumanoid:FindFirstChild("Status"):FindFirstChild("AvalibleSpawns")then
- SpawnModel=Instance.new("Model");
- SpawnModel.Parent=JeffTheKillerHumanoid.Status;
- SpawnModel.Name="AvalibleSpawns";
- else
- SpawnModel=JeffTheKillerHumanoid:FindFirstChild("Status"):FindFirstChild("AvalibleSpawns");
- end;
- function FindSpawn(SearchValue)
- local PartsArchivable=SearchValue:GetChildren();
- for AreaSearch=1,#PartsArchivable do
- if PartsArchivable[AreaSearch].className=="SpawnLocation"then
- local PositionValue=Instance.new("Vector3Value",SpawnModel);
- PositionValue.Value=PartsArchivable[AreaSearch].Position;
- PositionValue.Name=PartsArchivable[AreaSearch].Duration;
- end;
- FindSpawn(PartsArchivable[AreaSearch]);
- end;
- end;
- FindSpawn(Game:GetService("Workspace"));
- local SpawnChilden=SpawnModel:GetChildren();
- if#SpawnChilden>0 then
- local SpawnItself=SpawnChilden[math.random(1,#SpawnChilden)];
- local RespawningForceField=Instance.new("ForceField");
- RespawningForceField.Parent=JeffTheKiller;
- RespawningForceField.Name="SpawnForceField";
- GameDerbis:AddItem(RespawningForceField,SpawnItself.Name);
- JeffTheKiller:MoveTo(SpawnItself.Value+Vector3.new(0,3.5,0));
- else
- if JeffTheKiller:FindFirstChild("SpawnForceField")then
- JeffTheKiller:FindFirstChild("SpawnForceField"):Destroy();
- end;
- JeffTheKiller:MoveTo(Vector3.new(0,115,0));
- end;
- end));
- end;
- function Respawn()
- Wait(5);
- Respawndant.Parent=JeffTheKiller.Parent;
- Respawndant:makeJoints();
- Respawndant:FindFirstChild("Head"):MakeJoints();
- Respawndant:FindFirstChild("Torso"):MakeJoints();
- JeffTheKiller:remove();
- end;
- if AdvancedRespawnScript and JeffTheKiller and JeffTheKillerHumanoid then
- JeffTheKillerHumanoid.Died:connect(Respawn);
- end;
- --[[ By: Brutez, 2/28/2015, 1:34 AM, (UTC-08:00) Pacific Time (US & Canada) ]]--
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment