Advertisement
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,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end --[[
- Script: Lost Astronaut
- Creator: FantasyOrchid
- Buyer: nicemegaladon
- Moves:
- Click) Kick
- Click) Punch
- E) Multi Orb Attack
- Q) Big Orb Attack (Aim your mouse)
- Price: 50R
- ]]
- wait(1 / 60)
- Effects = { }
- Player = game.Players.localPlayer
- Character = Player.Character
- Humanoid = Character.Humanoid
- Mouse = Player:GetMouse()
- LeftArm = Character["Left Arm"]
- RightArm = Character["Right Arm"]
- LeftLeg = Character["Left Leg"]
- RightLeg = Character["Right Leg"]
- Head = Character.Head
- Torso = Character.Torso
- Camera = game.Workspace.CurrentCamera
- RootPart = Character.HumanoidRootPart
- RootJoint = RootPart.RootJoint
- attack = false
- Anim = 'Idle'
- attacktype = 1
- Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- velocity = RootPart.Velocity.y
- sine = 0
- change = 1
- hobb = 0
- rest = 0
- looprevive = false
- mode = false
- revive = false
- Kaioken = 0
- debris = game:service'Debris'
- Create = LoadLibrary("RbxUtility").Create
- ypcall(function()
- Character.Shirt:Remove()
- Character.Pants:Remove()
- Shirt = Instance.new("Shirt",Character)
- Shirt.ShirtTemplate = "rbxassetid://250422397" -- Clothing Items
- Shirt.Name = "Shirt"
- Pants = Instance.new("Pants",Character)
- Pants.PantsTemplate = "rbxassetid://250422453" -- Clothing Items
- Pants.Name = "Pants"
- Character["Body Colors"].HeadColor = BrickColor.new("Institutional white") -- Body Colors
- Character["Body Colors"].TorsoColor = BrickColor.new("Institutional white") -- Body Colors
- Character["Body Colors"].LeftArmColor = BrickColor.new("Institutional white") -- Body Colors
- Character["Body Colors"].RightArmColor = BrickColor.new("Institutional white") -- Body Colors
- end)
- for i,v in pairs(Character:children()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- local P = Instance.new("Part", Character)
- P.CanCollide = false
- P.Size = Vector3.new(1.1, 1.13, 1.33)
- P.BrickColor = BrickColor.new("Really black")
- local M = Instance.new("SpecialMesh", P)
- M.MeshId = "rbxassetid://181343290"
- M.TextureId = "rbxassetid://181343313"
- M.Scale = Vector3.new(1.1, 1.1, 1.1)
- M.Offset = Vector3.new(0, 0, 0)
- local W = Instance.new("Weld", Character.Head)
- W.Part0 = Character.Head
- W.Part1 = P
- W.C0 = CFrame.Angles(0, math.rad(0), 0)
- local m = Create("Model"){
- Parent = Character,
- Name = "WeaponModel",
- }
- Humanoid.Animator.Parent = nil
- Character.Animate.Parent = nil
- local newWeld = function(part0, part1, c0, c1)
- local w = Create('Weld'){
- Parent = part0,
- Part0 = part0,
- Part1 = part1,
- C0 = c0,
- C1 = c1,
- }
- return w
- end
- local function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5/s
- return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00-m11-m22+1)
- local recip = 0.5/s
- return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
- elseif i == 1 then
- local s = math.sqrt(m11-m22-m00+1)
- local recip = 0.5/s
- return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
- elseif i == 2 then
- local s = math.sqrt(m22-m00-m11+1)
- local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
- end
- end
- end
- local function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w*xs, w*ys, w*zs
- local xx = x*xs
- local xy = x*ys
- local xz = x*zs
- local yy = y*ys
- local yz = y*zs
- local zz = z*zs
- return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
- end
- local function QuaternionSlerp(a, b, t)
- local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((1-t)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = 1-t
- finishInterp = t
- end
- else
- if (1+cosTheta) > 0.0001 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((t-1)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = t-1
- finishInterp = t
- end
- end
- return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
- end
- function clerp(a,b,t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1-t
- return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
- end
- RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- RW = newWeld(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
- LW = newWeld(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
- RH = newWeld(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
- LH = newWeld(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
- RootJoint.C1 = CFrame.new(0, 0, 0)
- RootJoint.C0 = CFrame.new(0, 0, 0)
- Torso.Neck.C1 = CFrame.new(0, 0, 0)
- Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
- rarmc1 = RW.C1
- larmc1 = LW.C1
- rlegc1 = RH.C1
- llegc1 = LH.C1
- local resetc1 = false
- function PlayAnimationFromTable(table, speed, bool)
- RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
- RW.C0 = clerp(RW.C0, table[3], speed)
- LW.C0 = clerp(LW.C0, table[4], speed)
- RH.C0 = clerp(RH.C0, table[5], speed)
- LH.C0 = clerp(LH.C0, table[6], speed)
- if bool == true then
- if resetc1 == false then
- resetc1 = true
- RootJoint.C1 = RootJoint.C1
- Torso.Neck.C1 = Torso.Neck.C1
- RW.C1 = rarmc1
- LW.C1 = larmc1
- RH.C1 = rlegc1
- LH.C1 = llegc1
- end
- end
- end
- ArtificialHB = Create("BindableEvent", script){
- Parent = script,
- Name = "Heartbeat",
- }
- script:WaitForChild("Heartbeat")
- frame = 1 / 30
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- CFuncs = {
- Part = {
- Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part"){
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material,
- }
- RemoveOutlines(Part)
- return Part
- end;
- };
- Mesh = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh){
- Parent = Part,
- Offset = OffSet,
- Scale = Scale,
- }
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end;
- };
- Weld = {
- Create = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld"){
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1,
- }
- return Weld
- end;
- };
- Sound = {
- Create = function(id, par, vol, pit)
- local Sound = Create("Sound"){
- Volume = vol,
- Pitch = pit or 1,
- SoundId = "rbxassetid://" .. id,
- Parent = par or workspace,
- }
- Sound:play()
- game:GetService("Debris"):AddItem(Sound, 130)
- return Sound
- end;
- };
- Decal = {
- Create = function(Color, Texture, Transparency, Name, Parent)
- local Decal = Create("Decal"){
- Color3 = Color,
- Texture = "rbxassetid://" .. Texture,
- Transparency = Transparency,
- Name = Name,
- Parent = Parent,
- }
- return Decal
- end;
- };
- BillboardGui = {
- Create = function(Parent, Image, Position, Size)
- local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
- BillPar.CFrame = CFrame.new(Position)
- local Bill = Create("BillboardGui"){
- Parent = BillPar,
- Adornee = BillPar,
- Size = UDim2.new(1, 0, 1, 0),
- SizeOffset = Vector2.new(Size, Size),
- }
- local d = Create("ImageLabel", Bill){
- Parent = Bill,
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Image = "rbxassetid://" .. Image,
- }
- return BillPar
- end
- };
- ParticleEmitter = {
- Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
- local Particle = Create("ParticleEmitter"){
- Parent = Parent,
- Color = ColorSequence.new(Color1, Color2),
- LightEmission = LightEmission,
- Size = Size,
- Texture = Texture,
- Transparency = Transparency,
- ZOffset = ZOffset,
- Acceleration = Accel,
- Drag = Drag,
- LockedToPart = LockedToPart,
- VelocityInheritance = VelocityInheritance,
- EmissionDirection = EmissionDirection,
- Enabled = Enabled,
- Lifetime = LifeTime,
- Rate = Rate,
- Rotation = Rotation,
- RotSpeed = RotSpeed,
- Speed = Speed,
- VelocitySpread = VelocitySpread,
- }
- return Particle
- end;
- };
- CreateTemplate = {
- };
- }
- function rayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- FindNearestTorso = function(pos)
- local list = (game.Workspace:children())
- local torso = nil
- local dist = 1000
- local temp, human, temp2 = nil, nil, nil
- for x = 1, #list do
- temp2 = list[x]
- if temp2.className == "Model" and temp2.Name ~= Character.Name then
- temp = temp2:findFirstChild("Torso")
- human = temp2:findFirstChild("Humanoid")
- if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
- local dohit = true
- if dohit == true then
- torso = temp
- dist = (temp.Position - pos).magnitude
- end
- end
- end
- end
- return torso, dist
- end
- function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
- if hit.Parent == nil then
- return
- end
- local h = hit.Parent:FindFirstChild("Humanoid")
- for _, v in pairs(hit.Parent:children()) do
- if v.ClassName == "Humanoid" then
- h = v
- end
- end
- if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
- if hit.Parent:findFirstChild("DebounceHit") ~= nil then
- if hit.Parent.DebounceHit.Value == true then
- return
- end
- end
- local char = Create("ObjectValue"){
- Name = "creator",
- Value = game:service("Players").LocalPlayer,
- Parent = h,
- }
- game:GetService("Debris"):AddItem(char, .5)
- CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
- local blocked = false
- local block = hit.Parent:findFirstChild("Block")
- if block ~= nil then
- if block.className == "IntValue" then
- if block.Value > 0 then
- blocked = true
- block.Value = block.Value - 1
- print(block.Value)
- end
- end
- end
- local Damage = math.random(minim, maxim)
- h.Health = h.Health - Damage
- ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(math.random(-10,10), 1.5, math.random(-10,10))), -Damage, 1.5, BrickColor.new("Crimson").Color)
- if Type == "Knockdown" then
- local hum = hit.Parent.Humanoid
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand = false
- end), hum)
- local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
- local bodvol = Create("BodyVelocity"){
- velocity = angle * knockback,
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- local rl = Create("BodyAngularVelocity"){
- P = 3000,
- maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
- angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodvol, .5)
- game:GetService("Debris"):AddItem(rl, .5)
- elseif Type == "Normal" then
- local vp = Create("BodyVelocity"){
- P = 500,
- maxForce = Vector3.new(math.huge, 0, math.huge),
- velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
- }
- if knockback > 0 then
- vp.Parent = hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp, .5)
- elseif Type == "Up" then
- local bodyVelocity = Create("BodyVelocity"){
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodyVelocity, .5)
- elseif Type == "DarkUp" then
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.1 do
- swait()
- Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
- end
- end))
- local bodyVelocity = Create("BodyVelocity"){
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodyVelocity, 1)
- elseif Type == "Snare" then
- local bp = Create("BodyPosition"){
- P = 2000,
- D = 100,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso,
- }
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Freeze" then
- local BodPos = Create("BodyPosition"){
- P = 50000,
- D = 1000,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso,
- }
- local BodGy = Create("BodyGyro") {
- maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
- P = 20e+003,
- Parent = hit.Parent.Torso,
- cframe = hit.Parent.Torso.CFrame,
- }
- hit.Parent.Torso.Anchored = true
- coroutine.resume(coroutine.create(function(Part)
- swait(1.5)
- Part.Anchored = false
- end), hit.Parent.Torso)
- game:GetService("Debris"):AddItem(BodPos, 3)
- game:GetService("Debris"):AddItem(BodGy, 3)
- end
- local debounce = Create("BoolValue"){
- Name = "DebounceHit",
- Parent = hit.Parent,
- Value = true,
- }
- game:GetService("Debris"):AddItem(debounce, Delay)
- char = Create("ObjectValue"){
- Name = "creator",
- Value = Player,
- Parent = h,
- }
- game:GetService("Debris"):AddItem(char, .5)
- end
- end
- function ShowDamage(Pos, Text, Time, Color)
- local Rate = (1 / 30)
- local Pos = (Pos or Vector3.new(0, 0, 0))
- local Text = (Text or "")
- local Time = (Time or 2)
- local Color = (Color or Color3.new(1, 0, 1))
- local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
- EffectPart.Anchored = true
- local BillboardGui = Create("BillboardGui"){
- Size = UDim2.new(3, 0, 3, 0),
- Adornee = EffectPart,
- Parent = EffectPart,
- }
- local TextLabel = Create("TextLabel"){
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Text = Text,
- Font = "SciFi",
- TextColor3 = Color,
- TextScaled = true,
- Parent = BillboardGui,
- }
- game.Debris:AddItem(EffectPart, (Time))
- EffectPart.Parent = game:GetService("Workspace")
- delay(0, function()
- local Frames = (Time / Rate)
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = (Frame / Frames)
- EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end)
- end
- local STDamage = false
- local Slamming = false
- local StrongPunch = false
- function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
- if Slamming == false then
- Explosions = Instance.new("Explosion", Part)
- Explosions.Visible = false
- Explosions.BlastPressure = 1000
- Explosions.BlastRadius = 5
- Explosions.Position = Part.Position
- Explosions.DestroyJointRadiusPercent = 0
- Explosions.ExplosionType = "CratersAndDebris"
- elseif Slamming == true then
- Explosions = Instance.new("Explosion", Part)
- Explosions.Visible = false
- Explosions.BlastPressure = 1000
- Explosions.BlastRadius = 10
- Explosions.Position = Part.Position
- Explosions.DestroyJointRadiusPercent = 0
- Explosions.ExplosionType = "CratersAndDebris"
- end
- if StrongPunch == true then
- Explosions = Instance.new("Explosion", Part)
- Explosions.Visible = false
- Explosions.BlastPressure = 10000
- Explosions.BlastRadius = 30
- Explosions.Position = Part.Position
- Explosions.DestroyJointRadiusPercent = 0
- Explosions.ExplosionType = "CratersAndDebris"
- end
- for _, char in pairs(workspace:children()) do
- local hum = char:findFirstChild("Humanoid")
- if hum ~= nil then
- local head = char:findFirstChild("Torso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if mag <= Magnitude and char.Name ~= Player.Name then
- Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, HitSound, HitPitch)
- if STDamage == true then
- for i = 1, 10 do
- CamShake(1, 70000)
- end
- elseif STDamage == false then
- CamShake(1, 90000)
- end
- end
- end
- end
- end
- end
- HHandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "HHandle", Vector3.new(1.09999979, 0.299999923, 1.0999999))
- HHandleWeld = CFuncs.Weld.Create(m, Head, HHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0646438599, -0.0500068665, -0.0646400452, -0.707107365, -3.21031663e-008, 0.707106411, -8.19564079e-008, 1.00000119, -1.41561088e-007, -0.707106352, 1.38630043e-007, -0.707107484))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.09999979, 0.399999917, 1.0999999))
- PartWeld = CFuncs.Weld.Create(m, HHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.350002289, 0, 1.00000024, -3.21031663e-008, -5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, -5.96046448e-008, 1.38630043e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.09999979, 0.499999911, 1.0999999))
- PartWeld = CFuncs.Weld.Create(m, HHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.62939453e-006, -0.400001526, 7.62939453e-006, 1.00000024, -3.21031663e-008, -5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, -5.96046448e-008, 1.38630043e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.499999821, 0.299999893, 0.200000003))
- PartWeld = CFuncs.Weld.Create(m, HHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.300033569, -0.800000191, -0.44997406, 1.00000024, -3.21031663e-008, -5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, -5.96046448e-008, 1.38630043e-007, 1.00000024))
- Eye1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Bright blue", "Eye1", Vector3.new(0.400000006, 0.200000003, 0.200000003))
- PartWeld = CFuncs.Weld.Create(m, HHandle, Eye1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0381011963, -0.0574798584, 0.471725464, -2.89082527e-006, 0.173647985, -0.984807968, -6.2584877e-007, 0.984808922, 0.173648104, 1.00000012, 1.02902288e-006, -2.77161598e-006))
- CFuncs.Mesh.Create("SpecialMesh", Eye1, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Eye2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Bright blue", "Eye2", Vector3.new(0.400000006, 0.200000003, 0.200000003))
- PartWeld = CFuncs.Weld.Create(m, HHandle, Eye2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0115432739, -0.0487277508, 0.482452393, -0.981060266, -0.173648134, -0.0858327746, -0.172987267, 0.984808922, -0.0151339322, 0.0871568322, 3.96735317e-007, -0.996194839))
- CFuncs.Mesh.Create("SpecialMesh", Eye2, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.499999821, 0.300000012, 0.200000003))
- PartWeld = CFuncs.Weld.Create(m, HHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.299995422, -0.800000191, 0.449989319, 5.96046448e-008, -1.38630043e-007, -1.00000024, -3.21031663e-008, 1.00000119, 1.38630043e-007, 1.00000024, -3.21031663e-008, -5.96046448e-008))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.10000002, 0.999999881, 1.0999999))
- PartWeld = CFuncs.Weld.Create(m, HHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.200004578, -0.150001526, 0.200012207, 1.00000024, -3.21031663e-008, -5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, -5.96046448e-008, 1.38630043e-007, 1.00000024))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.600000024))
- WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.449981689, -0.750000954, 0.250007629, 5.96046448e-008, -1.38630043e-007, -1.00000024, -3.21031663e-008, 1.00000119, 1.38630043e-007, 1.00000024, -3.21031663e-008, -5.96046448e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.20000005, 0.200000003, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0500011444, -0.449970245, 0.650001526, 3.21031663e-008, -1.00000119, -1.38630043e-007, -5.96046448e-008, 1.38630043e-007, 1.00000024, -1.00000024, 3.21031663e-008, 5.96046448e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.5))
- WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.449970245, -1.05000114, 0.300033569, -5.96046448e-008, 1.38630043e-007, 1.00000024, -3.21031663e-008, 1.00000119, 1.38630043e-007, -1.00000024, 3.21031663e-008, 5.96046448e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.5))
- WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.449996948, -1.05000019, 0.300014496, 1.00000024, -3.21031663e-008, -5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, -5.96046448e-008, 1.38630043e-007, 1.00000024))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.20000005, 0.200000003, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0500011444, -0.650009155, 0.449989319, 3.21031663e-008, -1.00000119, -1.38630043e-007, 5.96046448e-008, -1.38630043e-007, -1.00000024, 1.00000024, -3.21031663e-008, -5.96046448e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.600000024))
- WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.450012207, -0.750001907, 0.249996185, -1.00000024, 3.21031663e-008, 5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, 5.96046448e-008, -1.38630043e-007, -1.00000024))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.300000012, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.449985504, -0.800001144, 0.0500106812, 5.96046448e-008, -1.38630043e-007, -1.00000024, -3.21031663e-008, 1.00000119, 1.38630043e-007, 1.00000024, -3.21031663e-008, -5.96046448e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.300000012, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.44997406, -0.800002098, 0.0500030518, -1.00000024, 3.21031663e-008, 5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, 5.96046448e-008, -1.38630043e-007, -1.00000024))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- THandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Medium stone grey", "THandle", Vector3.new(1, 0.799999893, 1))
- THandleWeld = CFuncs.Weld.Create(m, Torso, THandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.19999981, 0.699999928, 1.20000005))
- PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.328445435, -0.67606163, -0.323509216, 0.709785044, 0.0255700666, -0.70395416, -0.000232494262, 0.999350607, 0.0360652842, 0.704418302, -0.0254352745, 0.709329426))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.99999994, 0.499999851, 0.900000036))
- PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.354995728, 0.217259884, 0.408233643, 0.709785223, -0.157498211, -0.686585248, -0.000232138293, 0.974633098, -0.2238141, 0.704418123, 0.159019142, 0.691742837))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.80000019, 0.700000048, 0.800000012))
- PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.81469727e-005, -0.843423843, -1.0044136, 1, -8.19564079e-008, 5.96046519e-008, -1.01078633e-007, 0.939694166, -0.342019171, 1.52638329e-008, 0.34201926, 0.939693213))
- CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.60000014, 0.400000006, 1.39999998))
- PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.81469727e-005, -0.793423653, -0.504411697, 1, -8.19564079e-008, 5.96046519e-008, -1.01078633e-007, 0.939694166, -0.342019171, 1.52638329e-008, 0.34201926, 0.939693213))
- CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.19999981, 0.499999911, 1.19999993))
- PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.198799133, -0.0796661377, -0.194431305, 0.709785044, 0.0255700666, -0.70395416, -0.000232494262, 0.999350607, 0.0360652842, 0.704418302, -0.0254352745, 0.709329426))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.80000019, 0.300000012, 1.80000007))
- PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.10351563e-005, -1.04342794, -0.404396057, 1, -8.19564079e-008, 5.96046519e-008, -1.01078633e-007, 0.939694166, -0.342019171, 1.52638329e-008, 0.34201926, 0.939693213))
- CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.200000003, 1.10000002, 0.300000012))
- PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.34057617e-005, -0.943422318, -1.35441589, 1, -8.19564079e-008, 5.96046519e-008, -1.01078633e-007, 0.939694166, -0.342019171, 1.52638329e-008, 0.34201926, 0.939693213))
- CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.09999979, 0.499999911, 1.0999999))
- PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.11920929, 0.416726112, -0.115348816, 0.709785044, 0.0255700666, -0.70395416, -0.000232494262, 0.999350607, 0.0360652842, 0.704418302, -0.0254352745, 0.709329426))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.39999986, 1.19999993, 1.39999986))
- PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.218803406, -0.55094862, 0.222564697, 0.709785223, -0.157498211, -0.686585248, -0.000232138293, 0.974633098, -0.2238141, 0.704418123, 0.159019142, 0.691742837))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.999999762, 0.300000012, 0.799999893))
- PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0691986084, 0.816726685, -0.165359497, 0.709785044, 0.0255700666, -0.70395416, -0.000232494262, 0.999350607, 0.0360652842, 0.704418302, -0.0254352745, 0.709329426))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.899999976, 0.499999851, 0.899999917))
- PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.331642151, 0.516366959, 0.335166931, 0.709785223, -0.157498211, -0.686585248, -0.000232138293, 0.974633098, -0.2238141, 0.704418123, 0.159019142, 0.691742837))
- AHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "AHandleR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
- AHandleRWeld = CFuncs.Weld.Create(m, RightArm, AHandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.209915161, 0.00999641418, -3.81469727e-006, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998))
- PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999984741, 0.550004005, 0, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
- PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.150001526, 0.200003624, -0.359994888, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
- PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.20000267, 0.359992981, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005))
- PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.209899902, -0.809997559, 5.7220459e-006, -1, 8.19564079e-008, -5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, -5.96046519e-008, 1.41561088e-007, -1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998))
- PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.300003052, 0.650004387, 1.71661377e-005, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998))
- PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.650003433, 0, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041))
- PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199996948, -0.049996376, -3.81469727e-006, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
- HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
- HitboxRWeld = CFuncs.Weld.Create(m, AHandleR, HitboxR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.700003624, 0, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.200012207, -0.149997711, 0.360010147, -1, 8.19564079e-008, -5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, -5.96046519e-008, 1.41561088e-007, -1.00000024))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.300000012))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -1.30999851, 0.659896851, -5.96046519e-008, 1.41561088e-007, -1.00000024, -8.19564079e-008, 1.00000119, -1.41561088e-007, 1, -8.19564079e-008, 5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199981689, -0.149998665, 0.359991074, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.899999976))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.90734863e-006, 0.309997559, -0.0598983765, -5.96046519e-008, 1.41561088e-007, -1.00000024, 8.19564079e-008, -1.00000119, 1.41561088e-007, -1, 8.19564079e-008, -5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.300000012))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.81469727e-006, 0.309999466, 0.659896851, 5.96046519e-008, -1.41561088e-007, 1.00000024, 8.19564079e-008, -1.00000119, 1.41561088e-007, 1, -8.19564079e-008, 5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.01999998, 0.200000003, 0.300000012))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.7220459e-006, 0.200003624, 0.150016785, 5.96046519e-008, -1.41561088e-007, 1.00000024, -8.19564079e-008, 1.00000119, -1.41561088e-007, -1, 8.19564079e-008, -5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.300000012, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316e-006, -1.06000042, 0.490097046, 5.96046519e-008, -1.41561088e-007, 1.00000024, -8.19564079e-008, 1.00000119, -1.41561088e-007, -1, 8.19564079e-008, -5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.01999998, 0.200000003, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.7220459e-006, 0.20000267, 0.299995422, -5.96046519e-008, 1.41561088e-007, -1.00000024, -8.19564079e-008, 1.00000119, -1.41561088e-007, 1, -8.19564079e-008, 5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.5, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.62939453e-006, 0.659999847, 0.490089417, -5.96046519e-008, 1.41561088e-007, -1.00000024, 8.19564079e-008, -1.00000119, 1.41561088e-007, -1, 8.19564079e-008, -5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.900000095))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.7220459e-006, -1.30999947, -0.0598831177, 5.96046519e-008, -1.41561088e-007, 1.00000024, -8.19564079e-008, 1.00000119, -1.41561088e-007, -1, 8.19564079e-008, -5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- AHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "AHandleL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
- AHandleLWeld = CFuncs.Weld.Create(m, LeftArm, AHandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.210014343, 0.00999736786, 1.14440918e-005, -1, 8.19564079e-008, -5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, -5.96046519e-008, 1.41561088e-007, -1.00000024))
- HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "HitboxL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
- HitboxLWeld = CFuncs.Weld.Create(m, AHandleL, HitboxL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.700003624, 0, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
- PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149986267, 0.200001717, -0.360012054, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041))
- PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199989319, -0.0499982834, -9.53674316e-006, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
- PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149986267, 0.200001717, 0.359992981, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005))
- PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.21005249, -0.81000042, 2.28881836e-005, -1, -8.19564079e-008, -5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, -5.96046519e-008, -1.41561088e-007, -1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998))
- PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999984741, 0.550003052, -5.7220459e-006, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998))
- PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.299995422, 0.650003433, -3.81469727e-006, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998))
- PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.65000248, 0, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.300000012))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.81469727e-006, 0.309998512, 0.660064697, 5.96046519e-008, 1.41561088e-007, 1.00000024, -8.19564079e-008, -1.00000119, -1.41561088e-007, 1, 8.19564079e-008, 5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199989319, -0.149998665, 0.359992981, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.900000095))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.47955322e-005, -1.30999947, -0.060043335, 5.96046519e-008, 1.41561088e-007, 1.00000024, 8.19564079e-008, 1.00000119, 1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.01999998, 0.200000003, 0.300000012))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.7220459e-006, 0.20000267, 0.150001526, 5.96046519e-008, 1.41561088e-007, 1.00000024, 8.19564079e-008, 1.00000119, 1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.199836731, -0.149998665, 0.36003685, -1, -8.19564079e-008, -5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, -5.96046519e-008, -1.41561088e-007, -1.00000024))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.5, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.52587891e-005, 0.659998894, 0.489944458, -5.96046519e-008, -1.41561088e-007, -1.00000024, -8.19564079e-008, -1.00000119, -1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.199981689, -0.149999619, 0.360010147, -1, -8.19564079e-008, -5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, -5.96046519e-008, -1.41561088e-007, -1.00000024))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.899999976))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.67028809e-005, 0.309998512, -0.0600509644, -5.96046519e-008, -1.41561088e-007, -1.00000024, -8.19564079e-008, -1.00000119, -1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.300000012, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.33514404e-005, -1.06000042, 0.489936829, 5.96046519e-008, 1.41561088e-007, 1.00000024, 8.19564079e-008, 1.00000119, 1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.01999998, 0.200000003, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.62939453e-006, 0.200003624, 0.299987793, -5.96046519e-008, -1.41561088e-007, -1.00000024, 8.19564079e-008, 1.00000119, 1.41561088e-007, 1, 8.19564079e-008, 5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.300000012))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-006, -1.30999947, 0.660049438, -5.96046519e-008, -1.41561088e-007, -1.00000024, 8.19564079e-008, 1.00000119, 1.41561088e-007, 1, 8.19564079e-008, 5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- LHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "LHandleR", Vector3.new(1.02999997, 1.00999999, 1.19000006))
- LHandleRWeld = CFuncs.Weld.Create(m, RightLeg, LHandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00498962402, -0.0950021744, 0.00499534607, -1, 8.19564079e-008, -5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, -5.96046519e-008, 1.41561088e-007, -1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.800000012, 0.800000012, 0.200000003))
- PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00498962402, -0.00499916077, -0.604999542, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006))
- PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.600002289, 0, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006))
- PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.454998016, 0, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.400000006, 1.20000005, 0.200000003))
- PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00499725342, -0.00499916077, -0.604999542, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012))
- PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00499725342, 0.0149993896, 0.00500297546, 2.28095047e-007, 1.00000775, 2.99581131e-007, -1.00000417, 5.63755016e-008, -4.06898749e-007, -2.98379774e-007, 2.07959161e-008, 1.0000037))
- CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.604999542, -0.504998207, 0.29499054, -2.98023224e-008, -6.70552254e-008, -1.00000012, 3.7252903e-008, 1.0000006, 7.4505806e-008, 1, 4.47034836e-008, 2.98023224e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.60499382, -0.495001793, 0.305000305, -5.96046519e-008, -1.41561088e-007, -1.00000024, -8.19564079e-008, -1.00000119, -1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.604999542, -0.495001793, 0.29499054, 2.98023224e-008, 6.70552254e-008, 1.00000012, -3.7252903e-008, -1.0000006, -7.4505806e-008, 1, 4.47034836e-008, 2.98023224e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.604999542, -0.504998207, 0.305000305, 2.98023224e-008, 6.70552254e-008, 1.00000012, 3.7252903e-008, 1.0000006, 7.4505806e-008, -1, -4.47034836e-008, -2.98023224e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- LHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "LHandleL", Vector3.new(1.02999997, 1.00999999, 1.19000006))
- LHandleLWeld = CFuncs.Weld.Create(m, LeftLeg, LHandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00498199463, -0.095000267, 0.00502204895, -1, 8.19564079e-008, -5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, -5.96046519e-008, 1.41561088e-007, -1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006))
- PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.600001335, 0, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.400000006, 1.20000005, 0.300000012))
- PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00499725342, -0.00500106812, -0.554998398, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006))
- PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.454999924, 0, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012))
- PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00499534607, 0.0149993896, 0.00500297546, 2.28095047e-007, 1.00000775, 2.99581131e-007, -1.00000417, 5.63755016e-008, -4.06898749e-007, -2.98379774e-007, 2.07959161e-008, 1.0000037))
- CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.800000012, 0.800000012, 0.300000012))
- PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00498962402, -0.00500106812, -0.554998398, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.554998398, -0.505000114, 0.305000305, 2.98023224e-008, 6.70552254e-008, 1.00000012, 3.7252903e-008, 1.0000006, 7.4505806e-008, -1, -4.47034836e-008, -2.98023224e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.554998398, -0.505000114, 0.29499054, -2.98023224e-008, -6.70552254e-008, -1.00000012, 3.7252903e-008, 1.0000006, 7.4505806e-008, 1, 4.47034836e-008, 2.98023224e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.554998398, -0.494999886, 0.29499054, 2.98023224e-008, 6.70552254e-008, 1.00000012, -3.7252903e-008, -1.0000006, -7.4505806e-008, 1, 4.47034836e-008, 2.98023224e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.554998398, -0.494999886, 0.305000305, -5.96046519e-008, -1.41561088e-007, -1.00000024, -8.19564079e-008, -1.00000119, -1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Shield = CFuncs.Part.Create(m, "Neon", 1, 0.5, "Bright blue", "Part", Vector3.new(9.1, 8.5, 0.2))
- CFuncs.Mesh.Create("SpecialMesh", Shield, "FileMesh", "rbxassetid://708292865", Vector3.new(0, 0, 0), Vector3.new(0.04, 0.04, 0.04))
- Shield.Parent = nil
- for i,v in pairs(m:children()) do
- if v:IsA("Part") then
- v.Reflectance = 0.1
- end
- end
- EffectModel = Create("Model"){
- Parent = Character,
- Name = "Effects",
- }
- Effects = {
- Block = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- if Type == 1 or Type == nil then
- table.insert(Effects, {
- prt,
- "Block1",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- elseif Type == 2 then
- table.insert(Effects, {
- prt,
- "Block2",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- end;
- };
- Cylinder = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part..Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 2)
- Effects[#Effects + 1] = {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3
- }
- end;
- };
- Head = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end;
- };
- Sphere = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end;
- };
- Elect = {
- Create = function(cff, x, y, z)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
- prt.Anchored = true
- prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
- prt.CFrame = CFrame.new(prt.Position)
- game:GetService("Debris"):AddItem(prt, 2)
- local xval = math.random() / 2
- local yval = math.random() / 2
- local zval = math.random() / 2
- local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
- table.insert(Effects, {
- prt,
- "Elec",
- 0.1,
- x,
- y,
- z,
- xval,
- yval,
- zval
- })
- end;
- };
- Ring = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end;
- };
- Wave = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end;
- };
- Break = {
- Create = function(brickcolor, cframe, x1, y1, z1)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- local num = math.random(10, 50) / 1000
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Shatter",
- num,
- prt.CFrame,
- math.random() - math.random(),
- 0,
- math.random(50, 100) / 100
- })
- end;
- };
- Fire = {
- Create = function(brickcolor, cframe, x1, y1, z1, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Fire",
- delay,
- 1,
- 1,
- 1,
- msh
- })
- end;
- };
- FireWave = {
- Create = function(brickcolor, cframe, x1, y1, z1)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- local d = Create("Decal"){
- Parent = prt,
- Texture = "rbxassetid://26356434",
- Face = "Top",
- }
- local d = Create("Decal"){
- Parent = prt,
- Texture = "rbxassetid://26356434",
- Face = "Bottom",
- }
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "FireWave",
- 1,
- 30,
- math.random(400, 600) / 100,
- msh
- })
- end;
- };
- Lightning = {
- Create = function(p0, p1, tym, ofs, col, th, tra, last)
- local magz = (p0 - p1).magnitude
- local curpos = p0
- local trz = {
- -ofs,
- ofs
- }
- for i = 1, tym do
- local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
- local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
- local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
- li.Material = "Neon"
- if tym == i then
- local magz2 = (curpos - p1).magnitude
- li.Size = Vector3.new(th, th, magz2)
- li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
- table.insert(Effects, {
- li,
- "Disappear",
- last
- })
- else
- do
- do
- li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
- curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
- game.Debris:AddItem(li, 10)
- table.insert(Effects, {
- li,
- "Disappear",
- last
- })
- end
- end
- end
- end
- end
- };
- EffectTemplate = {
- };
- }
- local Invisible = true
- function Reappear()
- for _, i in pairs(AdvancingFortress:children()) do
- if i:IsA("BasePart") then
- coroutine.resume(coroutine.create(function(Part)
- for i = 0, 1, 0.3 do
- swait()
- Part.Transparency = - i
- end
- Part.Transparency = 0
- end), i)
- end
- end
- for _, i in pairs(m:children()) do
- if i:IsA("BasePart") then
- coroutine.resume(coroutine.create(function(Part)
- for i = 0, 1, 0.3 do
- swait()
- Part.Transparency = i
- end
- Part.Transparency = 0
- end), i)
- end
- end
- end
- function ReappearArmorOnly()
- for _, i in pairs(m:children()) do
- if i:IsA("BasePart") then
- coroutine.resume(coroutine.create(function(Part)
- for i = 0, 1, 0.3 do
- swait()
- Part.Transparency = i
- end
- Part.Transparency = 0.5
- end), i)
- end
- end
- end
- function Disappear()
- for _, i in pairs(AdvancingFortress:children()) do
- if i:IsA("BasePart") then
- coroutine.resume(coroutine.create(function(Part)
- for i = 0, 1, 0.3 do
- swait()
- Part.Transparency = i
- end
- Part.Transparency = 1
- end), i)
- end
- end
- for _, i in pairs(m:children()) do
- if i:IsA("BasePart") then
- coroutine.resume(coroutine.create(function(Part)
- for i = 0, 1, 0.3 do
- swait()
- Part.Transparency = i
- end
- Part.Transparency = 1
- end), i)
- end
- end
- end
- function DisappearArmorOnly()
- for _, i in pairs(m:children()) do
- if i:IsA("BasePart") then
- coroutine.resume(coroutine.create(function(Part)
- for i = 0, 1, 0.3 do
- swait()
- Part.Transparency = i
- end
- Part.Transparency = 1
- end), i)
- end
- end
- end
- function CamShake(time, freq)
- coroutine.resume(coroutine.create(function()
- local cam = game:GetService("Workspace").CurrentCamera
- local time = 10
- local seed = Vector3.new(math.random(100, 200) / freq, math.random(100, 200) / freq, 0)
- if math.random(1, 2) == 1 then seed = Vector3.new(-seed.x, seed.y, 0) end
- if math.random(1, 2) == 1 then seed = Vector3.new(seed.x, -seed.y, 0) end
- cam.CoordinateFrame = (CFrame.new(cam.Focus.p) * (cam.CoordinateFrame - cam.CoordinateFrame.p) * CFrame.fromEulerAnglesXYZ(seed.x * time, seed.y * time, 0)) * CFrame.new(0, 0, (cam.CoordinateFrame.p - cam.Focus.p).magnitude)
- for i = 1, time do
- cam.CoordinateFrame = (CFrame.new(cam.Focus.p) * (cam.CoordinateFrame - cam.CoordinateFrame.p) * CFrame.fromEulerAnglesXYZ(-seed.x, -seed.y, 0)) * CFrame.new(0, 0, (cam.CoordinateFrame.p - cam.Focus.p).magnitude)
- wait()
- end
- end))
- end
- Mouse.Button1Down:connect(function()
- if attack == false and attacktype == 1 then
- attacktype = 2
- attackone()
- elseif attack == false and attacktype == 2 then
- attacktype = 1
- attacktwo()
- end
- end)
- game.Lighting.Outlines = false
- function attackone()
- attack = true
- for i = 0, 1, 0.12 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.000151857734, -0.310488015, -0.087417841, 0.707106054, 5.26835073e-008, -0.707107484, 0.122787014, 0.984807968, 0.122786865, 0.696365058, -0.173646957, 0.696363688) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.101928703, 1.50244772, -0.0383823365, 0.76589334, 0.0762532279, 0.638430059, -0.0196644422, 0.995256186, -0.095281601, -0.642666996, 0.0604211651, 0.763759375) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.01774633, 0.557527065, -0.776187301, 0.541353703, 0.741649806, 0.396095604, 0.711713314, -0.153383806, -0.685520053, -0.447661191, 0.653015316, -0.610876858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.07208586, 0.264054269, -0.716768324, 0.529938459, -0.260122895, -0.807156265, -0.752277017, 0.295165181, -0.589030504, 0.39146477, 0.919355154, -0.039265126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.81415844, -1.89738977, 0.144144416, 0.866025925, -0.171008825, 0.469845951, -1.40815973e-006, 0.939692497, 0.342020512, -0.499999285, -0.296199232, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.818738878, -1.59999573, -0.397991776, 0.642786622, 0.0667650178, 0.763130188, 4.3399632e-007, 0.99619472, -0.0871558338, -0.766045213, 0.0560229495, 0.640340626) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.3)
- RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.3)
- RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.3)
- LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.3)
- end
- MagnitudeDamage(HitboxR, 5, 10, 20, math.random(0, 0), "Normal", "260430079", 1)
- CFuncs.Sound.Create("200632136", HitboxR, 1, 1)
- RootPart.Velocity = RootPart.CFrame.lookVector * 40
- for i = 0, 1, 0.11 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.31380862, -0.320521832, 0.0252371654, 0.249517962, -0.150383011, 0.956622124, -0.0458769947, 0.984923244, 0.166798219, -0.967282891, -0.0855060965, 0.238856897) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.101926193, 1.50244832, -0.0383800864, 0.337979913, 0.0762555003, -0.938059092, -0.0828148723, 0.995255768, 0.051067099, 0.937502801, 0.0604255944, 0.342691481) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.96121001, 0.774859428, -0.462411612, 0.340120375, -0.92077136, 0.191045195, 0.466549307, -0.0111669078, -0.884424806, 0.816486418, 0.389942825, 0.42578721) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.36170578, 0.526111126, -0.597925961, 0.81348151, -0.212761745, -0.541276693, -0.539894938, 0.0697831511, -0.838834763, 0.216243982, 0.974609077, -0.0581016839) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.970680714, -1.68610644, -0.0975568295, 0.579166114, -0.127570763, -0.805166125, 0.110368893, 0.990856647, -0.0776019096, 0.807703912, -0.0439208932, 0.587950349) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.827146292, -1.8113209, -0.0556658059, 0.816036701, 0.217413262, -0.535551846, -0.0871567726, 0.962250471, 0.257832885, 0.571391284, -0.163724124, 0.804180741) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .45, false)
- LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.3)
- RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.3)
- RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.3)
- LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.3)
- end
- attack = false
- end
- function attacktwo()
- attack = true
- for i = 0, 1, 0.8 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.00015424937, -0.0303910244, 0.172732353, 0.707106054, -1.36977135e-007, -0.707107484, -0.241844028, 0.939693153, -0.241843715, 0.664464056, 0.342018902, 0.664462626) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0900346041, 1.53916931, -0.0900347233, 0.707106054, -0.241844028, 0.664464056, -1.36977135e-007, 0.939693153, 0.342018902, -0.707107484, -0.241843715, 0.664462626) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.54832983, 0.2894032, 0.329475105, 0.910240293, -0.411981106, -0.0416468978, 0.371504784, 0.768086612, 0.521562576, -0.182885468, -0.490219176, 0.852196038) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.68712711, 0.311459482, 0.3278009, 0.836423278, 0.536408186, -0.11252743, -0.403283268, 0.741368711, 0.536409497, 0.371158689, -0.403284907, 0.836422443) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.788507879, -1.88569379, 0.155615538, 0.891722381, -0.274265081, 0.360013813, 0.116977148, 0.908105969, 0.402069658, -0.437204301, -0.316421092, 0.841861069) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.70507884, -0.807403564, -0.520998418, 0.734425247, 0.0872097909, 0.673063159, -0.0274242759, 0.994713306, -0.0989620388, -0.678135276, 0.0542218834, 0.732934237) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .8, false)
- LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.3)
- RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.3)
- RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.3)
- LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.3)
- end
- CFuncs.Sound.Create("200632136", LeftLeg, .3, math.random(1, 1.2))
- MagnitudeDamage(LeftLeg, 7, 10, 15, 0, "Normal", "260430060", 1)
- for i = 0, 1, 0.8 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.000153645873, -0.22751689, 0.07635656, 0.707106054, -5.26835073e-008, -0.707107484, -0.122787014, 0.984807968, -0.122786865, 0.696365058, 0.173646957, 0.696363688) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0900349915, 1.53916812, -0.0900349319, 0.707106054, -0.241843998, 0.664464056, -5.26835073e-008, 0.939693153, 0.342018783, -0.707107484, -0.241843611, 0.664462686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.71330678, 0.609134197, 0.494451642, 0.798460722, -0.570534825, -0.192225158, 0.525007725, 0.503572106, 0.68613565, -0.294665128, -0.648771942, 0.701617837) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.5747292, 0.538585067, 0.559931517, 0.823553085, 0.541512251, 0.168892533, -0.481333375, 0.509595573, 0.713183403, 0.300130665, -0.668637991, 0.680326998) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.761081278, -1.79488313, 0.123973221, 0.891722023, -0.241844088, 0.382548481, 0.116976976, 0.939693153, 0.321392685, -0.437205136, -0.241843581, 0.866235197) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.52726746, -1.01843166, -0.946048379, 0.710156322, 0.662300229, -0.238822937, -0.508035719, 0.247218758, -0.825095534, -0.487419516, 0.707277417, 0.512036085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.random(math.rad(-20),math.rad(20)), math.random(math.rad(-30),math.rad(60))),
- }, .8, false)
- LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.3)
- RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.3)
- RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.3)
- LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.3)
- end
- attack = false
- end
- findNearestTorso = function(pos)
- local list = (game.Workspace:children())
- local torso = nil
- local dist = 1000
- local temp, human, temp2 = nil, nil, nil
- for x = 1, #list do
- temp2 = list[x]
- if temp2.className == "Model" and temp2.Name ~= Character.Name then
- temp = temp2:findFirstChild("Torso")
- human = temp2:findFirstChild("Humanoid")
- if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
- local dohit = true
- if dohit == true then
- torso = temp
- dist = (temp.Position - pos).magnitude
- end
- end
- end
- end
- return torso, dist
- end
- function MultiOrbAttack()
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.162433833, 1.49999774, 0, 0.978860497, -0.204539478, 0, 0.204539478, 0.978860497, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.50000381, 1.96567178, 0.133120686, 1, 0, 0, 0, -0.997715592, 0.0675679892, 0, -0.0675679147, -0.997717202) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.59766746, 0.00914002955, 0, 0.995649457, 0.0931791961, 0, -0.0931792036, 0.995649457, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.5, -1.99999702, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.99999702, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.3)
- RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.3)
- RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.3)
- LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.3)
- end
- for i = 0, 1, 0.06 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0.162510097, 0.38895905, 1, 0, 0, 0, 0.571922064, 0.820308089, 0, -0.820308089, 0.571922064) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(2.57045031e-07, 1.49998784, 1.30534172e-05, 0.984818339, -0.164854109, 0.0543694124, 0.165525496, 0.797479153, -0.580197155, 0.0522894673, 0.580389142, 0.812659144) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.47650206, 1.26494956, -0.688362539, 0.997335255, -0.00380637683, 0.0728777125, 0.0417370051, -0.789443731, -0.612404227, 0.0598638915, 0.613813102, -0.787179589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.4608196, 0.0444534346, 0.407487094, 0.997198284, 0.00275915279, 0.0747666731, -0.0427889042, 0.840790749, 0.53966701, -0.061374139, -0.541353226, 0.838552773) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.46225813, -1.74063933, -1.42632961, 0.999477983, 0.0315875225, 0.00679107849, -0.0135056023, 0.599403679, -0.800333142, -0.0293511394, 0.799823582, 0.599517345) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.452492714, -1.98169518, 0.319369018, 0.999324262, 0.00178822386, 0.0367270075, -0.0210306682, 0.847118855, 0.530988216, -0.0301626045, -0.531401694, 0.846583188) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.3)
- RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.3)
- RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.3)
- LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.3)
- end
- for i = 1,15 do
- spawn(function()
- -- if canproj == true then
- -- canproj = false
- mse = game.Players.LocalPlayer:GetMouse()
- local posishun = Vector3.new(math.random(-100,100),math.random(100,500),math.random(-100,100))
- local anotherposition=findNearestTorso(Torso.Position)
- local ball = Instance.new("Part",game.Players.LocalPlayer.Character)
- ball.Size = Vector3.new(1.5,1.5,1.5)
- ball.CanCollide = false
- ball.BrickColor = BrickColor.new("Institutional white")
- ball.CFrame = RightArm.CFrame * CFrame.new(0,-10,0)
- ball.Anchored = true
- ball.TopSurface = 0
- ball.BottomSurface = 0
- ball.Material = "Neon"
- local ballm = Instance.new("SpecialMesh",ball)
- ballm.MeshType = "Sphere"
- local bp1 = Instance.new("BodyPosition",ball)
- bp1.MaxForce = Vector3.new(10000,10000,10000)
- bp1.Position = posishun + Vector3.new(math.random(-100,100),0,math.random(-100,100))
- bp1.P = 10000
- bp1.D = 1000
- if bp1.Position == nil then bp1.Position = Vector3.new(math.random(-10,10),math.random(0,20),math.random(-10,10))
- else
- --[[ball.Velocity = CFrame.new(ball.Position,bp.Position).lookVector * 500
- local bodyforc = Instance.new("BodyForce", ball)
- bodyforc.force = Vector3.new(0, ball:GetMass() * 196.1, 0)]]--
- repeat wait() until (ball.Position-bp1.Position).magnitude < 10
- bp1.Position = anotherposition.Position + Vector3.new(math.random(-15,15),0,math.random(-15,15))
- repeat wait() bp1.Position = anotherposition.Position + Vector3.new(math.random(-15,15),0,math.random(-15,15)) until (ball.Position-bp1.Position).magnitude < 10
- local sound = Instance.new("Sound",ball)
- sound.Pitch = 0.5
- sound.SoundId="http://www.roblox.com/asset/?id=165970126"
- wait()
- sound:Play()
- MagnitudeDamage(ball, 20, 10, 30, 100, "Normal", "610359515", 1)
- for i = 1,50,5 do
- ballm.Scale = Vector3.new(i,i,i)
- ball.Transparency= i/50
- wait()
- end
- ball:Remove()
- wait()
- end
- --end
- end)
- end
- attack = false
- end
- function OrbAttack()
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.162433833, 1.49999774, 0, 0.978860497, -0.204539478, 0, 0.204539478, 0.978860497, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.50000381, 1.96567178, 0.133120686, 1, 0, 0, 0, -0.997715592, 0.0675679892, 0, -0.0675679147, -0.997717202) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.59766746, 0.00914002955, 0, 0.995649457, 0.0931791961, 0, -0.0931792036, 0.995649457, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.5, -1.99999702, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.99999702, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.3)
- RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.3)
- RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.3)
- LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.3)
- end
- for i = 0, 1, 0.06 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0.162510097, 0.38895905, 1, 0, 0, 0, 0.571922064, 0.820308089, 0, -0.820308089, 0.571922064) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(2.57045031e-07, 1.49998784, 1.30534172e-05, 0.984818339, -0.164854109, 0.0543694124, 0.165525496, 0.797479153, -0.580197155, 0.0522894673, 0.580389142, 0.812659144) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.47650206, 1.26494956, -0.688362539, 0.997335255, -0.00380637683, 0.0728777125, 0.0417370051, -0.789443731, -0.612404227, 0.0598638915, 0.613813102, -0.787179589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.4608196, 0.0444534346, 0.407487094, 0.997198284, 0.00275915279, 0.0747666731, -0.0427889042, 0.840790749, 0.53966701, -0.061374139, -0.541353226, 0.838552773) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.46225813, -1.74063933, -1.42632961, 0.999477983, 0.0315875225, 0.00679107849, -0.0135056023, 0.599403679, -0.800333142, -0.0293511394, 0.799823582, 0.599517345) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.452492714, -1.98169518, 0.319369018, 0.999324262, 0.00178822386, 0.0367270075, -0.0210306682, 0.847118855, 0.530988216, -0.0301626045, -0.531401694, 0.846583188) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.3)
- RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.3)
- RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.3)
- LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.3)
- end
- spawn(function()
- -- if canproj == true then
- -- canproj = false
- mse = game.Players.LocalPlayer:GetMouse()
- local posishun = Vector3.new(math.random(-100,100),math.random(100,500),math.random(-100,100))
- local anotherposition=findNearestTorso(mse.Hit.p)
- local ball = Instance.new("Part",game.Players.LocalPlayer.Character)
- ball.Size = Vector3.new(2.5,2.5,2.5)
- ball.CanCollide = false
- ball.BrickColor = BrickColor.new("Institutional white")
- ball.CFrame = RightArm.CFrame * CFrame.new(0,-10,0)
- ball.Anchored = true
- ball.TopSurface = 0
- ball.BottomSurface = 0
- ball.Material = "Neon"
- local ballm = Instance.new("SpecialMesh",ball)
- ballm.MeshType = "Sphere"
- local bp1 = Instance.new("BodyPosition",ball)
- bp1.MaxForce = Vector3.new(10000,10000,10000)
- bp1.Position = posishun + Vector3.new(math.random(-100,100),0,math.random(-100,100))
- bp1.P = 10000
- bp1.D = 1000
- if bp1.Position == nil then bp1.Position = Vector3.new(math.random(-10,10),math.random(0,20),math.random(-10,10))
- else
- --[[ball.Velocity = CFrame.new(ball.Position,bp.Position).lookVector * 500
- local bodyforc = Instance.new("BodyForce", ball)
- bodyforc.force = Vector3.new(0, ball:GetMass() * 196.1, 0)]]--
- repeat wait() until (ball.Position-bp1.Position).magnitude < 10
- bp1.Position = anotherposition.Position + Vector3.new(math.random(-15,15),0,math.random(-15,15))
- repeat wait() bp1.Position = anotherposition.Position + Vector3.new(math.random(-15,15),0,math.random(-15,15)) until (ball.Position-bp1.Position).magnitude < 10
- local sound = Instance.new("Sound",ball)
- sound.Pitch = 0.5
- sound.SoundId="http://www.roblox.com/asset/?id=165970126"
- wait()
- sound:Play()
- MagnitudeDamage(ball, 50, 50, 70, 100, "Normal", "610359515", 1)
- for i = 1,50,5 do
- ballm.Scale = Vector3.new(i,i,i)
- ball.Transparency= i/50
- wait()
- end
- ball:Remove()
- wait()
- end
- --end
- end)
- attack = false
- end
- Mouse.KeyDown:connect(function(k)
- k = k:lower()
- if attack == false and k == 'q' then
- OrbAttack()
- end
- if attack == false and k == 'e' then
- MultiOrbAttack()
- end
- end)
- coroutine.resume(coroutine.create(function(Part, Part2)
- while Part.Parent ~= nil do
- swait(math.random(100, 150))
- for i = 0, 1, 0.2 do
- wait()
- Eye1.Mesh.Scale = Vector3.new(1, .7 - 1 * i, 1)
- Eye2.Mesh.Scale = Vector3.new(1, .7 - 1 * i, 1)
- end
- for i = 0, 1, 0.2 do
- swait()
- Eye1.Mesh.Scale = Vector3.new(1, .7 + .3 * i, 1)
- Eye2.Mesh.Scale = Vector3.new(1, .7 + .3 * i, 1)
- end
- end
- end), Eye1, Eye2)
- game:GetService("RunService").RenderStepped:connect(function()
- if attack == false then
- for i, v in pairs(Character:children()) do
- if v.ClassName == "Accessory" then
- for i, v2 in pairs(v:children()) do
- if v2.ClassName == "Part" then
- v2.Anchored = false
- end
- end
- end
- end
- for i, v in pairs(Character:children()) do
- if v.ClassName == "Part" then
- v.Anchored = false
- end
- end
- end
- end)
- recurses2 = function(n)
- for i, v in pairs(n:GetChildren()) do
- if v:isA'BasePart' and v:IsDescendantOf(char) and v.Name ~= 'HumanoidRootPart' and v.Name ~= "Base" then
- v.Anchored = false
- end
- recurses2(v)
- end
- end
- local sine = 0
- local change = 1
- local t = 0
- local FlyHeight = 0
- while true do
- if Character.Humanoid.Health == 0 then
- print("Dead again")
- else
- swait()
- for i,v in pairs(Character:children()) do
- if v:IsA("Part") then
- v.Anchored = false
- end
- end
- sine = sine + change
- HHandle.Transparency = 1
- THandle.Transparency = 1
- AHandleR.Transparency = 1
- AHandleL.Transparency = 1
- LHandleR.Transparency = 1
- LHandleL.Transparency = 1
- RootPart.Transparency = 1
- HitboxR.Transparency = 1
- HitboxL.Transparency = 1
- Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- velocity = RootPart.Velocity.y
- sine = sine + change
- Shield.Anchored = true
- Shield.CFrame = Shield.CFrame:lerp(RootPart.CFrame * CFrame.new(0, 0, -3.2), 1)
- local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
- local RightLeg = CFrame.new(0.5,-1,0)
- local LeftLeg = CFrame.new(-0.5,-1,0)
- local lefth = (Torso.CFrame*LeftLeg)
- local righth = (Torso.CFrame*RightLeg)
- local speed = Vector3.new(Torso.Velocity.X,0,Torso.Velocity.Z)
- local TiltOnAxis = (Torso.CFrame-Torso.CFrame.p):vectorToObjectSpace(speed/100)
- local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
- local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
- if RootPart.Velocity.y > 1 and hit == nil then
- Anim = "Jump"
- if attack == false then
- change = 1
- PlayAnimationFromTable({
- CFrame.new(0, 0.00872418843, 0.0292903651, 1, 0, -0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, FlyHeight - math.sin(sine/39)/16, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.49999177, -1.49011612e-007, 1, 0, 0, 0, 0.98480767, 0.173648626, -0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.64140427, 0.273908556, 0.192029893, 0.946035206, -0.31541416, 0.0743736848, 0.284469575, 0.91821146, 0.275617331, -0.155224368, -0.239586651, 0.958386064) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.59350562, 0.239538491, 0.192243189, 0.935008764, 0.347148597, -0.0724328309, -0.312019885, 0.902400434, 0.297181845, 0.168529674, -0.255267143, 0.952069581) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.602718651, -1.95556056, 0.410092652, 0.978475571, 0.0150757888, -0.205834776, 0.0853612274, 0.878464639, 0.470120817, 0.187906027, -0.477568805, 0.85826844) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.41903314, -1.41877925, -0.229210436, 0.962251842, -0.0299757104, 0.270510197, -0.084186092, 0.912393093, 0.400567293, -0.258819073, -0.408219665, 0.875425339) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .06, false)
- LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.08)
- RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.08)
- RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.08)
- LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.08)
- end
- elseif RootPart.Velocity.y < -1 and hit == nil then
- Anim = "Fall"
- if attack == false then
- change = 1
- PlayAnimationFromTable({
- CFrame.new(-0, -0.0366669223, -0.0478199311, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661) * CFrame.new(0, FlyHeight - math.sin(sine/39)/16, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.58110774, -0.115850762, 1, 0, 0, 0, 0.98480767, 0.173647821, 0, -0.173647821, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.72150326, 0.610064566, 0.0891361833, 0.724097908, -0.685675204, 0.0743751749, 0.645872176, 0.711960018, 0.275611937, -0.241932437, -0.151533186, 0.958387375) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.69228244, 0.568353653, 0.082095027, 0.759895504, 0.646005511, -0.0724337399, -0.601845145, 0.741260946, 0.297183931, 0.24567467, -0.182231784, 0.952074111) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.60271728, -1.95556188, 0.410093039, 0.978470623, -0.00292155147, -0.206365243, 0.0853614658, 0.916095972, 0.391767859, 0.187905625, -0.400949359, 0.896622121) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.453899324, -1.81726217, -0.229221463, 0.962255239, -0.00628663599, 0.272094905, -0.0841865242, 0.943832874, 0.319526881, -0.258820891, -0.33037129, 0.90767473) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .06, false)
- LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.08)
- RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.08)
- RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.08)
- LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.08)
- end
- elseif Torsovelocity < 1 and hit ~= nil then
- Anim = "Idle"
- if attack == false then
- change = 1
- PlayAnimationFromTable({
- CFrame.new(0, -0.00190299738, -0.0435779989, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661) * CFrame.new(0, FlyHeight - math.asin(math.sin(sine/39)/16), 0) * CFrame.Angles(0 - 0.5 * math.asin(math.sin(sine / 39)/16), 0, 0),
- CFrame.new(0, 1.49999213, 3.27825546e-007, 1, 0, 0, 0, 0.99619478, 0.0871553123, 0, -0.0871553123, 0.99619478) * CFrame.new(0, 0, 0) * CFrame.Angles(math.asin(math.cos(sine / 39)/16), 0, 0),
- CFrame.new(0.674782097, 0.0130032599, 0.484848171, 0.628647685, 0.777698636, -5.20126468e-06, -0.740642428, 0.598692894, 0.305006236, 0.237205386, -0.191735595, 0.952355981) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.820904791, -0.110713258, 0.524471462, 0.743363142, -0.668888152, -9.41837641e-07, 0.637014925, 0.707940757, 0.30501157, -0.204017937, -0.226734951, 0.952348709) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.602711678, -1.89952374, -0.0967197716, 0.978471398, -0.0562333167, -0.198576227, 0.0853610933, 0.986278713, 0.141314447, 0.187904745, -0.155223012, 0.969844699) * CFrame.new(0, 0 - 1 * math.asin(math.sin(sine / 39)/16), 0) * CFrame.Angles(math.asin(math.sin(sine / 39)/16), 0,math.asin(-math.cos(sine / 39)/16)),
- CFrame.new(-0.619029164, -1.90815639, -0.0860156417, 0.962250412, 0.0410595387, 0.269051194, -0.0841863081, 0.984977186, 0.150772721, -0.258818805, -0.167731494, 0.951251626) * CFrame.new(0, 0 - 1 * math.asin(math.sin(sine / 39)/16), 0) * CFrame.Angles(math.asin(math.sin(sine / 39)/16), 0,math.asin(math.cos(sine / 39)/16)),
- }, .08, false)
- LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.08)
- RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.08)
- RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.08)
- LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.08)
- end
- elseif Torsovelocity > 2 and hit ~= nil then
- Anim = "Walk"
- if attack == false then
- change = 0.5
- RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0+0.12*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/2)), math.rad(0+10*math.cos(sine/4)/2.3)+RootPart.RotVelocity.Y/30, math.rad(0)+RootPart.RotVelocity.Y/30), 0.4)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/2), math.sin(sine/4)/4) * CFrame.Angles(-math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(10+7*math.cos(sine/2))+RootPart.RotVelocity.Y/30)), 0.4)
- RW.C1 = clerp(RW.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+.05*math.cos(sine/2), -math.sin(sine/4)/4)*CFrame.Angles(math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(-10-7*math.cos(sine/2))+RootPart.RotVelocity.Y/30)), 0.4)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
- RH.C0 = RH.C0:lerp(CFrame.new(0.5,-1+math.cos(sine/4)*.3,0-math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*-AngleThetaR.Z,AngleThetaR.X,(math.sin(sine/4)*3*AngleThetaR.X)-RootPart.RotVelocity.Y/20),0.8)
- RH.C1 = RH.C1:lerp(CFrame.new(0, 1, 0),.8)
- --RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
- LH.C0 = LH.C0:lerp(CFrame.new(-0.5,-1-math.cos(sine/4)*.3,0+math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*AngleThetaL.Z,AngleThetaL.X,(math.sin(sine/4)*3*-AngleThetaL.X)-RootPart.RotVelocity.Y/20),0.8)
- LH.C1 = LH.C1:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
- --LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
- end
- end
- end
- if 0 < #Effects then
- for e = 1, #Effects do
- if Effects[e] ~= nil then
- local Thing = Effects[e]
- if Thing ~= nil then
- local Part = Thing[1]
- local Mode = Thing[2]
- local Delay = Thing[3]
- local IncX = Thing[4]
- local IncY = Thing[5]
- local IncZ = Thing[6]
- if Thing[2] == "Shoot" then
- local Look = Thing[1]
- local move = 30
- if Thing[8] == 3 then
- move = 10
- end
- local hit, pos = rayCast(Thing[4], Thing[1], move, m)
- if Thing[10] ~= nil then
- da = pos
- cf2 = CFrame.new(Thing[4], Thing[10].Position)
- cfa = CFrame.new(Thing[4], pos)
- tehCF = cfa:lerp(cf2, 0.2)
- Thing[1] = tehCF.lookVector
- end
- local mag = (Thing[4] - pos).magnitude
- Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
- if Thing[8] == 2 then
- Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
- end
- Thing[4] = Thing[4] + Look * move
- Thing[3] = Thing[3] - 1
- if 2 < Thing[5] then
- Thing[5] = Thing[5] - 0.3
- Thing[6] = Thing[6] - 0.3
- end
- if hit ~= nil then
- Thing[3] = 0
- if Thing[8] == 1 or Thing[8] == 3 then
- Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
- else
- if Thing[8] == 2 then
- Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
- if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
- ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
- ref.Anchored = true
- ref.CFrame = CFrame.new(pos)
- CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
- game:GetService("Debris"):AddItem(ref, 0.2)
- Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
- Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
- MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
- end
- end
- end
- ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
- ref.Anchored = true
- ref.CFrame = CFrame.new(pos)
- Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
- game:GetService("Debris"):AddItem(ref, 1)
- end
- if Thing[3] <= 0 then
- table.remove(Effects, e)
- end
- end
- do
- do
- if Thing[2] == "FireWave" then
- if Thing[3] <= Thing[4] then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
- Thing[3] = Thing[3] + 1
- Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
- if Thing[1].Transparency <= 1 then
- if Thing[2] == "Block1" then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Block2" then
- Thing[1].CFrame = Thing[1].CFrame
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Fire" then
- Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Cylinder" then
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Blood" then
- Mesh = Thing[7]
- Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Elec" then
- Mesh = Thing[10]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- else
- if Thing[2] == "Disappear" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- end
- end
- end
- end
- end
- end
- end
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- end
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement