Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- [[[
- --000000[[====================================================================================\\
- --000000[[ DEIVIS97 EDIT
- --000000[[====================================================================================//
- -- [[[
- --usage
- local FEService = loadstring(game:HttpGetAsync("https://raw.githubusercontent.com/WhyGitHubb/FEService/main/main.lua"))()
- FEService:FullNetwork()
- print(game.Players.LocalPlayer.SimulationRadius)
- --reanimate by MyWorld#4430 discord.gg/pYVHtSJmEY
- local v3_net, v3_808 = Vector3.new(5000, 25.1, 0), Vector3.new(8, 0, 8)
- local function getNetlessVelocity(realPartVelocity)
- local mag = realPartVelocity.Magnitude
- if mag > 1 then
- local unit = realPartVelocity.Unit
- if (unit.Y > 0.25) or (unit.Y < -0.75) then
- return unit * (25.1 / unit.Y)
- end
- end
- return v3_net + realPartVelocity * v3_808
- end
- local simradius = "shp" --simulation radius (net bypass) method
- --"shp" - sethiddenproperty
- --"ssr" - setsimulationradius
- --false - disable
- local simrad = 1000 --simulation radius value
- local healthHide = true --moves your head away every 3 seconds so players dont see your health bar (alignmode 4 only)
- local reclaim = true --if you lost control over a part this will move your primary part to the part so you get it back (alignmode 4)
- local novoid = true --prevents parts from going under workspace.FallenPartsDestroyHeight if you control them (alignmode 4 only)
- local physp = nil --PhysicalProperties.new(0.01, 0, 1, 0, 0) --sets .CustomPhysicalProperties to this for each part
- local noclipAllParts = false --set it to true if you want noclip
- local antiragdoll = true --removes hingeConstraints and ballSocketConstraints from your character
- local newanimate = true --disables the animate script and enables after reanimation
- local discharscripts = true --disables all localScripts parented to your character before reanimation
- local R15toR6 = true --tries to convert your character to r6 if its r15
- local hatcollide = false --makes hats cancollide (credit to ShownApe) (works only with reanimate method 0)
- local humState16 = true --enables collisions for limbs before the humanoid dies (using hum:ChangeState)
- local addtools = false --puts all tools from backpack to character and lets you hold them after reanimation
- local hedafterneck = true --disable aligns for head and enable after neck or torso is removed
- local loadtime = game:GetService("Players").RespawnTime + 0.5 --anti respawn delay
- local method = 3 --reanimation method
- --methods:
- --0 - breakJoints (takes [loadtime] seconds to load)
- --1 - limbs
- --2 - limbs + anti respawn
- --3 - limbs + breakJoints after [loadtime] seconds
- --4 - remove humanoid + breakJoints
- --5 - remove humanoid + limbst
- local alignmode = 3 --AlignPosition mode
- --modes:
- --1 - AlignPosition rigidity enabled true
- --2 - 2 AlignPositions rigidity enabled both true and false
- --3 - AlignPosition rigidity enabled false
- --4 - CFrame
- local flingpart = "HumanoidRootPart" --name of the part or the hat used for flinging
- --the fling function
- --usage: fling(target, duration, velocity)
- --target can be set to: basePart, CFrame, Vector3, character model or humanoid (flings at mouse.Hit if argument not provided))
- --duration (fling time in seconds) can be set to a number or a string convertable to the number (0.5s if not provided),
- --velocity (fling part rotation velocity) can be set to a vector3 value (Vector3.new(20000, 20000, 20000) if not provided)
- local lp = game:GetService("Players").LocalPlayer
- local rs, ws, sg = game:GetService("RunService"), game:GetService("Workspace"), game:GetService("StarterGui")
- local stepped, heartbeat, renderstepped = rs.Stepped, rs.Heartbeat, rs.RenderStepped
- local twait, tdelay, rad, inf, abs, clamp = task.wait, task.delay, math.rad, math.huge, math.abs, math.clamp
- local cf, v3 = CFrame.new, Vector3.new
- local angles = CFrame.Angles
- local v3_0, cf_0 = v3(0, 0, 0), cf(0, 0, 0)
- local c = lp.Character
- if not (c and c.Parent) then
- return
- end
- c:GetPropertyChangedSignal("Parent"):Connect(function()
- if not (c and c.Parent) then
- c = nil
- end
- end)
- local clone, destroy, getchildren, getdescendants, isa = c.Clone, c.Destroy, c.GetChildren, c.GetDescendants, c.IsA
- local function gp(parent, name, className)
- if typeof(parent) == "Instance" then
- for i, v in pairs(getchildren(parent)) do
- if (v.Name == name) and isa(v, className) then
- return v
- end
- end
- end
- return nil
- end
- local fenv = getfenv()
- local shp = fenv.sethiddenproperty or fenv.set_hidden_property or fenv.set_hidden_prop or fenv.sethiddenprop
- local ssr = fenv.setsimulationradius or fenv.set_simulation_radius or fenv.set_sim_radius or fenv.setsimradius or fenv.setsimrad or fenv.set_sim_rad
- healthHide = healthHide and ((method == 0) or (method == 3)) and gp(c, "Head", "BasePart")
- local reclaim, lostpart = reclaim and c.PrimaryPart, nil
- local function align(Part0, Part1)
- local att0 = Instance.new("Attachment")
- att0.Position, att0.Orientation, att0.Name = v3_0, v3_0, "att0_" .. Part0.Name
- local att1 = Instance.new("Attachment")
- att1.Position, att1.Orientation, att1.Name = v3_0, v3_0, "att1_" .. Part1.Name
- if alignmode == 4 then
- local hide = false
- if Part0 == healthHide then
- healthHide = false
- tdelay(0, function()
- while twait(2.9) and Part0 and c do
- hide = #Part0:GetConnectedParts() == 1
- twait(0.1)
- hide = false
- end
- end)
- end
- local rot = rad(0.05)
- local con0, con1 = nil, nil
- con0 = stepped:Connect(function()
- if not (Part0 and Part1) then return con0:Disconnect() and con1:Disconnect() end
- Part0.RotVelocity = Part1.RotVelocity
- end)
- local lastpos = Part0.Position
- con1 = heartbeat:Connect(function(delta)
- if not (Part0 and Part1 and att1) then return con0:Disconnect() and con1:Disconnect() end
- if (not Part0.Anchored) and (Part0.ReceiveAge == 0) then
- if lostpart == Part0 then
- lostpart = nil
- end
- rot = -rot
- local newcf = Part1.CFrame * att1.CFrame * angles(0, 0, rot)
- if Part1.Velocity.Magnitude > 0.01 then
- Part0.Velocity = getNetlessVelocity(Part1.Velocity)
- else
- Part0.Velocity = getNetlessVelocity((newcf.Position - lastpos) / delta)
- end
- lastpos = newcf.Position
- if lostpart and (Part0 == reclaim) then
- newcf = lostpart.CFrame
- elseif hide then
- newcf += v3(0, 3000, 0)
- end
- if novoid and (newcf.Y < ws.FallenPartsDestroyHeight + 0.1) then
- newcf += v3(0, ws.FallenPartsDestroyHeight + 0.1 - newcf.Y, 0)
- end
- Part0.CFrame = newcf
- elseif (not Part0.Anchored) and (abs(Part0.Velocity.X) < 45) and (abs(Part0.Velocity.Y) < 25) and (abs(Part0.Velocity.Z) < 45) then
- lostpart = Part0
- end
- end)
- else
- Part0.CustomPhysicalProperties = physp
- if (alignmode == 1) or (alignmode == 2) then
- local ape = Instance.new("AlignPosition")
- ape.MaxForce, ape.MaxVelocity, ape.Responsiveness = inf, inf, inf
- ape.ReactionForceEnabled, ape.RigidityEnabled, ape.ApplyAtCenterOfMass = false, true, false
- ape.Attachment0, ape.Attachment1, ape.Name = att0, att1, "AlignPositionRtrue"
- ape.Parent = att0
- end
- if (alignmode == 2) or (alignmode == 3) then
- local apd = Instance.new("AlignPosition")
- apd.MaxForce, apd.MaxVelocity, apd.Responsiveness = inf, inf, inf
- apd.ReactionForceEnabled, apd.RigidityEnabled, apd.ApplyAtCenterOfMass = false, false, false
- apd.Attachment0, apd.Attachment1, apd.Name = att0, att1, "AlignPositionRfalse"
- apd.Parent = att0
- end
- local ao = Instance.new("AlignOrientation")
- ao.MaxAngularVelocity, ao.MaxTorque, ao.Responsiveness = inf, inf, inf
- ao.PrimaryAxisOnly, ao.ReactionTorqueEnabled, ao.RigidityEnabled = false, false, false
- ao.Attachment0, ao.Attachment1 = att0, att1
- ao.Parent = att0
- local con0, con1 = nil, nil
- local vel = Part0.Velocity
- con0 = renderstepped:Connect(function()
- if not (Part0 and Part1) then return con0:Disconnect() and con1:Disconnect() end
- Part0.Velocity = vel
- end)
- local lastpos = Part0.Position
- con1 = heartbeat:Connect(function(delta)
- if not (Part0 and Part1) then return con0:Disconnect() and con1:Disconnect() end
- vel = Part0.Velocity
- if Part1.Velocity.Magnitude > 0.01 then
- Part0.Velocity = getNetlessVelocity(Part1.Velocity)
- else
- Part0.Velocity = getNetlessVelocity((Part0.Position - lastpos) / delta)
- end
- lastpos = Part0.Position
- end)
- end
- att0:GetPropertyChangedSignal("Parent"):Connect(function()
- Part0 = att0.Parent
- if not isa(Part0, "BasePart") then
- att0 = nil
- if lostpart == Part0 then
- lostpart = nil
- end
- Part0 = nil
- end
- end)
- att0.Parent = Part0
- att1:GetPropertyChangedSignal("Parent"):Connect(function()
- Part1 = att1.Parent
- if not isa(Part1, "BasePart") then
- att1 = nil
- Part1 = nil
- end
- end)
- att1.Parent = Part1
- end
- local function respawnrequest()
- local ccfr, c = ws.CurrentCamera.CFrame, lp.Character
- lp.Character = nil
- lp.Character = c
- local con = nil
- con = ws.CurrentCamera.Changed:Connect(function(prop)
- if (prop ~= "Parent") and (prop ~= "CFrame") then
- return
- end
- ws.CurrentCamera.CFrame = ccfr
- con:Disconnect()
- end)
- end
- local destroyhum = (method == 4) or (method == 5)
- local breakjoints = (method == 0) or (method == 4)
- local antirespawn = (method == 0) or (method == 2) or (method == 3)
- hatcollide = hatcollide and (method == 0)
- addtools = addtools and lp:FindFirstChildOfClass("Backpack")
- if type(simrad) ~= "number" then simrad = 1000 end
- if shp and (simradius == "shp") then
- tdelay(0, function()
- while c do
- shp(lp, "SimulationRadius", simrad)
- heartbeat:Wait()
- end
- end)
- elseif ssr and (simradius == "ssr") then
- tdelay(0, function()
- while c do
- ssr(simrad)
- heartbeat:Wait()
- end
- end)
- end
- if antiragdoll then
- antiragdoll = function(v)
- if isa(v, "HingeConstraint") or isa(v, "BallSocketConstraint") then
- v.Parent = nil
- end
- end
- for i, v in pairs(getdescendants(c)) do
- antiragdoll(v)
- end
- c.DescendantAdded:Connect(antiragdoll)
- end
- if antirespawn then
- respawnrequest()
- end
- if method == 0 then
- twait(loadtime)
- if not c then
- return
- end
- end
- if discharscripts then
- for i, v in pairs(getdescendants(c)) do
- if isa(v, "LocalScript") then
- v.Disabled = true
- end
- end
- elseif newanimate then
- local animate = gp(c, "Animate", "LocalScript")
- if animate and (not animate.Disabled) then
- animate.Disabled = true
- else
- newanimate = false
- end
- end
- if addtools then
- for i, v in pairs(getchildren(addtools)) do
- if isa(v, "Tool") then
- v.Parent = c
- end
- end
- end
- pcall(function()
- settings().Physics.AllowSleep = false
- settings().Physics.PhysicsEnvironmentalThrottle = Enum.EnviromentalPhysicsThrottle.Disabled
- end)
- local OLDscripts = {}
- for i, v in pairs(getdescendants(c)) do
- if v.ClassName == "Script" then
- OLDscripts[v.Name] = true
- end
- end
- local scriptNames = {}
- for i, v in pairs(getdescendants(c)) do
- if isa(v, "BasePart") then
- local newName, exists = tostring(i), true
- while exists do
- exists = OLDscripts[newName]
- if exists then
- newName = newName .. "_"
- end
- end
- table.insert(scriptNames, newName)
- Instance.new("Script", v).Name = newName
- end
- end
- local hum = c:FindFirstChildOfClass("Humanoid")
- if hum then
- for i, v in pairs(hum:GetPlayingAnimationTracks()) do
- v:Stop()
- end
- end
- c.Archivable = true
- local cl = clone(c)
- if hum and humState16 then
- hum:ChangeState(Enum.HumanoidStateType.Physics)
- if destroyhum then
- twait(1.6)
- end
- end
- if destroyhum then
- pcall(destroy, hum)
- end
- if not c then
- return
- end
- local head, torso, root = gp(c, "Head", "BasePart"), gp(c, "Torso", "BasePart") or gp(c, "UpperTorso", "BasePart"), gp(c, "HumanoidRootPart", "BasePart")
- if hatcollide then
- pcall(destroy, torso)
- pcall(destroy, root)
- pcall(destroy, c:FindFirstChildOfClass("BodyColors") or gp(c, "Health", "Script"))
- end
- local model = Instance.new("Model", c)
- model:GetPropertyChangedSignal("Parent"):Connect(function()
- if not (model and model.Parent) then
- model = nil
- end
- end)
- for i, v in pairs(getchildren(c)) do
- if v ~= model then
- if addtools and isa(v, "Tool") then
- for i1, v1 in pairs(getdescendants(v)) do
- if v1 and v1.Parent and isa(v1, "BasePart") then
- local bv = Instance.new("BodyVelocity")
- bv.Velocity, bv.MaxForce, bv.P, bv.Name = v3_0, v3(1000, 1000, 1000), 1250, "bv_" .. v.Name
- bv.Parent = v1
- end
- end
- end
- v.Parent = model
- end
- end
- if breakjoints then
- model:BreakJoints()
- else
- if head and torso then
- for i, v in pairs(getdescendants(model)) do
- if isa(v, "JointInstance") then
- local save = false
- if (v.Part0 == torso) and (v.Part1 == head) then
- save = true
- end
- if (v.Part0 == head) and (v.Part1 == torso) then
- save = true
- end
- if save then
- if hedafterneck then
- hedafterneck = v
- end
- else
- pcall(destroy, v)
- end
- end
- end
- end
- if method == 3 then
- task.delay(loadtime, pcall, model.BreakJoints, model)
- end
- end
- cl.Parent = ws
- for i, v in pairs(getchildren(cl)) do
- v.Parent = c
- end
- pcall(destroy, cl)
- local uncollide, noclipcon = nil, nil
- if noclipAllParts then
- uncollide = function()
- if c then
- for i, v in pairs(getdescendants(c)) do
- if isa(v, "BasePart") then
- v.CanCollide = false
- end
- end
- else
- noclipcon:Disconnect()
- end
- end
- else
- uncollide = function()
- if model then
- for i, v in pairs(getdescendants(model)) do
- if isa(v, "BasePart") then
- v.CanCollide = false
- end
- end
- else
- noclipcon:Disconnect()
- end
- end
- end
- noclipcon = stepped:Connect(uncollide)
- uncollide()
- for i, scr in pairs(getdescendants(model)) do
- if (scr.ClassName == "Script") and table.find(scriptNames, scr.Name) then
- local Part0 = scr.Parent
- if isa(Part0, "BasePart") then
- for i1, scr1 in pairs(getdescendants(c)) do
- if (scr1.ClassName == "Script") and (scr1.Name == scr.Name) and (not scr1:IsDescendantOf(model)) then
- local Part1 = scr1.Parent
- if (Part1.ClassName == Part0.ClassName) and (Part1.Name == Part0.Name) then
- align(Part0, Part1)
- pcall(destroy, scr)
- pcall(destroy, scr1)
- break
- end
- end
- end
- end
- end
- end
- for i, v in pairs(getdescendants(c)) do
- if v and v.Parent and (not v:IsDescendantOf(model)) then
- if isa(v, "Decal") then
- v.Transparency = 1
- elseif isa(v, "BasePart") then
- v.Transparency = 1
- v.Anchored = false
- elseif isa(v, "ForceField") then
- v.Visible = false
- elseif isa(v, "Sound") then
- v.Playing = false
- elseif isa(v, "BillboardGui") or isa(v, "SurfaceGui") or isa(v, "ParticleEmitter") or isa(v, "Fire") or isa(v, "Smoke") or isa(v, "Sparkles") then
- v.Enabled = false
- end
- end
- end
- if newanimate then
- local animate = gp(c, "Animate", "LocalScript")
- if animate then
- animate.Disabled = false
- end
- end
- if addtools then
- for i, v in pairs(getchildren(c)) do
- if isa(v, "Tool") then
- v.Parent = addtools
- end
- end
- end
- local hum0, hum1 = model:FindFirstChildOfClass("Humanoid"), c:FindFirstChildOfClass("Humanoid")
- if hum0 then
- hum0:GetPropertyChangedSignal("Parent"):Connect(function()
- if not (hum0 and hum0.Parent) then
- hum0 = nil
- end
- end)
- end
- if hum1 then
- hum1:GetPropertyChangedSignal("Parent"):Connect(function()
- if not (hum1 and hum1.Parent) then
- hum1 = nil
- end
- end)
- ws.CurrentCamera.CameraSubject = hum1
- local camSubCon = nil
- local function camSubFunc()
- camSubCon:Disconnect()
- if c and hum1 then
- ws.CurrentCamera.CameraSubject = hum1
- end
- end
- camSubCon = renderstepped:Connect(camSubFunc)
- if hum0 then
- hum0:GetPropertyChangedSignal("Jump"):Connect(function()
- if hum1 then
- hum1.Jump = hum0.Jump
- end
- end)
- else
- respawnrequest()
- end
- end
- local rb = Instance.new("BindableEvent", c)
- rb.Event:Connect(function()
- pcall(destroy, rb)
- sg:SetCore("ResetButtonCallback", true)
- if destroyhum then
- if c then c:BreakJoints() end
- return
- end
- if model and hum0 and (hum0.Health > 0) then
- model:BreakJoints()
- hum0.Health = 0
- end
- if antirespawn then
- respawnrequest()
- end
- end)
- sg:SetCore("ResetButtonCallback", rb)
- tdelay(0, function()
- while c do
- if hum0 and hum1 then
- hum1.Jump = hum0.Jump
- end
- wait()
- end
- sg:SetCore("ResetButtonCallback", true)
- end)
- R15toR6 = R15toR6 and hum1 and (hum1.RigType == Enum.HumanoidRigType.R15)
- if R15toR6 then
- local part = gp(c, "HumanoidRootPart", "BasePart") or gp(c, "UpperTorso", "BasePart") or gp(c, "LowerTorso", "BasePart") or gp(c, "Head", "BasePart") or c:FindFirstChildWhichIsA("BasePart")
- if part then
- local cfr = part.CFrame
- local R6parts = {
- head = {
- Name = "Head",
- Size = v3(2, 1, 1),
- R15 = {
- Head = 0
- }
- },
- torso = {
- Name = "Torso",
- Size = v3(2, 2, 1),
- R15 = {
- UpperTorso = 0.2,
- LowerTorso = -0.8
- }
- },
- root = {
- Name = "HumanoidRootPart",
- Size = v3(2, 2, 1),
- R15 = {
- HumanoidRootPart = 0
- }
- },
- leftArm = {
- Name = "Left Arm",
- Size = v3(1, 2, 1),
- R15 = {
- LeftHand = -0.849,
- LeftLowerArm = -0.174,
- LeftUpperArm = 0.415
- }
- },
- rightArm = {
- Name = "Right Arm",
- Size = v3(1, 2, 1),
- R15 = {
- RightHand = -0.849,
- RightLowerArm = -0.174,
- RightUpperArm = 0.415
- }
- },
- leftLeg = {
- Name = "Left Leg",
- Size = v3(1, 2, 1),
- R15 = {
- LeftFoot = -0.85,
- LeftLowerLeg = -0.29,
- LeftUpperLeg = 0.49
- }
- },
- rightLeg = {
- Name = "Right Leg",
- Size = v3(1, 2, 1),
- R15 = {
- RightFoot = -0.85,
- RightLowerLeg = -0.29,
- RightUpperLeg = 0.49
- }
- }
- }
- for i, v in pairs(getchildren(c)) do
- if isa(v, "BasePart") then
- for i1, v1 in pairs(getchildren(v)) do
- if isa(v1, "Motor6D") then
- v1.Part0 = nil
- end
- end
- end
- end
- part.Archivable = true
- for i, v in pairs(R6parts) do
- local part = clone(part)
- part:ClearAllChildren()
- part.Name, part.Size, part.CFrame, part.Anchored, part.Transparency, part.CanCollide = v.Name, v.Size, cfr, false, 1, false
- for i1, v1 in pairs(v.R15) do
- local R15part = gp(c, i1, "BasePart")
- local att = gp(R15part, "att1_" .. i1, "Attachment")
- if R15part then
- local weld = Instance.new("Weld")
- weld.Part0, weld.Part1, weld.C0, weld.C1, weld.Name = part, R15part, cf(0, v1, 0), cf_0, "Weld_" .. i1
- weld.Parent = R15part
- R15part.Massless, R15part.Name = true, "R15_" .. i1
- R15part.Parent = part
- if att then
- att.Position = v3(0, v1, 0)
- att.Parent = part
- end
- end
- end
- part.Parent = c
- R6parts[i] = part
- end
- local R6joints = {
- neck = {
- Parent = R6parts.torso,
- Name = "Neck",
- Part0 = R6parts.torso,
- Part1 = R6parts.head,
- C0 = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
- C1 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- },
- rootJoint = {
- Parent = R6parts.root,
- Name = "RootJoint" ,
- Part0 = R6parts.root,
- Part1 = R6parts.torso,
- C0 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
- C1 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- },
- rightShoulder = {
- Parent = R6parts.torso,
- Name = "Right Shoulder",
- Part0 = R6parts.torso,
- Part1 = R6parts.rightArm,
- C0 = cf(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
- C1 = cf(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- },
- leftShoulder = {
- Parent = R6parts.torso,
- Name = "Left Shoulder",
- Part0 = R6parts.torso,
- Part1 = R6parts.leftArm,
- C0 = cf(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
- C1 = cf(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- },
- rightHip = {
- Parent = R6parts.torso,
- Name = "Right Hip",
- Part0 = R6parts.torso,
- Part1 = R6parts.rightLeg,
- C0 = cf(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
- C1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- },
- leftHip = {
- Parent = R6parts.torso,
- Name = "Left Hip" ,
- Part0 = R6parts.torso,
- Part1 = R6parts.leftLeg,
- C0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
- C1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- }
- }
- for i, v in pairs(R6joints) do
- local joint = Instance.new("Motor6D")
- for prop, val in pairs(v) do
- joint[prop] = val
- end
- R6joints[i] = joint
- end
- if hum1 then
- hum1.RigType, hum1.HipHeight = Enum.HumanoidRigType.R6, 0
- end
- end
- end
- local torso1 = torso
- torso = gp(c, "Torso", "BasePart") or ((not R15toR6) and gp(c, torso.Name, "BasePart"))
- if (typeof(hedafterneck) == "Instance") and head and torso and torso1 then
- local conNeck, conTorso, conTorso1 = nil, nil, nil
- local aligns = {}
- local function enableAligns()
- conNeck:Disconnect()
- conTorso:Disconnect()
- conTorso1:Disconnect()
- for i, v in pairs(aligns) do
- v.Enabled = true
- end
- end
- conNeck = hedafterneck.Changed:Connect(function(prop)
- if table.find({"Part0", "Part1", "Parent"}, prop) then
- enableAligns()
- end
- end)
- conTorso = torso:GetPropertyChangedSignal("Parent"):Connect(enableAligns)
- conTorso1 = torso1:GetPropertyChangedSignal("Parent"):Connect(enableAligns)
- for i, v in pairs(getdescendants(head)) do
- if isa(v, "AlignPosition") or isa(v, "AlignOrientation") then
- i = tostring(i)
- aligns[i] = v
- v:GetPropertyChangedSignal("Parent"):Connect(function()
- aligns[i] = nil
- end)
- v.Enabled = false
- end
- end
- end
- local flingpart0 = gp(model, flingpart, "BasePart") or gp(gp(model, flingpart, "Accessory"), "Handle", "BasePart")
- local flingpart1 = gp(c, flingpart, "BasePart") or gp(gp(c, flingpart, "Accessory"), "Handle", "BasePart")
- local fling = function() end
- if flingpart0 and flingpart1 then
- flingpart0:GetPropertyChangedSignal("Parent"):Connect(function()
- if not (flingpart0 and flingpart0.Parent) then
- flingpart0 = nil
- fling = function() end
- end
- end)
- flingpart0.Archivable = true
- flingpart1:GetPropertyChangedSignal("Parent"):Connect(function()
- if not (flingpart1 and flingpart1.Parent) then
- flingpart1 = nil
- fling = function() end
- end
- end)
- local att0 = gp(flingpart0, "att0_" .. flingpart0.Name, "Attachment")
- local att1 = gp(flingpart1, "att1_" .. flingpart1.Name, "Attachment")
- if att0 and att1 then
- att0:GetPropertyChangedSignal("Parent"):Connect(function()
- if not (att0 and att0.Parent) then
- att0 = nil
- fling = function() end
- end
- end)
- att1:GetPropertyChangedSignal("Parent"):Connect(function()
- if not (att1 and att1.Parent) then
- att1 = nil
- fling = function() end
- end
- end)
- local lastfling = nil
- local mouse = lp:GetMouse()
- fling = function(target, duration, rotVelocity)
- if typeof(target) == "Instance" then
- if isa(target, "BasePart") then
- target = target.Position
- elseif isa(target, "Model") then
- target = gp(target, "HumanoidRootPart", "BasePart") or gp(target, "Torso", "BasePart") or gp(target, "UpperTorso", "BasePart") or target:FindFirstChildWhichIsA("BasePart")
- if target then
- target = target.Position
- else
- return
- end
- elseif isa(target, "Humanoid") then
- target = target.Parent
- if not (target and isa(target, "Model")) then
- return
- end
- target = gp(target, "HumanoidRootPart", "BasePart") or gp(target, "Torso", "BasePart") or gp(target, "UpperTorso", "BasePart") or target:FindFirstChildWhichIsA("BasePart")
- if target then
- target = target.Position
- else
- return
- end
- else
- return
- end
- elseif typeof(target) == "CFrame" then
- target = target.Position
- elseif typeof(target) ~= "Vector3" then
- target = mouse.Hit
- if target then
- target = target.Position
- else
- return
- end
- end
- if target.Y < ws.FallenPartsDestroyHeight + 5 then
- target = v3(target.X, ws.FallenPartsDestroyHeight + 5, target.Z)
- end
- lastfling = target
- if type(duration) ~= "number" then
- duration = tonumber(duration) or 0.5
- end
- if typeof(rotVelocity) ~= "Vector3" then
- rotVelocity = v3(20000, 20000, 20000)
- end
- if not (target and flingpart0 and flingpart1 and att0 and att1) then
- return
- end
- flingpart0.Archivable = true
- local flingpart = clone(flingpart0)
- flingpart.Transparency = 1
- flingpart.CanCollide = false
- flingpart.Name = "flingpart_" .. flingpart0.Name
- flingpart.Anchored = true
- flingpart.Velocity = v3_0
- flingpart.RotVelocity = v3_0
- flingpart.Position = target
- flingpart:GetPropertyChangedSignal("Parent"):Connect(function()
- if not (flingpart and flingpart.Parent) then
- flingpart = nil
- end
- end)
- flingpart.Parent = flingpart1
- if flingpart0.Transparency > 0.5 then
- flingpart0.Transparency = 0.5
- end
- att1.Parent = flingpart
- local con = nil
- local rotchg = v3(0, rotVelocity.Unit.Y * -1000, 0)
- con = heartbeat:Connect(function(delta)
- if target and (lastfling == target) and flingpart and flingpart0 and flingpart1 and att0 and att1 then
- flingpart.Orientation += rotchg * delta
- flingpart0.RotVelocity = rotVelocity
- else
- con:Disconnect()
- end
- end)
- if alignmode ~= 4 then
- local con = nil
- con = renderstepped:Connect(function()
- if flingpart0 and target then
- flingpart0.RotVelocity = v3_0
- else
- con:Disconnect()
- end
- end)
- end
- twait(duration)
- if lastfling ~= target then
- if flingpart then
- if att1 and (att1.Parent == flingpart) then
- att1.Parent = flingpart1
- end
- pcall(destroy, flingpart)
- end
- return
- end
- target = nil
- if not (flingpart and flingpart0 and flingpart1 and att0 and att1) then
- return
- end
- flingpart0.RotVelocity = v3_0
- att1.Parent = flingpart1
- pcall(destroy, flingpart)
- end
- end
- end
- lp:GetMouse().Button1Down:Connect(fling) --click fling
- lol = getcustomasset or getsynasset
- getgenv().LoadLibrary = function(lib) return loadstring(game:HttpGet("https://raw.githubusercontent.com/Roblox/Core-Scripts/master/CoreScriptsRoot/Libraries/" .. lib .. ".lua"))() end
- local Player = game:GetService("Players").LocalPlayer
- repeat
- wait()
- until Player.Character
- local Character = Player.Character
- TrailSettings = {
- Lifetime = 1,
- Texture = "http://www.roblox.com/asset/?id=1097260739",
- Color1 = ColorSequence.new(BrickColor.new("Cool yellow").Color),
- Color2 = ColorSequence.new(BrickColor.new("Cool yellow").Color),
- AllBody = true,
- UpperBodyOnly = false,
- LowerBodyOnly = false,
- Accessories = false,
- Extras = true,
- R15 = false,
- R15Parts = {"UpperTorso", "LowerTorso"}
- }
- local Trail
- function UpperBody()
- if TrailSettings.R15 == false then
- A0 = Instance.new("Attachment", Character.Torso)
- A1 = Instance.new("Attachment", Character.Head)
- A2 = Instance.new("Attachment", Character["Right Arm"])
- A3 = Instance.new("Attachment", Character["Left Arm"])
- Trail = Instance.new("Trail", Character)
- Trail.Attachment0 = A0
- Trail.Attachment1 = A1
- Trail.Texture = TrailSettings.Texture
- Trail.Color = TrailSettings.Color1
- Trail.Lifetime = TrailSettings.Lifetime
- local Trail2 = Trail:Clone()
- Trail2.Parent = Character
- Trail2.Attachment1 = A2
- local Trail3 = Trail:Clone()
- Trail3.Parent = Character
- Trail3.Attachment1 = A3
- local Trail6 = Trail:Clone()
- Trail6.Parent = Character
- Trail6.Attachment0 = A1
- Trail6.Attachment1 = A2
- local Trail7 = Trail:Clone()
- Trail7.Parent = Character
- Trail7.Attachment0 = A1
- Trail7.Attachment1 = A3
- else
- A0 = Instance.new("Attachment", Character[TrailSettings.R15Parts[1]])
- A0R = Instance.new("Attachment", Character[TrailSettings.R15Parts[2]])
- A1 = Instance.new("Attachment", Character.Head)
- A2 = Instance.new("Attachment", Character.RightUpperArm)
- A2R = Instance.new("Attachment", Character.RightLowerArm)
- A3 = Instance.new("Attachment", Character.LeftUpperArm)
- A3R = Instance.new("Attachment", Character.LeftLowerArm)
- Trail = Instance.new("Trail", Character)
- Trail.Attachment0 = A0
- Trail.Attachment1 = A1
- Trail.Texture = TrailSettings.Texture
- Trail.Color = TrailSettings.Color1
- Trail.Lifetime = TrailSettings.Lifetime
- local Trail2 = Trail:Clone()
- Trail2.Parent = Character
- Trail2.Attachment1 = A2
- local Trail3 = Trail:Clone()
- Trail3.Parent = Character
- Trail3.Attachment1 = A3
- local Trail6 = Trail:Clone()
- Trail6.Parent = Character
- Trail6.Attachment0 = A1
- Trail6.Attachment1 = A2
- local Trail7 = Trail:Clone()
- Trail7.Parent = Character
- Trail7.Attachment0 = A1
- Trail7.Attachment1 = A3
- local Trail1R = Trail:Clone()
- Trail1R.Parent = Character
- Trail1R.Attachment1 = A2R
- local Trail2R = Trail:Clone()
- Trail2R.Parent = Character
- Trail2R.Attachment1 = A3R
- local Trail6R = Trail:Clone()
- Trail6.Parent = Character
- Trail6.Attachment0 = A1
- Trail6.Attachment1 = A2R
- local Trail7R = Trail:Clone()
- Trail7.Parent = Character
- Trail7.Attachment0 = A1
- Trail7.Attachment1 = A3R
- end
- end
- function LowerBody()
- if TrailSettings.R15 == false then
- A4 = Instance.new("Attachment", Character["Right Leg"])
- A5 = Instance.new("Attachment", Character["Left Leg"])
- local Trail4 = Trail:Clone()
- Trail4.Parent = Character
- Trail4.Attachment1 = A4
- local Trail5 = Trail:Clone()
- Trail5.Parent = Character
- Trail5.Attachment1 = A5
- local Trail8 = Trail:Clone()
- Trail8.Parent = Character
- Trail8.Attachment0 = A2
- Trail8.Attachment1 = A4
- Trail8.Color = TrailSettings.Color2
- local Trail9 = Trail:Clone()
- Trail9.Parent = Character
- Trail9.Attachment0 = A3
- Trail9.Attachment1 = A5
- Trail9.Color = TrailSettings.Color2
- local FT = Trail:Clone()
- FT.Parent = Character
- FT.Attachment0 = A4
- FT.Attachment1 = A5
- FT.Color = TrailSettings.Color2
- else
- A4 = Instance.new("Attachment", Character.RightLowerLeg)
- A4R = Instance.new("Attachment", Character.RightUpperLeg)
- A5 = Instance.new("Attachment", Character.LeftLowerLeg)
- A5R = Instance.new("Attachment", Character.LeftUpperLeg)
- local Trail4 = Trail:Clone()
- Trail4.Parent = Character
- Trail4.Attachment1 = A4
- local Trail5 = Trail:Clone()
- Trail5.Parent = Character
- Trail5.Attachment1 = A5
- local Trail8 = Trail:Clone()
- Trail8.Parent = Character
- Trail8.Attachment0 = A2
- Trail8.Attachment1 = A4
- Trail8.Color = TrailSettings.Color2
- local Trail9 = Trail:Clone()
- Trail9.Parent = Character
- Trail9.Attachment0 = A3
- Trail9.Attachment1 = A5
- Trail9.Color = TrailSettings.Color2
- local FT = Trail:Clone()
- FT.Parent = Character
- FT.Attachment0 = A4
- FT.Attachment1 = A5
- FT.Color = TrailSettings.Color2
- local Trail3R = Trail:Clone()
- Trail3R.Parent = Character
- Trail3R.Attachment1 = A4R
- local Trail4R = Trail:Clone()
- Trail4R.Parent = Character
- Trail4R.Attachment1 = A5R
- local Trail8 = Trail:Clone()
- Trail8.Parent = Character
- Trail8.Attachment0 = A2R
- Trail8.Attachment1 = A4R
- Trail8.Color = TrailSettings.Color2
- local Trail9 = Trail:Clone()
- Trail9.Parent = Character
- Trail9.Attachment0 = A3R
- Trail9.Attachment1 = A5R
- Trail9.Color = TrailSettings.Color2
- local FT2R = Trail:Clone()
- FT2R.Parent = Character
- FT2R.Attachment0 = A4R
- FT2R.Attachment1 = A5R
- FT2R.Color = TrailSettings.Color2
- end
- end
- function AllBody()
- UpperBody()
- LowerBody()
- end
- if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
- TrailSettings.UpperBodyOnly = false
- TrailSettings.LowerBodyOnly = false
- elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
- TrailSettings.UpperBodyOnly = false
- TrailSettings.LowerBodyOnly = false
- elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
- TrailSettings.UpperBodyOnly = false
- TrailSettings.LowerBodyOnly = false
- elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
- TrailSettings.AllBody = true
- TrailSettings.UpperBodyOnly = false
- TrailSettings.LowerBodyOnly = false
- end
- if TrailSettings.UpperBodyOnly == true then
- UpperBody()
- print("Called Upper Body Trail")
- elseif TrailSettings.LowerBodyOnly == true then
- LowerBody()
- print("Called Lower Body Trail")
- elseif TrailSettings.AllBody == true then
- AllBody()
- print("Called Full Body Trail")
- end
- if TrailSettings.Accessories == true then
- for Index, Item in pairs(Character:GetChildren()) do
- if Item:IsA("Accessory") then
- local AA = Instance.new("Attachment", Item.Handle)
- local ATrail = Trail:Clone()
- ATrail.Parent = Character
- ATrail.Attachment1 = AA
- end
- end
- end
- if TrailSettings.Extras == true then
- spawn(function()
- repeat
- wait()
- until Trail
- local AB = Instance.new("Attachment", a)
- local ABT = Trail:Clone()
- ABT.Parent = Character
- ABT.Attachment0 = A4
- ABT.Attachment1 = AB
- ABT.Color = TrailSettings.Color2
- local ABT2 = Trail:Clone()
- ABT2.Parent = Character
- ABT2.Attachment0 = A5
- ABT2.Attachment1 = AB
- ABT2.Color = TrailSettings.Color2
- end)
- end
- wait(0.1)
- --//====================================================\\--
- --|| CREATED BY SHACKLUSTER
- --\\====================================================//--
- local Player = game.Players.localPlayer
- local Character = Player.Character
- local Humanoid = Character.Humanoid
- local Mouse = Player:GetMouse()
- local LeftArm = Character["Left Arm"]
- local RightArm = Character["Right Arm"]
- local LeftLeg = Character["Left Leg"]
- local RightLeg = Character["Right Leg"]
- local Head = Character.Head
- local Torso = Character.Torso
- local Camera = game.Workspace.CurrentCamera
- local RootPart = Character.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- local attack = false
- local Anim = 'Idle'
- local Lighty = game:GetService"Lighting"
- local attacktype = 1
- local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velocity = RootPart.Velocity.y
- local sine = 0
- local change = 1
- local bored = {492070484,1232162751,1534958855,303535614,1117396305,0}
- local Create = LoadLibrary("RbxUtility").Create
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- local chara = Character
- local m = Create("Model"){
- Parent = Character,
- Name = "WeaponModel",
- }
- function chatfunc(text)
- local chat = coroutine.wrap(function()
- if Character:FindFirstChild("TalkingBillBoard")~= nil then
- Character:FindFirstChild("TalkingBillBoard"):destroy()
- end
- local Bill = Instance.new("BillboardGui",Character)
- Bill.Size = UDim2.new(0,100,0,40)
- Bill.StudsOffset = Vector3.new(0,3,0)
- Bill.Adornee = Character.Head
- Bill.Name = "TalkingBillBoard"
- local Hehe = Instance.new("TextLabel",Bill)
- Hehe.BackgroundTransparency = 1
- Hehe.BorderSizePixel = 0
- Hehe.Text = ""
- Hehe.Font = "Garamond"
- Hehe.TextSize = 40
- Hehe.TextStrokeTransparency = 0
- Hehe.Size = UDim2.new(1,0,0.5,0)
- coroutine.resume(coroutine.create(function()
- while Hehe ~= nil do
- swait()
- Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
- Hehe.Rotation = math.random(-5,5)
- Hehe.TextColor3 = Color3.new(255,255,0)
- Hehe.TextStrokeColor3 = Color3.new(0,0,0)
- end
- end))
- for i = 1,string.len(text),1 do
- swait()
- Hehe.Text = string.sub(text,1,i)
- end
- swait(90)--Re[math.random(1, 93)]
- for i = 0, 1, .025 do
- swait()
- Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
- Hehe.TextStrokeTransparency = i
- Hehe.TextTransparency = i
- end
- Bill:Destroy()
- end)
- chat()
- end
- function onChatted(msg)
- chatfunc(msg)
- end
- Player.Chatted:connect(onChatted)
- wait(0.2)
- Player = game:GetService("Players").LocalPlayer
- PlayerGui = Player.PlayerGui
- Cam = workspace.CurrentCamera
- Backpack = Player.Backpack
- Character = Player.Character
- Humanoid = Character.Humanoid
- Mouse = Player:GetMouse()
- RootPart = Character["HumanoidRootPart"]
- Torso = Character["Torso"]
- Head = Character["Head"]
- RightArm = Character["Right Arm"]
- LeftArm = Character["Left Arm"]
- RightLeg = Character["Right Leg"]
- LeftLeg = Character["Left Leg"]
- RootJoint = RootPart["RootJoint"]
- Neck = Torso["Neck"]
- RightShoulder = Torso["Right Shoulder"]
- LeftShoulder = Torso["Left Shoulder"]
- RightHip = Torso["Right Hip"]
- LeftHip = Torso["Left Hip"]
- Character.Archivable = true
- Player:ClearCharacterAppearance()
- IT = Instance.new
- CF = CFrame.new
- VT = Vector3.new
- RAD = math.rad
- C3 = Color3.new
- UD2 = UDim2.new
- BRICKC = BrickColor.new
- ANGLES = CFrame.Angles
- EULER = CFrame.fromEulerAnglesXYZ
- COS = math.cos
- ACOS = math.acos
- SIN = math.sin
- ASIN = math.asin
- ABS = math.abs
- MRANDOM = math.random
- FLOOR = math.floor
- local CHOICE = MRANDOM(1,5)
- --//=================================\\
- --|| USEFUL VALUES
- --\\=================================//
- Animation_Speed = 3
- Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
- local Speed = 20
- local SIZE = 1.4
- local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
- local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
- local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
- local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
- local DAMAGEMULTIPLIER = "inf"
- local ANIM = "Idle"
- local ATTACK = false
- local EQUIPPED = false
- local HOLD = false
- local COMBO = 1
- local Rooted = false
- local SINE = 0
- local KEYHOLD = false
- local CHANGE = 2 / Animation_Speed
- local WALKINGANIM = false
- local VALUE1 = false
- local VALUE2 = false
- local ROBLOXIDLEANIMATION = IT("Animation")
- ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
- ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
- local ATANIM = IT("Animation")
- ATANIM.Name = "Attack Animation"
- ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
- --ROBLOXIDLEANIMATION.Parent = Humanoid
- local WEAPONGUI = IT("ScreenGui", PlayerGui)
- WEAPONGUI.Name = "Weapon GUI"
- local Weapon = IT("Model")
- Weapon.Name = "Adds"
- local Effects = IT("Folder", Weapon)
- Effects.Name = "Effects"
- local ANIMATOR = Humanoid.Animator
- local ANIMATE = Character.Animate
- local UNANCHOR = true
- local CLOCKLOOP = 0
- local SONG = 492070484
- local CLOCKTARGET = nil
- local CLOCKSPEED = 4
- script.Parent = WEAPONGUI
- local CLONE = Character:Clone()
- CLONE.Parent = nil
- Character.Archivable = false
- local sick = Instance.new("Sound",Torso)
- sick.Volume = 50999
- --//=================================\\
- --\\=================================//
- --//=================================\\
- --|| SAZERENOS' ARTIFICIAL HEARTBEAT
- --\\=================================//
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "ArtificialHB"
- script:WaitForChild("ArtificialHB")
- frame = Frame_Speed
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.ArtificialHB:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.ArtificialHB:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.ArtificialHB:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- --//=================================\\
- --\\=================================//
- --//=================================\\
- --|| SOME FUNCTIONS
- --\\=================================//
- function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
- return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
- end
- function PositiveAngle(NUMBER)
- if NUMBER >= 0 then
- NUMBER = 0
- end
- return NUMBER
- end
- function NegativeAngle(NUMBER)
- if NUMBER <= 0 then
- NUMBER = 0
- end
- return NUMBER
- end
- function Swait(NUMBER)
- if NUMBER == 0 or NUMBER == nil then
- ArtificialHB.Event:wait()
- else
- for i = 1, NUMBER do
- ArtificialHB.Event:wait()
- end
- end
- end
- function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
- local NEWMESH = IT(MESH)
- if MESH == "SpecialMesh" then
- NEWMESH.MeshType = MESHTYPE
- if MESHID ~= "nil" and MESHID ~= "" then
- NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
- end
- if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
- NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
- end
- end
- NEWMESH.Offset = OFFSET or VT(0, 0, 0)
- NEWMESH.Scale = SCALE
- NEWMESH.Parent = PARENT
- return NEWMESH
- end
- function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
- local NEWPART = IT("Part")
- NEWPART.formFactor = FORMFACTOR
- NEWPART.Reflectance = REFLECTANCE
- NEWPART.Transparency = TRANSPARENCY
- NEWPART.CanCollide = false
- NEWPART.Locked = true
- NEWPART.Anchored = true
- if ANCHOR == false then
- NEWPART.Anchored = false
- end
- NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
- NEWPART.Name = NAME
- NEWPART.Size = SIZE
- NEWPART.Position = Torso.Position
- NEWPART.Material = MATERIAL
- NEWPART:BreakJoints()
- NEWPART.Parent = PARENT
- return NEWPART
- end
- local function weldBetween(a, b)
- local weldd = Instance.new("ManualWeld")
- weldd.Part0 = a
- weldd.Part1 = b
- weldd.C0 = CFrame.new()
- weldd.C1 = b.CFrame:inverse() * a.CFrame
- weldd.Parent = a
- return weldd
- end
- 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
- 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
- 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 = ACOS(cosTheta)
- local invSinTheta = 1 / SIN(theta)
- startInterp = SIN((1 - t) * theta) * invSinTheta
- finishInterp = SIN(t * theta) * invSinTheta
- else
- startInterp = 1 - t
- finishInterp = t
- end
- else
- if (1 + cosTheta) > 0.0001 then
- local theta = ACOS(-cosTheta)
- local invSinTheta = 1 / SIN(theta)
- startInterp = SIN((t - 1) * theta) * invSinTheta
- finishInterp = 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
- function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
- local frame = IT("Frame")
- frame.BackgroundTransparency = TRANSPARENCY
- frame.BorderSizePixel = BORDERSIZEPIXEL
- frame.Position = POSITION
- frame.Size = SIZE
- frame.BackgroundColor3 = COLOR
- frame.BorderColor3 = BORDERCOLOR
- frame.Name = NAME
- frame.Parent = PARENT
- return frame
- end
- function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
- local label = IT("TextLabel")
- label.BackgroundTransparency = 1
- label.Size = UD2(1, 0, 1, 0)
- label.Position = UD2(0, 0, 0, 0)
- label.TextColor3 = TEXTCOLOR
- label.TextStrokeTransparency = STROKETRANSPARENCY
- label.TextTransparency = TRANSPARENCY
- label.FontSize = TEXTFONTSIZE
- label.Font = TEXTFONT
- label.BorderSizePixel = BORDERSIZEPIXEL
- label.TextStrokeColor3 = C3(1,1,1)
- label.TextScaled = false
- label.Text = TEXT
- label.Name = NAME
- label.Parent = PARENT
- return label
- end
- function NoOutlines(PART)
- PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
- end
- function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
- local NEWWELD = IT(TYPE)
- NEWWELD.Part0 = PART0
- NEWWELD.Part1 = PART1
- NEWWELD.C0 = C0
- NEWWELD.C1 = C1
- NEWWELD.Parent = PARENT
- return NEWWELD
- end
- local S = IT("Sound")
- function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
- local NEWSOUND = nil
- coroutine.resume(coroutine.create(function()
- NEWSOUND = S:Clone()
- NEWSOUND.Parent = PARENT
- NEWSOUND.Volume = VOLUME
- NEWSOUND.Pitch = PITCH
- NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
- NEWSOUND:play()
- if DOESLOOP == true then
- NEWSOUND.Looped = true
- else
- repeat wait(1) until NEWSOUND.Playing == false
- NEWSOUND:remove()
- end
- end))
- return NEWSOUND
- end
- function CFrameFromTopBack(at, top, back)
- local right = top:Cross(back)
- return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
- end
- --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- function WACKYEFFECT(Table)
- local TYPE = (Table.EffectType or "Sphere")
- local SIZE = (Table.Size or VT(1,1,1))
- local ENDSIZE = (Table.Size2 or VT(0,0,0))
- local TRANSPARENCY = (Table.Transparency or 0)
- local ENDTRANSPARENCY = (Table.Transparency2 or 1)
- local CFRAME = (Table.CFrame or Torso.CFrame)
- local MOVEDIRECTION = (Table.MoveToPos or nil)
- local ROTATION1 = (Table.RotationX or 0)
- local ROTATION2 = (Table.RotationY or 0)
- local ROTATION3 = (Table.RotationZ or 0)
- local MATERIAL = (Table.Material or "Neon")
- local COLOR = (Table.Color or C3(66/255, 0/255, 127/2551))
- local TIME = (Table.Time or 45)
- local SOUNDID = (Table.SoundID or nil)
- local SOUNDPITCH = (Table.SoundPitch or nil)
- local SOUNDVOLUME = (Table.SoundVolume or nil)
- coroutine.resume(coroutine.create(function()
- local PLAYSSOUND = false
- local SOUND = nil
- local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Dark indigo"), "Effect", VT(1,1,1), true)
- if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
- PLAYSSOUND = true
- SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
- end
- EFFECT.Color = COLOR
- local MSH = nil
- if TYPE == "Sphere" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
- elseif TYPE == "Block" then
- MSH = IT("BlockMesh",EFFECT)
- MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
- elseif TYPE == "Wave" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
- elseif TYPE == "Ring" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
- elseif TYPE == "Slash" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
- elseif TYPE == "Round Slash" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
- elseif TYPE == "Swirl" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
- elseif TYPE == "Skull" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
- elseif TYPE == "Crystal" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
- end
- if MSH ~= nil then
- local MOVESPEED = nil
- if MOVEDIRECTION ~= nil then
- MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
- end
- local GROWTH = SIZE - ENDSIZE
- local TRANS = TRANSPARENCY - ENDTRANSPARENCY
- if TYPE == "Block" then
- EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
- else
- EFFECT.CFrame = CFRAME
- end
- for LOOP = 1, TIME+1 do
- Swait()
- MSH.Scale = MSH.Scale - GROWTH/TIME
- if TYPE == "Wave" then
- MSH.Offset = VT(0,0,-MSH.Scale.X/8)
- end
- EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
- if TYPE == "Block" then
- EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
- else
- EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
- end
- if MOVEDIRECTION ~= nil then
- local ORI = EFFECT.Orientation
- EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
- EFFECT.Orientation = ORI
- end
- end
- if PLAYSSOUND == false then
- EFFECT:remove()
- else
- repeat Swait() until SOUND.Playing == false
- EFFECT:remove()
- end
- else
- if PLAYSSOUND == false then
- EFFECT:remove()
- else
- repeat Swait() until SOUND.Playing == false
- EFFECT:remove()
- end
- end
- end))
- end
- function MakeForm(PART,TYPE)
- if TYPE == "Cyl" then
- local MSH = IT("CylinderMesh",PART)
- elseif TYPE == "Ball" then
- local MSH = IT("SpecialMesh",PART)
- MSH.MeshType = "Sphere"
- elseif TYPE == "Wedge" then
- local MSH = IT("SpecialMesh",PART)
- MSH.MeshType = "Wedge"
- end
- end
- Debris = game:GetService("Debris")
- function CastProperRay(StartPos, EndPos, Distance, Ignore)
- local DIRECTION = CF(StartPos,EndPos).lookVector
- return Raycast(StartPos, DIRECTION, Distance, Ignore)
- end
- function turnto(position)
- RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
- end
- --//=================================\\
- --|| WEAPON CREATION
- --\\=================================//
- Humanoid.Parent = nil
- RootPart.Size = RootPart.Size*SIZE
- Torso.Size = Torso.Size*SIZE
- RightArm.Size = RightArm.Size*SIZE
- RightLeg.Size = RightLeg.Size*SIZE
- LeftArm.Size = LeftArm.Size*SIZE
- LeftLeg.Size = LeftLeg.Size*SIZE
- RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
- RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
- Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
- Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
- RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
- LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
- RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
- LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
- RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
- LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
- Head.Size = Head.Size*SIZE
- RootJoint.Parent = RootPart
- Neck.Parent = Torso
- RightShoulder.Parent = Torso
- LeftShoulder.Parent = Torso
- RightHip.Parent = Torso
- LeftHip.Parent = Torso
- Humanoid.DisplayDistanceType = "None"
- local naeeym2 = IT("BillboardGui",Character)
- naeeym2.AlwaysOnTop = true
- naeeym2.Size = UDim2.new(5,35,2,15)
- naeeym2.StudsOffset = Vector3.new(0,2,0)
- naeeym2.MaxDistance = 75
- naeeym2.Adornee = Character.Head
- naeeym2.Name = "Name"
- local tecks2 = IT("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.TextScaled = true
- tecks2.BorderSizePixel = 0
- tecks2.Text = "Master of Time"
- tecks2.Font = "Fantasy"
- tecks2.TextSize = 30
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = C3(0,0,0)
- tecks2.TextStrokeColor3 = C3(255/255, 255/255, 0/255)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- tecks2.Parent = naeeym2
- local top = Instance.new("Shirt")
- top.ShirtTemplate = "rbxassetid://45695443"
- top.Parent = Character
- top.Name = "Cloth"
- local bottom = Instance.new("Pants")
- bottom.PantsTemplate = "rbxassetid://45696190"
- bottom.Parent = Character
- bottom.Name = "Cloth"
- local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
- PRT.Color = C3(0,0,0)
- CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
- CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "82907376", VT(1,1,1)*SIZE, VT(0,0,0))
- local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
- PRT.Color = C3(0,0,0)
- CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
- CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
- local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
- PRT.Color = C3(255/255, 0/255, 0/255)
- MakeForm(PRT,"Ball")
- CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
- local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
- PRT.Color = C3(255/255, 255/255, 0/255)
- MakeForm(PRT,"Ball")
- CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
- local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
- PRT.Color = C3(255/255, 255/255, 0/255)
- MakeForm(PRT,"Ball")
- CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
- local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
- PRT.Color = C3(255/255, 255/255, 0/255)
- MakeForm(PRT,"Ball")
- local Aura = Instance.new('ParticleEmitter')
- Aura.Name = "Aura"
- Aura.Texture = "rbxassetid://131765579"
- Aura.Parent = PRT
- Aura.LightEmission = 0.3
- Aura.Transparency = NumberSequence.new(0,0.6,1)
- Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(255/255, 0/255, 0/255))
- Aura.Size = NumberSequence.new(0.3,0.2,0.1)
- Aura.LockedToPart = false
- Aura.Lifetime = NumberRange.new(2)
- Aura.Rate = 30
- Aura.Speed = NumberRange.new(1)
- Aura.EmissionDirection = "Top"
- CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
- local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
- PRT.Color = C3(255/255, 255/255, 0/255)
- MakeForm(PRT,"Ball")
- CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
- local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
- PRT.Color = C3(255/255, 255/255, 0/255)
- MakeForm(PRT,"Ball")
- CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
- local LASTPART = Head
- for i = 1, 24 do
- local MATH = (1-(i/30))
- if LASTPART == Head then
- local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
- CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
- LASTPART = Horn
- Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
- local Aura = Instance.new('ParticleEmitter')
- Aura.Name = "Aura"
- Aura.Texture = "rbxassetid://242997264"
- Aura.Parent = Horn
- Aura.LightEmission = 0.8
- Aura.Transparency = NumberSequence.new(0,0.6,1)
- Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
- Aura.Size = NumberSequence.new(0.3,0.2,0.1)
- Aura.LockedToPart = true
- Aura.Lifetime = NumberRange.new(2)
- Aura.Rate = 25
- Aura.Speed = NumberRange.new(0.1)
- Aura.EmissionDirection = "Top"
- else
- local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
- CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
- LASTPART = Horn
- Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
- local Aura = Instance.new('ParticleEmitter')
- Aura.Name = "Aura"
- Aura.Texture = "rbxassetid://242997264"
- Aura.Parent = Horn
- Aura.LightEmission = 0.8
- Aura.Transparency = NumberSequence.new(0,0.6,1)
- Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
- Aura.Size = NumberSequence.new(0.3,0.2,0.1)
- Aura.LockedToPart = true
- Aura.Lifetime = NumberRange.new(2)
- Aura.Rate = 25
- Aura.Speed = NumberRange.new(0.1)
- Aura.EmissionDirection = "Top"
- end
- end
- local LASTPART = Head
- for i = 1, 24 do
- local MATH = (1-(i/30))
- if LASTPART == Head then
- local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
- CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
- LASTPART = Horn
- Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
- local Aura = Instance.new('ParticleEmitter')
- Aura.Name = "Aura"
- Aura.Texture = "rbxassetid://242997264"
- Aura.Parent = Horn
- Aura.LightEmission = 0.8
- Aura.Transparency = NumberSequence.new(0,0.6,1)
- Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
- Aura.Size = NumberSequence.new(0.3,0.2,0.1)
- Aura.LockedToPart = true
- Aura.Lifetime = NumberRange.new(2)
- Aura.Rate = 25
- Aura.Speed = NumberRange.new(0.1)
- Aura.EmissionDirection = "Top"
- else
- local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
- CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
- LASTPART = Horn
- Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
- local Aura = Instance.new('ParticleEmitter')
- Aura.Name = "Aura"
- Aura.Texture = "rbxassetid://242997264"
- Aura.Parent = Horn
- Aura.LightEmission = 0.8
- Aura.Transparency = NumberSequence.new(0,0.6,1)
- Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
- Aura.Size = NumberSequence.new(0.3,0.2,0.1)
- Aura.LockedToPart = true
- Aura.Lifetime = NumberRange.new(2)
- Aura.Rate = 25
- Aura.Speed = NumberRange.new(0.1)
- Aura.EmissionDirection = "Top"
- end
- end
- local LASTPART = Head
- for i = 1, 8 do
- local MATH = (1-(i/14))
- if LASTPART == Head then
- local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
- CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
- LASTPART = Horn
- Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
- local Aura = Instance.new('ParticleEmitter')
- Aura.Name = "Aura"
- Aura.Texture = "rbxassetid://242997264"
- Aura.Parent = Horn
- Aura.LightEmission = 0.8
- Aura.Transparency = NumberSequence.new(0,0.6,1)
- Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
- Aura.Size = NumberSequence.new(0.3,0.2,0.1)
- Aura.LockedToPart = true
- Aura.Lifetime = NumberRange.new(2)
- Aura.Rate = 25
- Aura.Speed = NumberRange.new(0.1)
- Aura.EmissionDirection = "Top"
- else
- local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
- CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
- LASTPART = Horn
- Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
- local Aura = Instance.new('ParticleEmitter')
- Aura.Name = "Aura"
- Aura.Texture = "rbxassetid://242997264"
- Aura.Parent = Horn
- Aura.LightEmission = 0.8
- Aura.Transparency = NumberSequence.new(0,0.6,1)
- Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
- Aura.Size = NumberSequence.new(0.3,0.2,0.1)
- Aura.LockedToPart = true
- Aura.Lifetime = NumberRange.new(2)
- Aura.Rate = 25
- Aura.Speed = NumberRange.new(0.1)
- Aura.EmissionDirection = "Top"
- end
- end
- local LASTPART = Head
- for i = 1, 8 do
- local MATH = (1-(i/14))
- if LASTPART == Head then
- local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
- CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
- LASTPART = Horn
- Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
- local Aura = Instance.new('ParticleEmitter')
- Aura.Name = "Aura"
- Aura.Texture = "rbxassetid://242997264"
- Aura.Parent = Horn
- Aura.LightEmission = 0.8
- Aura.Transparency = NumberSequence.new(0,0.6,1)
- Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
- Aura.Size = NumberSequence.new(0.3,0.2,0.1)
- Aura.LockedToPart = true
- Aura.Lifetime = NumberRange.new(2)
- Aura.Rate = 25
- Aura.Speed = NumberRange.new(0.1)
- Aura.EmissionDirection = "Top"
- else
- local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
- CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
- LASTPART = Horn
- Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
- local Aura = Instance.new('ParticleEmitter')
- Aura.Name = "Aura"
- Aura.Texture = "rbxassetid://242997264"
- Aura.Parent = Horn
- Aura.LightEmission = 0.8
- Aura.Transparency = NumberSequence.new(0,0.6,1)
- Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
- Aura.Size = NumberSequence.new(0.3,0.2,0.1)
- Aura.LockedToPart = true
- Aura.Lifetime = NumberRange.new(2)
- Aura.Rate = 25
- Aura.Speed = NumberRange.new(0.1)
- Aura.EmissionDirection = "Top"
- end
- end
- local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
- CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
- local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
- CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
- MakeForm(PRT,"Cyl")
- local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
- CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
- MakeForm(PRT,"Cyl")
- PRT.Color = C3(255/255, 255/255, 0/255)
- local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
- CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
- MakeForm(RING,"Cyl")
- RING.Color = C3(0,0,0)
- for i = 1, 12 do
- local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
- PRT.Color = C3(0,0,0)
- local MSH = IT("BlockMesh",PRT)
- MSH.Scale = VT(0.6,1,1)
- CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
- end
- local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
- PRT.Color = C3(0,0,0)
- local MSH = IT("BlockMesh",PRT)
- MSH.Scale = VT(0.4,1,1)
- local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
- local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
- PRT.Color = C3(0,0,0)
- local MSH = IT("BlockMesh",PRT)
- MSH.Scale = VT(0.4,1,1)
- local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
- coroutine.resume(coroutine.create(function()
- while true do
- Swait()
- CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
- WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
- WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
- if CLOCKLOOP <= -150 then
- if VALUE1 == false then
- CLOCKLOOP = 0
- WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 2})
- local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
- ApplyAoE(HITPOS,10,15,45,75,true)
- WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 4})
- WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 4})
- if CLOCKTARGET ~= nil then
- CLOCKTARGET.Health = CLOCKTARGET.Health - 20
- if CLOCKTARGET.Torso ~= nil then
- CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
- end
- if CLOCKTARGET.Health == 0 then
- CLOCKTARGET = nil
- end
- end
- end
- end
- end
- end))
- for _, c in pairs(Weapon:GetChildren()) do
- if c.ClassName == "Part" then
- c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
- end
- end
- Neck.Name = "Weld"
- RootJoint.Name = "Weld"
- RightShoulder.Name = "Weld"
- LeftShoulder.Name = "Weld"
- RightHip.Name = "Weld"
- LeftHip.Name = "Weld"
- local BODY = {}
- for _, c in pairs(Character:GetDescendants()) do
- if c:IsA("BasePart") and c.Name ~= "Handle" then
- if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
- c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
- end
- table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
- elseif c:IsA("JointInstance") then
- table.insert(BODY,{c,c.Parent,nil,nil,nil})
- end
- end
- for e = 1, #BODY do
- if BODY[e] ~= nil then
- local STUFF = BODY[e]
- local PART = STUFF[1]
- local PARENT = STUFF[2]
- local MATERIAL = STUFF[3]
- local COLOR = STUFF[4]
- local TRANSPARENCY = STUFF[5]
- if PART.ClassName == "Part" and PART ~= RootPart then
- PART.Material = MATERIAL
- PART.Color = COLOR
- PART.Transparency = TRANSPARENCY
- end
- PART.AncestryChanged:Connect(function()
- PART.Parent = PARENT
- end)
- end
- end
- function refit()
- Character.Parent = workspace
- for e = 1, #BODY do
- if BODY[e] ~= nil then
- local STUFF = BODY[e]
- local PART = STUFF[1]
- local PARENT = STUFF[2]
- local MATERIAL = STUFF[3]
- local COLOR = STUFF[4]
- local TRANSPARENCY = STUFF[5]
- if PART.ClassName == "Part" and PART ~= RootPart then
- PART.Material = MATERIAL
- PART.Color = COLOR
- PART.Transparency = TRANSPARENCY
- end
- if PART.Parent ~= PARENT then
- Humanoid:remove()
- PART.Parent = PARENT
- Humanoid = IT("Humanoid",Character)
- chatfunc ("I dont have time to die...")
- end
- end
- end
- end
- local SKILLTEXTCOLOR = C3(255/255, 255/255, 0/255)
- local SKILLFONT = "Fantasy"
- local SKILLTEXTSIZE = 7
- Weapon.Parent = Character
- Humanoid.Parent = Character
- Humanoid.Died:connect(function()
- refit()
- end)
- chatfunc("Gentlemen, you just annoyed me")
- warn("deivis97 edit")
- local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23-.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
- local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50+.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
- local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
- local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
- local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
- local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.76, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
- local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.10, 0, 0.76, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
- local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Nuke Missiles", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
- local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Times up", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
- local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Chained Punch", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
- local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Warp Meteor", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
- local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Pandora's Box", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
- local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[G] Time Stop", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
- local SKILL6TEXT = CreateLabel(SKILL7FRAME, "[{1-5}] Musics [{6}] off", Color3.new(0/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
- --//=================================\\
- --|| DAMAGING
- --\\=================================//
- function ApplyDamage(Humanoid,Damage,TorsoPart)
- local defence = Instance.new("BoolValue",Humanoid.Parent)
- defence.Name = ("HitBy"..Player.Name)
- game:GetService("Debris"):AddItem(defence, 0.001)
- Damage = Damage * DAMAGEMULTIPLIER
- if Humanoid.Health ~= 0 then
- local CritChance = MRANDOM(1,100)
- if Damage > Humanoid.Health then
- Damage = math.ceil(Humanoid.Health)
- if Damage == 0 then
- Damage = 0.1
- end
- end
- Humanoid.Health = Humanoid.Health - Damage
- end
- end
- function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
- local CHILDREN = workspace:GetDescendants()
- for index, CHILD in pairs(CHILDREN) do
- if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
- local HUM = CHILD:FindFirstChildOfClass("Humanoid")
- if HUM then
- local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
- if TORSO then
- if (TORSO.Position - POSITION).Magnitude <= RANGE then
- if INSTAKILL == false then
- CHILD:BreakJoints()
- else
- local DMG = MRANDOM(MINDMG,MAXDMG)
- ApplyDamage(HUM,DMG,TORSO)
- end
- if FLING > 0 then
- for _, c in pairs(CHILD:GetChildren()) do
- if c:IsA("BasePart") then
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
- bv.Parent = c
- Debris:AddItem(bv,0.05)
- end
- end
- end
- end
- end
- end
- end
- end
- end
- --//=================================\\
- --|| ATTACK FUNCTIONS AND STUFF
- --\\=================================//
- Circle = nil
- CircleParts = {}
- Equipped = false
- function RayCast(Position, Direction, MaxDistance, IgnoreList)
- return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
- end
- Equipped = true
- Circle = Instance.new("Model")
- Circle.Name = "Circle"
- Angle = 0
- for i = 1, 1 do
- local CirclePart = Instance.new("Part")
- CirclePart.Name = "CirclePart"
- CirclePart.Transparency = 1
- CirclePart.BrickColor = BrickColor.new("Really black")
- CirclePart.Material = Enum.Material.Plastic
- CirclePart.Shape = Enum.PartType.Block
- CirclePart.FormFactor = Enum.FormFactor.Custom
- CirclePart.TopSurface = Enum.SurfaceType.Smooth
- CirclePart.BottomSurface = Enum.SurfaceType.Smooth
- CirclePart.Anchored = true
- CirclePart.CanCollide = false
- CirclePart.Locked = true
- CirclePart.Size = Vector3.new(10, 0.2, 10)
- local Aura = Instance.new('ParticleEmitter')
- Aura.Name = "Aura"
- Aura.Texture = "rbxassetid://641078192"
- Aura.Parent = CirclePart
- Aura.LightEmission = 0
- Aura.Transparency = NumberSequence.new(0.2,0.4,1)
- Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 0/255),Color3.new(255/200, 200/200, 200/200))
- Aura.Size = NumberSequence.new(0.9,0.5,0.3)
- Aura.LockedToPart = false
- Aura.Lifetime = NumberRange.new(1)
- Aura.Rate = 50
- Aura.Speed = NumberRange.new(2.5)
- Aura.SpreadAngle = Vector2.new(80,80)
- local BlockMesh = Instance.new("BlockMesh")
- BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
- BlockMesh.Parent = CirclePart
- CirclePart.Parent = Circle
- local Star = Instance.new("Decal", CirclePart)
- Star.Texture = "http://www.roblox.com/asset/?id=253215684"
- Star.Face = "Top"
- local Light = Instance.new("PointLight", CirclePart)
- Light.Color = Color3.new(.20,0,0)
- Light.Brightness = 100
- Light.Range = 15
- table.insert(CircleParts, CirclePart)
- end
- Spawn(function()
- while Equipped and Humanoid.Parent and Torso.Parent do
- if Angle == 360 then
- Angle = 0
- end
- Angle = Angle + 0.05
- local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
- if Hit then
- if not Circle.Parent then
- Circle.Parent = Character
- end
- for i, v in pairs(CircleParts) do
- v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
- end
- else
- Circle.Parent = nil
- end
- wait()
- end
- end)
- function MagicMissiles()
- ATTACK = true
- Rooted = false
- local SELECTING = true
- local SPOTS = {}
- coroutine.resume(coroutine.create(function()
- local LOOP = 0
- repeat
- LOOP = LOOP + 1
- Swait()
- if LOOP >= 15 then
- LOOP = 0
- for i = 1, #SPOTS do
- if SPOTS[i] ~= nil then
- WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
- WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
- end
- end
- end
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
- until SELECTING == false
- Rooted = false
- repeat
- LOOP = LOOP + 1
- Swait()
- if LOOP >= 15 then
- LOOP = 0
- for i = 1, #SPOTS do
- if SPOTS[i] ~= nil then
- WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
- WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
- end
- end
- end
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
- until ATTACK == false
- end))
- repeat
- repeat Swait() until HOLD == true
- local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
- if DIST > 9999 then
- DIST = 9999
- end
- local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
- local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
- if HITFLOOR ~= nil then
- table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
- WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,2,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
- WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
- end
- repeat Swait() until HOLD == false
- until #SPOTS == 5
- SELECTING = false
- for i = 1, #SPOTS do
- if SPOTS[i] ~= nil then
- local POS = SPOTS[i]
- coroutine.resume(coroutine.create(function()
- local MISSILE = IT("Model",Effects)
- MISSILE.Name = "Missile"
- local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Lime green", "Part", VT(2,2,2))
- MakeForm(BASEPART,"Cyl")
- MISSILE.PrimaryPart = BASEPART
- BASEPART.CFrame = POS*CF(0,-30*3,0)
- local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Lime green", "Part", VT(2,4,2))
- MakeForm(HEAD,"Ball")
- HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
- local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Lime green", "Part", VT(2.5,0.1,2.5))
- MakeForm(TAIL,"Cyl")
- TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
- chatfunc("you like nukes?")
- for i = 1, 15 do
- Swait()
- for _, c in pairs(MISSILE:GetChildren()) do
- if c.ClassName == "Part" then
- c.Transparency = c.Transparency - 1/10
- end
- end
- end
- for i = 1, 15*1.5 do
- Swait()
- MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
- end
- ApplyAoE(BASEPART.CFrame.p,200,350,450,750,true)
- WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(750,350,750), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
- WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(350,350,350), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
- WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(220,2,220), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
- WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(200,3,200), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
- MISSILE:remove()
- end))
- end
- end
- wait(0.6)
- ATTACK = false
- Rooted = false
- end
- function TimesUp()
- CLOCKTARGET = nil
- if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
- local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
- local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
- if TORSO then
- ATTACK = true
- Rooted = false
- coroutine.resume(coroutine.create(function()
- repeat
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.5*SIZE, -0.2*SIZE) * ANGLES(RAD(75), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
- until ATTACK == false
- end))
- if Effects:FindFirstChild("NeonDoll") then
- repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
- end
- wait(0.5)
- local FAKECHARACTER = IT("Model",Effects)
- FAKECHARACTER.Name = "NeonDoll"
- local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.3,0.3,0.15),false)
- CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
- local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
- CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
- local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
- CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
- local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
- CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
- local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
- CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
- local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.15,0.15),false)
- CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
- CreateSound(201858045, TORS, 5, 0.4, false)
- for i = 1, 50 do
- Swait()
- CLOCKSPEED = 2.5
- for _, c in pairs(FAKECHARACTER:GetChildren()) do
- if c.ClassName == "Part" then
- c.Transparency = c.Transparency - 0.5/150
- end
- end
- end
- CLOCKTARGET = HUM
- coroutine.resume(coroutine.create(function()
- repeat Swait() CLOCKSPEED = 2 until CLOCKTARGET == nil
- for i = 1, 25 do
- Swait()
- for _, c in pairs(FAKECHARACTER:GetChildren()) do
- if c.ClassName == "Part" then
- c.Transparency = c.Transparency + 0.5/25
- end
- end
- end
- CLOCKSPEED = 4
- FAKECHARACTER:remove()
- end))
- wait(0.5)
- ATTACK = false
- Rooted = false
- end
- end
- end
- function ChainPunch()
- ATTACK = true
- Rooted = false
- local GYRO = IT("BodyGyro",RootPart)
- GYRO.D = 25
- GYRO.P = 2000
- GYRO.MaxTorque = VT(0,40000,0)
- GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
- repeat
- Swait()
- GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
- until HOLD == true
- local POS = Mouse.Hit.p
- local CHAINS = false
- local CHAINLINKS = {}
- local A = IT("Attachment",RightArm)
- A.Position = VT(1,-1,0)*SIZE
- A.Orientation = VT(-90, -89.982, 0)
- local B = IT("Attachment",RightArm)
- B.Position = VT(-1,-1,0)*SIZE
- B.Orientation = VT(-90, 89.988, 0)
- local C = IT("Attachment",RightArm)
- C.Position = VT(0.5,-1.3,0)*SIZE
- C.Orientation = VT(-90, -89.982, 0)
- local D = IT("Attachment",RightArm)
- D.Position = VT(-0.5,-1.3,0)*SIZE
- D.Orientation = VT(-90, 89.988, 0)
- local LIGHT = IT("Attachment",RightArm)
- LIGHT.Position = VT(0,-1,0)*SIZE
- local LIGHT2 = IT("PointLight",LIGHT)
- LIGHT2.Range = 7
- LIGHT2.Brightness = 5
- LIGHT2.Color = SKILLTEXTCOLOR
- chatfunc("Falcon...")
- for i = 1, 2 do
- local TWIST = -2
- local START = A
- local END = B
- if i == 1 then
- START = B
- END = A
- end
- local ChainLink = IT("Beam",Torso)
- ChainLink.Texture = "rbxassetid://73042633"
- ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
- ChainLink.TextureSpeed = 1
- ChainLink.Width0 = 1
- ChainLink.Width1 = 1
- ChainLink.TextureLength = 2.5
- ChainLink.Attachment0 = START
- ChainLink.Attachment1 = END
- ChainLink.CurveSize0 = TWIST
- ChainLink.CurveSize1 = TWIST
- --ChainLink.FaceCamera = true
- ChainLink.Segments = 45
- ChainLink.Transparency = NumberSequence.new(1)
- table.insert(CHAINLINKS,ChainLink)
- end
- for i = 1, 2 do
- local TWIST = -1
- local START = C
- local END = D
- if i == 1 then
- START = D
- END = C
- end
- local ChainLink = IT("Beam",Torso)
- ChainLink.Texture = "rbxassetid://73042633"
- ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
- ChainLink.TextureSpeed = 1
- ChainLink.Width0 = 1
- ChainLink.Width1 = 1
- ChainLink.TextureLength = 5
- ChainLink.Attachment0 = START
- ChainLink.Attachment1 = END
- ChainLink.CurveSize0 = TWIST
- ChainLink.CurveSize1 = TWIST
- --ChainLink.FaceCamera = true
- ChainLink.Segments = 25
- ChainLink.LightEmission = 0.5
- ChainLink.Transparency = NumberSequence.new(1)
- table.insert(CHAINLINKS,ChainLink)
- end
- coroutine.resume(coroutine.create(function()
- repeat
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0.2*SIZE) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
- until CHAINS == true
- repeat
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
- until ATTACK == false
- for e = 1, 15 do
- Swait()
- chatfunc("PUNCH!!!")
- for i = 1, #CHAINLINKS do
- CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
- end
- end
- A:remove()
- B:remove()
- C:remove()
- D:remove()
- end))
- CreateSound(233856115, RightArm, 5, 1.2, false)
- for e = 1, 15 do
- Swait()
- for i = 1, #CHAINLINKS do
- CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
- end
- end
- CHAINS = true
- Rooted = true
- wait(0.25)
- local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Part", VT(2,2,2))
- FIST.Color = C3(1, 215/255, 1)
- FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
- local LIGHT3 = IT("PointLight",FIST)
- LIGHT3.Range = 7
- LIGHT3.Brightness = 5
- LIGHT3.Color = SKILLTEXTCOLOR
- CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
- local FISTA = IT("Attachment",FIST)
- FISTA.Position = VT(0.062, 0.977, 0)
- local ChainLink = IT("Beam",Torso)
- ChainLink.Texture = "rbxassetid://73042633"
- ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
- ChainLink.TextureSpeed = 2
- ChainLink.Width0 = 3
- ChainLink.Width1 = 3
- ChainLink.TextureLength = 12
- ChainLink.Attachment0 = LIGHT
- ChainLink.Attachment1 = FISTA
- ChainLink.FaceCamera = true
- ChainLink.Segments = 45
- ChainLink.LightEmission = 0.5
- ChainLink.Transparency = NumberSequence.new(0.25)
- local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
- for i = 1, 85 do
- Swait()
- FIST.CFrame = FIST.CFrame*CF(0,-2,0)
- ChainLink.TextureLength = 12+(i*2)
- ApplyAoE(FIST.Position,10,15,25,100,true)
- WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
- local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
- if HITFLOOR ~= nil then
- HITFLOOR:BreakJoints()
- coroutine.resume(coroutine.create(function()
- for i = 1, 15 do
- Swait()
- FISTSOUND.Volume = FISTSOUND.Volume - 0.15
- ApplyAoE(FIST.Position,10+(i*2),5,15,5,true)
- WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
- end
- end))
- break
- end
- end
- coroutine.resume(coroutine.create(function()
- for i = 1, 50 do
- Swait()
- FIST.Transparency = FIST.Transparency + 0.5/50
- LIGHT3.Range = LIGHT3.Range - 7/50
- end
- FIST:remove()
- end))
- LIGHT:remove()
- GYRO:remove()
- ATTACK = false
- Rooted = false
- end
- function WarpMeteor()
- local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
- if DIST > 9999 then
- DIST = 9999
- end
- local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
- local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
- if HITFLOOR then
- local POS = HITPOS
- ATTACK = true
- Rooted = false
- local WARPED = false
- local SMASHED = false
- local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
- coroutine.resume(coroutine.create(function()
- repeat
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
- until WARPED == true
- repeat
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE + 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
- until SMASHED == true
- repeat
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-40), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(-15), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(15), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
- until ATTACK == false
- end))
- VALUE1 = true
- CreateSound(233856115, Torso, 5, 1.6, false)
- chatfunc("This hurt more than you think")
- for i = 1, 25 do
- Swait()
- for _, c in pairs(Character:GetChildren()) do
- if c.ClassName == "Part" then
- c.Transparency = c.Transparency + 1/25
- end
- end
- for _, c in pairs(Weapon:GetChildren()) do
- if c.ClassName == "Part" then
- c.Transparency = c.Transparency + 1/25
- end
- end
- end
- UNANCHOR = false
- RootPart.Anchored = true
- RootPart.Velocity = VT(0,0,0)
- local ROOTPOS = RootPart.Position
- RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
- WARPED = true
- for i = 1, 25 do
- Swait()
- for _, c in pairs(Character:GetChildren()) do
- if c.ClassName == "Part" then
- c.Transparency = c.Transparency - 1/25
- end
- end
- for _, c in pairs(Weapon:GetChildren()) do
- if c.ClassName == "Part" then
- c.Transparency = c.Transparency - 1/25
- end
- end
- end
- local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Part", VT(0,0,0))
- SHELL.CFrame = RootPart.CFrame
- MakeForm(SHELL,"Ball")
- CreateSound(402981977, SHELL, 5, 1.6, false)
- for i = 1, 10 do
- Swait()
- SHELL.Transparency = SHELL.Transparency - 1/10
- SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
- end
- for i = 1, math.ceil(75/2) do
- Swait()
- RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
- SHELL.CFrame = CF(RootPart.Position)
- WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(5,3,5), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
- end
- RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
- SHELL.CFrame = CF(RootPart.Position)
- WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(35,35,35)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
- WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
- WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
- for i = 1, 5 do
- WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
- end
- SHELL:remove()
- ApplyAoE(RootPart.Position,75,35,75,175,true)
- SMASHED = true
- wait(1)
- VALUE1 = false
- UNANCHOR = true
- ATTACK = false
- Rooted = false
- end
- end
- function PandorasBox()
- local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
- if HITFLOOR ~= nil then
- ATTACK = false
- Rooted = false
- local RINGSPIN = true
- local CONSTRUCTING = true
- local RING = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Ring", VT(0,0,0))
- RING.Color = C3(0,0,0)
- MakeForm(RING,"Cyl")
- RING.CFrame = CF(HITPOS)
- CreateSound(402981977, RING, 5, 1.2, false)
- coroutine.resume(coroutine.create(function()
- repeat
- Swait()
- RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
- until CONSTRUCTING == false
- repeat
- Swait()
- RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
- until RINGSPIN == false
- for i = 1, 25 do
- Swait()
- RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
- RING.Size = RING.Size - VT(0.15,0,0.15)
- --DECAL.Transparency = DECAL.Transparency + 1/25
- RING.Transparency = RING.Transparency + 1/25
- end
- RING:remove()
- end))
- for i = 1, 15 do
- Swait()
- RING.Size = RING.Size + VT(0.75,0,0.75)
- RING.Transparency = RING.Transparency - 1/15
- end
- chatfunc("let's see your prize...")
- local BOXSPIN = true
- local PANDORASBOX = IT("Model",Effects)
- PANDORASBOX.Name = "Pandora's Box"
- local BOX = IT("Model",PANDORASBOX)
- BOX.Name = "Body"
- local LID = IT("Model",PANDORASBOX)
- LID.Name = "Lid"
- --BUILDING THE BOX--
- local BASE = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Black", VT(2,1.8,2))
- BASE.Color = C3(0,0,0)
- PANDORASBOX.PrimaryPart = BASE
- BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
- local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
- WOOD.CFrame = BASE.CFrame*CF(1,0,1)
- local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
- WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
- local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
- WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
- local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
- WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
- local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
- WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
- local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
- WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
- local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
- WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
- local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
- WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
- local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
- WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
- local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
- WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
- local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
- WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
- local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
- WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
- local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
- WOOD.CFrame = BASE.CFrame*CF(0,0,1)
- local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
- WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
- local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
- WOOD.CFrame = BASE.CFrame*CF(1,0,0)
- local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
- WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
- local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
- WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
- -------------
- local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
- LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
- LID.PrimaryPart = LIDPART
- local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
- WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
- local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
- WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
- local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
- WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
- local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
- WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
- local DECAL = IT("Decal",LIDPART)
- DECAL.Face = "Top"
- DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
- DECAL.Color3 = C3(0,0,0)
- --BUILDING THE BOX--
- coroutine.resume(coroutine.create(function()
- repeat
- Swait()
- PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
- until BOXSPIN == false
- end))
- for i = 1, 25 do
- Swait()
- PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
- end
- wait(0.5)
- BOXSPIN = false
- CONSTRUCTING = false
- coroutine.resume(coroutine.create(function()
- WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = LIDPART.Size, Size2 = VT(3,0,3)*4, Transparency = 0, Transparency2 = 1, CFrame = LIDPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 168586586, SoundPitch = 1.3, SoundVolume = 6})
- --[[for i = 1, 45 do
- Swait()
- LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
- end-
- LID:remove()]]--
- for _, c in pairs(LID:GetChildren()) do
- if c.ClassName == "Part" then
- c.Anchored = false
- c.CanCollide = true
- if c ~= LIDPART then
- weldBetween(LIDPART,c)
- end
- end
- end
- LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
- Debris:AddItem(LID,15)
- wait(0.5)
- local RANDOMEFFECT = MRANDOM(1,4)
- if RANDOMEFFECT == 1 then
- for i = 1, 45 do
- wait((2-(i/15))/15)
- WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,MRANDOM(12,15),0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(1,5)), MoveToPos = BASE.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.8, SoundVolume = 6})
- end
- wait(1)
- WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35)*12, Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
- WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*10, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 469345336, SoundPitch = 0.75, SoundVolume = 6})
- WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*9, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
- for i = 1, 5 do
- WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*12, Transparency = 0.5, Transparency2 = 1, CFrame = BASE.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
- end
- ApplyAoE(BASE.Position,50,1,200,375,true)
- ApplyAoE(BASE.Position,250,35,75,175,true)
- elseif RANDOMEFFECT == 2 then
- local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
- FIELD.CFrame = BASE.CFrame
- MakeForm(FIELD,"Ball")
- for i = 1, 50 do
- Swait()
- FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
- FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
- end
- wait(0.2)
- local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
- coroutine.resume(coroutine.create(function()
- for i = 1, 75 do
- Swait()
- LOOP.Volume = LOOP.Volume + 10/75
- LOOP.Parent = FIELD
- local CHILDREN = workspace:GetDescendants()
- for index, CHILD in pairs(CHILDREN) do
- if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
- local HUM = CHILD:FindFirstChildOfClass("Humanoid")
- if HUM then
- local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
- if TORSO then
- if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
- HUM.Health = HUM.Health - 1.5
- TORSO.Velocity = VT(0,5,0)
- HUM.PlatformStand = true
- if TORSO.RotVelocity.Magnitude < 15 then
- TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
- end
- end
- end
- end
- end
- end
- FIELD.Size = FIELD.Size + VT(9,9,9)
- FIELD.Transparency = FIELD.Transparency + 0.8/75
- end
- for i = 1, 500 do
- Swait()
- LOOP.Parent = FIELD
- local CHILDREN = workspace:GetDescendants()
- for index, CHILD in pairs(CHILDREN) do
- if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
- local HUM = CHILD:FindFirstChildOfClass("Humanoid")
- if HUM then
- local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
- if TORSO then
- if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
- TORSO.Velocity = VT(0,5,0)
- HUM.Health = HUM.Health - 1.5
- HUM.PlatformStand = true
- if TORSO.RotVelocity.Magnitude < 15 then
- TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
- end
- end
- end
- end
- end
- end
- end
- for i = 1, 25 do
- Swait()
- LOOP.Volume = LOOP.Volume + 10/25
- LOOP.Parent = FIELD
- local CHILDREN = workspace:GetDescendants()
- for index, CHILD in pairs(CHILDREN) do
- if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
- local HUM = CHILD:FindFirstChildOfClass("Humanoid")
- if HUM then
- local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
- if TORSO then
- if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
- TORSO.Velocity = VT(0,5,0)
- HUM.Health = HUM.Health - 1.5
- HUM.PlatformStand = false
- if TORSO.RotVelocity.Magnitude < 15 then
- TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
- end
- end
- end
- end
- end
- end
- FIELD.Size = FIELD.Size - VT(3,3,3)
- FIELD.Transparency = FIELD.Transparency + 0.2/25
- end
- FIELD:remove()
- end))
- elseif RANDOMEFFECT == 3 then
- for i = 1, 10 do
- wait(0.15)
- WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,8,3), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,0.3,0), MoveToPos = BASE.Position+VT(0,6,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 0.8, SoundVolume = 6})
- coroutine.resume(coroutine.create(function()
- local MINION = CLONE:Clone()
- MINION.Parent = Effects
- MINION.Name = "Shadow"
- MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
- MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
- for _, c in pairs(MINION:GetChildren()) do
- if c.ClassName == "Part" then
- c.Material = "Neon"
- c.Color = C3(0,0,0)
- c.Transparency = 0.25
- if c.Name == "Head" then
- c:ClearAllChildren()
- local MSH = IT("BlockMesh",c)
- MSH.Scale = VT(0.5,1,1)
- end
- end
- end
- local TORSO = MINION.Torso
- local HUMAN = MINION.Humanoid
- HUMAN.WalkSpeed = 20
- HUMAN.MaxHealth = math.huge
- HUMAN.Health = math.huge
- HUMAN.DisplayDistanceType = "None"
- HUMAN.Died:connect(function()
- MINION:remove()
- --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
- end)
- wait(1)
- local findNearestTorso = function(POS)
- local list = game.Workspace:GetDescendants()
- local torso = nil
- local dist = 500
- local temp = nil
- local human = nil
- local temp2 = nil
- for x = 1, #list do
- temp2 = list[x]
- if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
- temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
- human = temp2:findFirstChildOfClass("Humanoid")
- if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
- if (temp.Position - POS).magnitude < dist then
- torso = temp
- dist = (temp.Position - POS).magnitude
- end
- end
- end
- end
- return torso, dist
- end
- for i = 1, 40 do
- if HUMAN.Health == 0 then
- break
- end
- wait(0.3)
- local target,dist= findNearestTorso(TORSO.Position)
- if target then
- HUMAN:MoveTo(target.Position)
- if dist < 25 then
- CreateSound(348663022, TORSO, 10, 1, true)
- wait(2)
- --local ANIM = HUMAN:LoadAnimation(ATANIM)
- --ANIM:Play()
- --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
- ApplyAoE(TORSO.Position,10,0,0,85,true)
- WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 201858087, SoundPitch = 0.8, SoundVolume = 10})
- for i = 1, 5 do
- WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15)/7.5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
- end
- break
- end
- end
- end
- MINION:remove()
- end))
- end
- elseif RANDOMEFFECT == 4 then
- local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
- FIELD.Color = C3(0,0,0)
- FIELD.CFrame = BASE.CFrame
- MakeForm(FIELD,"Ball")
- FIELD.CanCollide = true
- for i = 1, 50 do
- Swait()
- FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
- FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
- end
- wait(0.2)
- local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
- coroutine.resume(coroutine.create(function()
- local E = 0
- for i = 1, 75 do
- E = E + 1
- Swait()
- if E >= 35 then
- E = 0
- WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
- end
- LOOP.Volume = LOOP.Volume + 10/75
- LOOP.Parent = FIELD
- local CHILDREN = workspace:GetDescendants()
- for index, CHILD in pairs(CHILDREN) do
- if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
- local HUM = CHILD:FindFirstChildOfClass("Humanoid")
- if HUM then
- local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
- if TORSO then
- if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
- for _, c in pairs(CHILD:GetChildren()) do
- if c:IsA("BasePart") then
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
- bv.Parent = c
- Debris:AddItem(bv,0.05)
- end
- end
- HUM.Health = HUM.Health - 0.3
- end
- end
- end
- end
- end
- FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
- end
- for i = 1, 180 do
- E = E + 1
- Swait()
- if E >= 35 then
- E = 0
- WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
- end
- LOOP.Parent = FIELD
- local CHILDREN = workspace:GetDescendants()
- for index, CHILD in pairs(CHILDREN) do
- if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
- local HUM = CHILD:FindFirstChildOfClass("Humanoid")
- if HUM then
- local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
- if TORSO then
- if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
- for _, c in pairs(CHILD:GetChildren()) do
- if c:IsA("BasePart") then
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
- bv.Parent = c
- Debris:AddItem(bv,0.05)
- end
- end
- HUM.Health = HUM.Health - 0.3
- end
- end
- end
- end
- end
- end
- ApplyAoE(FIELD.Position,40,15,20,375,true)
- WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = FIELD.Size, Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 231917744, SoundPitch = 1, SoundVolume = 6})
- for i = 1, 5 do
- WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIELD.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
- end
- FIELD:remove()
- end))
- elseif RANDOMEFFECT == 5 then
- end
- wait(0.5)
- for i = 1, 25 do
- Swait()
- PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
- end
- PANDORASBOX:remove()
- RINGSPIN = false
- end))
- ATTACK = false
- Rooted = false
- end
- end
- function TimeStop ()
- local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
- CHOICE = 6
- CreateSound(1193182658, Character, 5, 1, false)
- chatfunc ("Za warudo...")
- back = CreateSound(1841228386, Character, 9999, 1, false)
- local killsky = Instance.new('Sky', game:GetService'Lighting')
- killsky.SkyboxBk = "rbxassetid://1013852"
- killsky.SkyboxDn = "rbxassetid://1013853"
- killsky.SkyboxFt = "rbxassetid://1013850"
- killsky.SkyboxLf = "rbxassetid://1013851"
- killsky.SkyboxRt = "rbxassetid://1013849"
- killsky.SkyboxUp = "rbxassetid://1013854"
- killsky.StarCount = 0
- killsky.SunAngularSize = 0
- killsky.MoonAngularSize = 0
- killsky.MoonTextureId = ""
- killsky.CelestialBodiesShown = false
- game.Lighting.FogColor = Color3.new(1,1,0)
- game.Lighting.FogEnd = 1400
- if HITFLOOR ~= nil then
- ATTACK = false
- Rooted = false
- local RINGSPIN = true
- local CONSTRUCTING = true
- local RING = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Ring", VT(0,0,0))
- RING.Color = C3(0,0,0)
- MakeForm(RING,"Cyl")
- RING.CFrame = CF(HITPOS)
- coroutine.resume(coroutine.create(function()
- repeat
- Swait()
- RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
- until CONSTRUCTING == false
- repeat
- Swait()
- RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
- until RINGSPIN == false
- for i = 1, 25 do
- Swait()
- RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
- RING.Size = RING.Size - VT(0.15,0,0.15)
- --DECAL.Transparency = DECAL.Transparency + 1/25
- RING.Transparency = RING.Transparency + 1/25
- end
- RING:remove()
- end))
- for i = 1, 15 do
- Swait()
- RING.Size = RING.Size + VT(0,0,0)
- RING.Transparency = RING.Transparency - 1/15
- end
- end
- local RANDOMEFFECT = MRANDOM(1)
- local BASE = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Black", VT(2,1.8,2))
- BASE.Color = C3(0,0,0)
- BASE.Transparency = 1
- BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
- if RANDOMEFFECT == 1 then
- local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
- FIELD.CFrame = BASE.CFrame
- MakeForm(FIELD,"Ball")
- for i = 1, 50 do
- Swait()
- FIELD.Size = VT(0,0,0)
- FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
- end
- end
- wait(0.2)
- local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
- FIELD.CFrame = BASE.CFrame
- local LOOP = CreateSound(1393698948, Character, 0, 1, true)
- coroutine.resume(coroutine.create(function()
- for i = 1, 75 do
- Swait()
- LOOP.Volume = LOOP.Volume + 10/75
- LOOP.Parent = FIELD
- local CHILDREN = workspace:GetDescendants()
- for index, CHILD in pairs(CHILDREN) do
- if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
- local HUM = CHILD:FindFirstChildOfClass("Humanoid")
- if HUM then
- local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
- if TORSO then
- if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
- HUM.Health = HUM.Health - 0
- TORSO.Velocity = VT(0,5,0)
- HUM.PlatformStand = true
- if TORSO.RotVelocity.Magnitude < 15 then
- TORSO.Anchored = true
- end
- end
- end
- end
- end
- end
- FIELD.Size = FIELD.Size + VT(90,90,90)
- FIELD.Transparency = FIELD.Transparency + 0.8/75
- end
- for i = 1, 500 do
- Swait()
- LOOP.Parent = FIELD
- local CHILDREN = workspace:GetDescendants()
- for index, CHILD in pairs(CHILDREN) do
- if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
- local HUM = CHILD:FindFirstChildOfClass("Humanoid")
- if HUM then
- local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
- if TORSO then
- if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
- TORSO.Velocity = VT(0,5,0)
- HUM.Health = HUM.Health - 0
- HUM.PlatformStand = true
- if TORSO.RotVelocity.Magnitude < 15 then
- TORSO.Anchored = true
- end
- end
- end
- end
- end
- end
- end
- wait (20)
- back:Remove()
- CreateSound(1538466750, Character, 99999, 1, false)
- chatfunc ("the time rusume")
- killsky:Remove()
- game.Lighting.FogEnd = 90000000
- wait (5)
- CHOICE = MRANDOM (1,5)
- for i = 1, 25 do
- Swait()
- LOOP.Volume = LOOP.Volume + 10/25
- LOOP.Parent = FIELD
- local CHILDREN = workspace:GetDescendants()
- for index, CHILD in pairs(CHILDREN) do
- if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
- local HUM = CHILD:FindFirstChildOfClass("Humanoid")
- if HUM then
- local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
- if TORSO then
- if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
- TORSO.Velocity = VT(0,5,0)
- HUM.Health = HUM.Health - 0
- HUM.PlatformStand = false
- if TORSO.RotVelocity.Magnitude < 15 then
- TORSO.Anchored = false
- end
- end
- end
- end
- end
- FIELD.Size = FIELD.Size - VT(3,3,3)
- FIELD.Transparency = FIELD.Transparency + 0.2/25
- end
- end
- end))
- FIELD:Remove()
- ATTACK = false
- Rooted = false
- end
- function Taunt()
- ATTACK = true
- local LAUGH = nil
- coroutine.resume(coroutine.create(function()
- repeat
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(75), RAD(50), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
- until LAUGH ~= nil
- repeat
- Swait()
- LAUGH.Parent = Head
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(75), RAD(50), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
- until LAUGH.Playing == false
- ATTACK = false
- end))
- wait(0.1)
- CHOICE = 6
- chatfunc("I HATE YOU...")
- LAUGH = CreateSound(212000587, Character, 8099999, 1, false)
- wait(1.5)
- CHOICE = MRANDOM (1,5)
- end
- --//=================================\\
- --|| ASSIGN THINGS TO KEYS
- --\\=================================//
- function MouseDown(Mouse)
- HOLD = true
- if ATTACK == false then
- end
- end
- function MouseUp(Mouse)
- HOLD = false
- end
- function KeyDown(Key)
- KEYHOLD = true
- if Key == "z" and ATTACK == false then
- MagicMissiles()
- end
- if Key == "b" and ATTACK == false then
- TimesUp()
- end
- if Key == "c" and ATTACK == false then
- ChainPunch()
- end
- if Key == "v" and ATTACK == false then
- WarpMeteor()
- end
- if Key == "x" and ATTACK == false then
- PandorasBox()
- end
- if Key == "g" and ATTACK == false then
- TimeStop()
- end
- if Key == "t" and ATTACK == false then
- Taunt()
- elseif Key == "1" and ATTACK == false then
- if CHOICE ~= 1 then
- CHOICE = 1
- sick:Play()
- chatfunc("original song")
- end
- elseif Key == "2" and ATTACK == false then
- if CHOICE ~= 2 then
- CHOICE = 2
- sick:Play()
- chatfunc("no comments...")
- end
- elseif Key == "3" and ATTACK == false then
- if CHOICE ~= 3 then
- CHOICE = 3
- sick:Play()
- chatfunc("Now the fight really begins...")
- tecks2.Color = Color3.new (255,0,0)
- end
- elseif Key == "4" and ATTACK == false then
- if CHOICE ~= 4 then
- CHOICE = 4
- sick:Play()
- chatfunc("Just let me relax a little")
- end
- elseif Key == "5" and ATTACK == false then
- if CHOICE ~= 5 then
- CHOICE = 5
- sick:Play()
- chatfunc("Why not this sound, i like it")
- end
- elseif Key == "6" and ATTACK == false then
- if CHOICE ~= 6 then
- CHOICE = 6
- sick:Play()
- chatfunc("music off")
- end
- end
- end
- function KeyUp(Key)
- KEYHOLD = false
- end
- Mouse.Button1Down:connect(function(NEWKEY)
- MouseDown(NEWKEY)
- end)
- Mouse.Button1Up:connect(function(NEWKEY)
- MouseUp(NEWKEY)
- end)
- Mouse.KeyDown:connect(function(NEWKEY)
- KeyDown(NEWKEY)
- end)
- Mouse.KeyUp:connect(function(NEWKEY)
- KeyUp(NEWKEY)
- end)
- --//=================================\\
- --\\=================================//
- function unanchor()
- if UNANCHOR == true then
- RootPart.Anchored = false
- end
- g = Character:GetChildren()
- for i = 1, #g do
- if g[i].ClassName == "Part" and g[i] ~= RootPart then
- g[i].Anchored = false
- end
- end
- g = Weapon:GetChildren()
- for i = 1, #g do
- if g[i].ClassName == "Part" then
- g[i].Anchored = false
- end
- end
- end
- --//=================================\\
- --|| WRAP THE WHOLE SCRIPT UP
- --\\=================================//
- Humanoid.Changed:connect(function(Jump)
- if Jump == "Jump" and (Disable_Jump == true) then
- Humanoid.Jump = false
- end
- end)
- while true do
- Swait()
- refit()
- script.Parent = WEAPONGUI
- for _,v in next, Humanoid:GetPlayingAnimationTracks() do
- v:Stop();
- end
- ANIMATE.Parent = nil
- SINE = SINE + CHANGE*1.5
- local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
- local TORSOVERTICALVELOCITY = RootPart.Velocity.y
- local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
- local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
- if ANIM == "Walk" and TORSOVELOCITY > 1 then
- RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0 * COS(SINE / (WALKSPEEDVALUE / 2)) * SIZE) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
- Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
- elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
- RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- end
- if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
- ANIM = "Jump"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
- end
- elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
- ANIM = "Fall"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
- end
- elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
- ANIM = "Idle"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75*SIZE, 0.5*SIZE, -1*SIZE) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- end
- elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
- ANIM = "Walk"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- end
- end
- unanchor()
- Humanoid.MaxHealth = "inf"
- Humanoid.Health = "inf"
- if Rooted == false then
- Disable_Jump = false
- Humanoid.WalkSpeed = Speed
- elseif Rooted == true then
- Disable_Jump = true
- Humanoid.WalkSpeed = 0
- end
- for _, c in pairs(Character:GetChildren()) do
- if c.ClassName == "Part" and c.Name ~= "Detail" then
- c.Material = "Fabric"
- if c:FindFirstChildOfClass("ParticleEmitter") then
- c:FindFirstChildOfClass("ParticleEmitter"):remove()
- end
- if c ~= Head then
- c.Color = C3(0,0,0)
- else
- c.Color = C3(0,0,0)
- end
- if c == Head then
- if c:FindFirstChild("face") then
- c.face:remove()
- end
- end
- elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
- c:remove()
- elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
- c:remove()
- end
- end
- sick.SoundId = "rbxassetid://"..bored[CHOICE]
- sick.Looped = true
- sick.Pitch = 1
- sick.Volume = 999999
- sick.Parent = Character
- sick:Resume()
- --sick.Playing = false
- Humanoid.Name = "Master of Time = "..Player.Name
- end
- --//=================================\\
- --\\=================================//
- --//====================================================\\--
- --|| END OF SCRIPT
- --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement