Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script.Name = "machine gun banisher v2 maded to destroy skids"
- --//====================================================\\--
- --|| EDITED BY ZaBlazy_y CREATED BY SHACKLUSTER
- --\\====================================================//--
- print("Load Finished")
- print("Edited By InfiniteOneWithdank Hello User")
- warn("Make Them All Suffer For Their Sins")
- warn("stop spreading the script thanks")
- script:ClearAllChildren()
- 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"]
- local TIME = 0
- local sick = Instance.new("Sound",Torso)
- 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
- -- Thingy To Make Song Work
- p = game.Players.LocalPlayer
- char = p.Character
- ---------------------------[[[ LOOPED SONG ]]]--------------------------
- local s = Instance.new("Sound",char)
- s.Name = "BGMusic"
- s.SoundId = "rbxassetid://1383202399"
- s.Pitch = 1
- s.Volume = 40
- s.Looped = true
- s.archivable = false
- s.Parent = char.Head
- wait(0.1)
- s:play()
- -- Rest of Script
- -- Want To Use This For Scripts With No Songs? Go Ahead Copy This InfiniteOneWithdank created the looped song thing that is in here anyways.
- --//=================================\\
- --|| PARTICLES N STUFF
- --\\=================================//
- local particleemitter = Instance.new('ParticleEmitter', LeftArm)
- particleemitter.VelocitySpread = 350
- particleemitter.Lifetime = NumberRange.new(1)
- particleemitter.Speed = NumberRange.new(0)
- cringememe= {}
- for i=0, 19 do
- cringememe[#cringememe + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
- end
- particleemitter.Size = NumberSequence.new(cringememe)
- particleemitter.Rate = 20
- particleemitter.LockedToPart = true
- particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
- particleemitter.LightEmission = 1
- particleemitter.Texture = "rbxassetid://38727848"
- particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
- local particleemitter = Instance.new('ParticleEmitter', Torso)
- particleemitter.VelocitySpread = 250
- particleemitter.Lifetime = NumberRange.new(3)
- particleemitter.Speed = NumberRange.new(1.5)
- youAreATHOT = {}
- for i=0, 19 do
- youAreATHOT[#youAreATHOT + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
- end
- particleemitter.Size = NumberSequence.new(youAreATHOT)
- particleemitter.Rate = 10
- particleemitter.LockedToPart = false
- particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
- particleemitter.LightEmission = 1
- particleemitter.Texture = "rbxassetid://253188763"
- particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
- local particleemitter = Instance.new('ParticleEmitter', RightArm)
- particleemitter.VelocitySpread = 350
- particleemitter.Lifetime = NumberRange.new(1)
- particleemitter.Speed = NumberRange.new(0)
- cringememe2= {}
- for i=0, 19 do
- cringememe2[#cringememe2 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
- end
- particleemitter.Size = NumberSequence.new(cringememe2)
- particleemitter.Rate = 20
- particleemitter.LockedToPart = true
- particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
- particleemitter.LightEmission = 1
- particleemitter.Texture = "rbxassetid://38727848"
- particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
- local particleemitter = Instance.new('ParticleEmitter', RightLeg)
- particleemitter.VelocitySpread = 350
- particleemitter.Lifetime = NumberRange.new(1)
- particleemitter.Speed = NumberRange.new(0)
- cringememe3= {}
- for i=0, 19 do
- cringememe3[#cringememe3 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
- end
- particleemitter.Size = NumberSequence.new(cringememe3)
- particleemitter.Rate = 30
- particleemitter.LockedToPart = true
- particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
- particleemitter.LightEmission = 1
- particleemitter.Texture = "rbxassetid://38727848"
- particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
- local particleemitter = Instance.new('ParticleEmitter', LeftLeg)
- particleemitter.VelocitySpread = 350
- particleemitter.Lifetime = NumberRange.new(1)
- particleemitter.Speed = NumberRange.new(0)
- cringememe4= {}
- for i=0, 19 do
- cringememe4[#cringememe4 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
- end
- particleemitter.Size = NumberSequence.new(cringememe4)
- particleemitter.Rate = 30
- particleemitter.LockedToPart = true
- particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
- particleemitter.LightEmission = 1
- particleemitter.Texture = "rbxassetid://38727848"
- particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
- --//=================================\\
- --|| USEFUL VALUES
- --\\=================================//
- Animation_Speed = 1.5
- local FORCERESET = false
- Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
- local Speed = 16
- 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 = 1
- 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"
- --ROBLOXIDLEANIMATION.Parent = Humanoid
- local WEAPONGUI = IT("ScreenGui", PlayerGui)
- WEAPONGUI.Name = "BanishV3Gui"
- local Weapon = IT("Model")
- Weapon.Name = "Adds"
- local Effects = IT("Folder", Weapon)
- Effects.Name = "Effects"
- local ANIMATOR = Humanoid.Animator
- local ANIMATE = Character:FindFirstChild("Animate")
- local UNANCHOR = true
- local TOBANISH = {}
- script.Parent = PlayerGui
- --//=================================\\
- --\\=================================//
- --//=================================\\
- --|| 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 TAG EDIT
- --\\=================================//
- m = game.Players.LocalPlayer
- char = m.Character
- local txt = Instance.new("BillboardGui", char)
- txt.Adornee = char.Head
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Bodoni"
- text.TextStrokeColor3 = Color3.new(0, 0, 0)
- v = Instance.new("Part")
- v.Name = "ColorBrick"
- v.Parent = m.Character
- v.FormFactor = "Symmetric"
- v.Anchored = true
- v.CanCollide = false
- v.BottomSurface = "Smooth"
- v.TopSurface = "Smooth"
- v.Size = Vector3.new(10, 5, 3)
- v.Transparency = 1
- v.CFrame = char.Torso.CFrame
- v.BrickColor = BrickColor.new("Really black")
- v.Transparency = 1
- v.Shape = "Block"
- spawn(function()
- local TweenService = game:GetService("TweenService")
- local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
- local Int = 0
- while wait(0.5) do
- if Int == #Colours then Int = 0 end
- Int = Int+1
- TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
- end
- end)
- text.Text = "Hax0r"
- --//=================================\\
- --\\=================================//
- --//=================================\\
- --|| 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.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 or NEWSOUND.Parent ~= PARENT
- 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,255,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(0,255,0))
- 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("Pearl"), "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
- SOUND.Stopped:Connect(function()
- EFFECT:remove()
- end)
- 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
- function SpawnTrail(FROM,TO,BIG)
- local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
- MakeForm(TRAIL,"Cyl")
- local DIST = (FROM - TO).Magnitude
- if BIG == true then
- TRAIL.Size = VT(0.5,DIST,0.5)
- else
- TRAIL.Size = VT(0.25,DIST,0.25)
- end
- TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
- coroutine.resume(coroutine.create(function()
- for i = 1, 5 do
- Swait()
- TRAIL.Transparency = TRAIL.Transparency + 0.1
- end
- TRAIL:remove()
- 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
- --\\=================================//
- local Particle = IT("ParticleEmitter",nil)
- Particle.Enabled = false
- Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
- Particle.LightEmission = 0.5
- Particle.Rate = 150
- Particle.ZOffset = 0.2
- Particle.Rotation = NumberRange.new(-180, 180)
- Particle.RotSpeed = NumberRange.new(-180, 180)
- Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
- Particle.Color = ColorSequence.new(C3(255,128,0),C3(0,155,0),C3(255,255,0),C3(0,255,0),C3(0,255,255),C3(0,0,255),C3(191,0,255),C3(255,0,191))
- --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
- function ParticleEmitter(Table)
- local PRTCL = Particle:Clone()
- local Speed = Table.Speed or 5
- local Drag = Table.Drag or 0
- local Size1 = Table.Size1 or 1
- local Size2 = Table.Size2 or 5
- local Lifetime1 = Table.Lifetime1 or 1
- local Lifetime2 = Table.Lifetime2 or 1.5
- local Parent = Table.Parent or Torso
- local Emit = Table.Emit or 100
- local Offset = Table.Offset or 360
- local Acel = Table.Acel or VT(0,0,0)
- local Enabled = Table.Enabled or false
- PRTCL.Parent = Parent
- PRTCL.Size = NumberSequence.new(Size1,Size2)
- PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
- PRTCL.Speed = NumberRange.new(Speed)
- PRTCL.VelocitySpread = Offset
- PRTCL.Drag = Drag
- PRTCL.Acceleration = Acel
- if Enabled == false then
- PRTCL:Emit(Emit)
- Debris:AddItem(PRTCL,Lifetime2)
- else
- PRTCL.Enabled = true
- end
- return PRTCL
- end
- local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
- local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
- MakeForm(Part,"Wedge")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
- MakeForm(Part,"Wedge")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
- MakeForm(Part,"Cyl")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
- for i = 1, 8 do
- local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
- CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
- end
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
- MakeForm(Part,"Cyl")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
- MakeForm(Part,"Ball")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
- MakeForm(Part,"Wedge")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
- MakeForm(Part,"Cyl")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
- MakeForm(Part,"Cyl")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
- MakeForm(Part,"Cyl")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
- MakeForm(Part,"Wedge")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
- local LASTPART = Handle
- for i = 1, 10 do
- if LASTPART == Handle then
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
- LASTPART = Part
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
- else
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
- CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
- LASTPART = Part
- end
- end
- local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
- MakeForm(Barrel,"Cyl")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
- MakeForm(Part,"Cyl")
- CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
- MakeForm(Part,"Wedge")
- CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
- local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
- MakeForm(Hole,"Cyl")
- CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
- local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
- CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
- local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
- CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
- coroutine.resume(coroutine.create(function()
- while wait() do
- GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
- GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
- end
- end))
- ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.7, Size2 = 0, Lifetime1 = 0.7, Lifetime2 = 0.7, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
- --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.8, Size2 = 0, Lifetime1 = 0.8, Lifetime2 = 0.9, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
- for _, c in pairs(Weapon:GetDescendants()) do
- if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
- c.Material = "Glass"
- c.Color = C3(0,0,0)
- elseif c.ClassName == "Part" and c.Name == "Eye" then
- c.Color = C3(0,255,0)
- c.Material = "Neon"
- end
- end
- Weapon.Parent = Character
- for _, c in pairs(Weapon:GetChildren()) do
- if c.ClassName == "Part" then
- c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
- end
- end
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- function 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 = "Bodoni"
- 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(0,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)
- 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,c.Size,c.Name})
- elseif c:IsA("JointInstance") then
- table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
- 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]
- --local SIZE = STUFF[6]
- local NAME = STUFF[7]
- if PART.ClassName == "Part" and PART ~= RootPart then
- PART.Material = MATERIAL
- PART.Transparency = TRANSPARENCY
- PART.Name = NAME
- end
- if PART.Parent ~= PARENT then
- Humanoid:remove()
- PART.Parent = PARENT
- Humanoid = IT("Humanoid",Character)
- end
- end
- end
- end
- local SKILLTEXTCOLOR = C3(0,255,0)
- local SKILLFONT = "Code"
- local SKILLTEXTSIZE = 7
- Humanoid.Died:connect(function()
- refit()
- end)
- local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 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.63, 0, 0.90, 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.365, 0, 0.1, 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.525, 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.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
- ]]
- local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] BrustBullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
- local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Teleport", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
- local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] DeathGround", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
- --[[local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[B] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
- local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[C] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
- ]]
- function printbye(Name)
- local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
- warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
- end
- workspace.ChildAdded:connect(function(instance)
- for BANISH = 1, #TOBANISH do
- if TOBANISH[BANISH] ~= nil then
- if instance.Name == TOBANISH[BANISH] then
- coroutine.resume(coroutine.create(function()
- printbye(instance.Name)
- instance:ClearAllChildren()
- Debris:AddItem(instance,0.0005)
- end))
- end
- end
- end
- end)
- --//=================================\\
- --|| DAMAGING
- --\\=================================//
- function Banish(Foe)
- if Foe then
- coroutine.resume(coroutine.create(function()
- --if game.Players:FindFirstChild(Foe.Name) then
- table.insert(TOBANISH,Foe.Name)
- printbye(Foe.Name)
- --end
- Foe.Archivable = true
- local CLONE = Foe:Clone()
- Foe:Destroy()
- CLONE.Parent = Effects
- CLONE:BreakJoints()
- local MATERIALS = {"Glass","Neon"}
- for _, c in pairs(CLONE:GetDescendants()) do
- if c:IsA("BasePart") then
- if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
- CreateSound(340722848, c, 10, 1, false)
- end
- c.Anchored = true
- c.Transparency = c.Transparency + 0.2
- c.Material = MATERIALS[MRANDOM(1,2)]
- c.Color = C3(0,255,0)
- if c.ClassName == "MeshPart" then
- c.TextureID = ""
- end
- if c:FindFirstChildOfClass("SpecialMesh") then
- c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
- end
- if c:FindFirstChildOfClass("Decal") then
- c:FindFirstChildOfClass("Decal"):remove()
- end
- c.Name = "Banished"
- c.CanCollide = false
- else
- c:remove()
- end
- end
- local A = false
- for i = 1, 35 do
- if A == false then
- A = true
- elseif A == true then
- A = false
- end
- for _, c in pairs(CLONE:GetDescendants()) do
- if c:IsA("BasePart") then
- c.Anchored = true
- c.Material = MATERIALS[MRANDOM(1,2)]
- c.Transparency = c.Transparency + 0.8/35
- if A == false then
- c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
- elseif A == true then
- c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
- end
- end
- end
- Swait()
- end
- CLONE:remove()
- end))
- end
- end
- function ApplyAoE(POSITION,RANGE,ISBANISH)
- local CHILDREN = workspace:GetDescendants()
- for index, CHILD in pairs(CHILDREN) do
- if CHILD.ClassName == "Model" and CHILD ~= Character 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 ISBANISH == true then
- Banish(CHILD)
- else
- if ISBANISH == "Gravity" then
- HUM.PlatformStand = true
- if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
- local grav = Instance.new("BodyPosition",TORSO)
- grav.D = 15
- grav.P = 20000
- grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- grav.position = TORSO.Position
- grav.Name = "V3BanishForce"..Player.Name
- else
- TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
- TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
- end
- else
- HUM.PlatformStand = false
- end
- end
- elseif ISBANISH == "Gravity" then
- if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
- TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
- HUM.PlatformStand = false
- end
- end
- end
- end
- end
- end
- end
- --//=================================\\
- --|| ATTACK FUNCTIONS AND STUFF
- --\\=================================//
- local LAUGHS = {"907329532"}
- local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
- MakeForm(RightHole,"Cyl")
- local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
- MakeForm(LeftHole,"Cyl")
- function getbloody(victim,amount)
- local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
- PART.CFrame = victim.CFrame
- local HITPLAYERSOUNDS = {"356551938","264486467"}
- Debris:AddItem(PART,5)
- CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
- CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
- CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
- local prtcl = asd:Clone()
- prtcl.Parent = PART
- prtcl:Emit(amount*10)
- end
- function Kill(Char)
- local NewCharacter = IT("Model",Effects)
- NewCharacter.Name = "Ow im ded ;-;"
- for _, c in pairs(Char:GetDescendants()) do
- if c:IsA("BasePart") and c.Transparency == 0 then
- if c.Parent == Char then
- getbloody(c,5)
- end
- c:BreakJoints()
- c.Material = "Glass"
- c.Color = C3(0.5,0,0)
- c.CanCollide = true
- c.Transparency = 0.3
- if c:FindFirstChildOfClass("SpecialMesh") then
- c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
- end
- if c.Name == "Head" then
- c:ClearAllChildren()
- c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
- end
- if c.ClassName == "MeshPart" then
- c.TextureID = ""
- end
- if c:FindFirstChildOfClass("BodyPosition") then
- c:FindFirstChildOfClass("BodyPosition"):remove()
- end
- if c:FindFirstChildOfClass("ParticleEmitter") then
- c:FindFirstChildOfClass("ParticleEmitter"):remove()
- end
- c.Parent = NewCharacter
- c.Name = "DeadPart"
- c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
- c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
- end
- end
- Char:remove()
- Debris:AddItem(NewCharacter,5)
- end
- function Banisher_Bullet()
- ATTACK = true
- Rooted = false
- for i=0, 0.05, 0.1 / Animation_Speed do
- Swait()
- turnto(Mouse.Hit.p)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
- end
- repeat
- for i=0, 0.05, 0.1 / Animation_Speed do
- Swait()
- turnto(Mouse.Hit.p)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
- end
- local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
- SpawnTrail(Hole.Position,POS)
- if HIT ~= nil then
- if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
- Banish(HIT.Parent)
- end
- end
- WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
- WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
- WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
- for i=0, 0.05, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
- end
- until KEYHOLD == false
- ATTACK = false
- Rooted = false
- end
- function Teleport()
- ATTACK = true
- Rooted = false
- for i=0, 0.5, 0.1 / Animation_Speed do
- Swait()
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
- end
- for e = 1, #BODY do
- if BODY[e] ~= nil then
- local STUFF = BODY[e]
- local PART = STUFF[1]
- if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
- local PRT = PART:Clone()
- PRT.Anchored = true
- PRT.CanCollide = false
- PRT.Material = "Neon"
- PRT.Color = C3(255,100,255)
- PRT.Name = "WarpEffect"
- PRT.Parent = Effects
- PRT.CFrame = PART.CFrame
- PRT:BreakJoints()
- if PRT:FindFirstChildOfClass("Sound") then
- PRT:FindFirstChildOfClass("Sound"):remove()
- end
- if PRT:FindFirstChildOfClass("Decal") then
- PRT:FindFirstChildOfClass("Decal"):remove()
- end
- coroutine.resume(coroutine.create(function()
- for i = 1, 100 do
- Swait()
- PRT.Transparency = PRT.Transparency + 1/100
- end
- PRT:remove()
- end))
- end
- end
- end
- CreateSound(217767125, Torso, 10, 1)
- local POS = RootPart.Orientation
- RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
- RootPart.Orientation = POS
- RootJoint.Parent = RootPart
- for i=0, 0.5, 0.1 / Animation_Speed do
- Swait()
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
- end
- for i=0, 0.1, 0.1 / Animation_Speed do
- Swait()
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
- end
- ATTACK = false
- Rooted = false
- end
- function Deathbound()
- CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
- ATTACK = true
- Rooted = true
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- local DONE = false
- local GATE = nil
- local GATESPIN = true
- coroutine.resume(coroutine.create(function()
- repeat
- Swait()
- if GATE ~= nil then
- GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
- end
- until GATESPIN == false
- end))
- coroutine.resume(coroutine.create(function()
- repeat
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * 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)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
- until DONE == true
- Swait(50)
- for i = 1, 35 do
- Swait(4)
- local FIRED = false
- local CHILDREN = workspace:GetDescendants()
- for index, CHILD in pairs(CHILDREN) do
- if CHILD.ClassName == "Model" and CHILD ~= Character then
- local HUM = CHILD:FindFirstChildOfClass("Humanoid")
- if HUM then
- local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
- if TORSO then
- if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
- local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
- local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
- WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
- WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
- Banish(CHILD)
- FIRED = true
- break
- end
- end
- end
- end
- end
- if FIRED == false then
- local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
- WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
- WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
- local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
- if HITBOD ~= nil then
- if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
- Kill(HITBOD.Parent)
- end
- end
- end
- end
- for i = 1, 45 do
- Swait()
- GATE.Size = GATE.Size - VT(3,0,3)
- end
- GATESPIN = false
- GATE:remove()
- end))
- Swait(15)
- local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
- GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0))
- local DECAL = IT("Decal",GATE)
- DECAL.Texture = "http://www.roblox.com/asset/?id=647661410"
- DECAL.Face = "Top"
- GATE.CFrame = CF(HITPOS)
- CreateSound(160772554, GATE, 7, 1.3, false)
- for i = 1, 45 do
- Swait()
- GATE.Size = GATE.Size + VT(3,0,3)
- end
- CreateSound(213603013, RightHole, 7, 1, false)
- CreateSound(213603013, LeftHole, 7, 1, false)
- WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- ATTACK = false
- Rooted = false
- DONE = true
- end
- --//=================================\\
- --|| ASSIGN THINGS TO KEYS
- --\\=================================//
- function MouseDown(Mouse)
- if ATTACK == false then
- end
- end
- function MouseUp(Mouse)
- HOLD = false
- end
- function KeyDown(Key)
- KEYHOLD = true
- if Key == "z" and ATTACK == false then
- Banisher_Bullet()
- end
- if Key == "b" and ATTACK == false then
- end
- if Key == "c" and ATTACK == false then
- end
- if Key == "v" and ATTACK == false then
- Teleport()
- end
- if Key == "x" and ATTACK == false then
- Deathbound()
- 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
- g = Character:GetChildren()
- for i = 1, #g do
- if g[i].ClassName == "Part" then
- g[i].Anchored = false
- end
- 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)
- local CONNECT = nil
- while true do
- Swait()
- ANIMATE.Parent = nil
- if Character:FindFirstChildOfClass("Humanoid") == nil then
- Humanoid = IT("Humanoid",Character)
- end
- for _,v in next, Humanoid:GetPlayingAnimationTracks() do
- v:Stop();
- end
- SINE = SINE + CHANGE
- 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, Character)
- local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 26)
- if ANIM == "Walk" and TORSOVELOCITY > 1 then
- RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / 3)
- Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * 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) / 3)
- RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / 3)
- LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / 3)
- 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 / 3)
- Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
- RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
- LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
- end
- if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
- ANIM = "Jump"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
- end
- elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
- ANIM = "Fall"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / 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, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / 3)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 4.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / 3)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45 + 2 * SIN(SINE / 12)), RAD(-25))* RIGHTSHOULDERC0, 0.15 / 3)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / 3)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1.1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / 3)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / 3)
- end
- elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
- ANIM = "Walk"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / 3)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / 3)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / 3)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / 3)
- RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / 3)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / 3)
- 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
- refit()
- sick.Parent = Torso
- sick:resume()
- sick.Volume = 5
- sick.Pitch = 0
- sick.SoundId = "rbxassetid://1383202399"
- sick.Name = "BanishV3Music"
- end
- --//=================================\\
- --\\=================================//
- --//====================================================\\--
- --|| END OF SCRIPT
- --\\====================================================//--
- print([[
- ___________________________________
- Kyutatsuki13's music player script
- Build 0161
- It's a music player of quality!
- ___________________________________
- ]])
- player = game:GetService("Players").LocalPlayer
- char = player.Character
- hed = char:WaitForChild("Head")
- root = char:WaitForChild("HumanoidRootPart")
- rs = game:GetService("RunService").RenderStepped
- mouse = player:GetMouse()
- vismode = "rainbow"
- firstrun = true
- asdid = ""
- asdtext = ""
- asdtimeposition = 0
- asdvolume = 0
- asdpitch = 0
- asdmax = 0
- mode = "local"
- asdhi=0
- asdmi=0
- asdlo=0
- asddist=0
- asdopen=false
- asdcolor = false
- synctarget = nil
- foundsound = false
- mathrandom={x=0;y=0;z=0;}
- local rdmx = math.random(0,1)
- local rdmy = math.random(0,1)
- local rdmz = math.random(0,1)
- if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end
- if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end
- if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end
- local origcolor = BrickColor.new("Really red")
- bc = BrickColor.new
- br = BrickColor.random
- it = Instance.new
- cf = CFrame.new
- euler = CFrame.fromEulerAnglesXYZ
- angles = CFrame.Angles
- matr = math.random
- it = Instance.new
- vt = Vector3.new
- cf = CFrame.new
- bc = BrickColor.new
- local leftkey = false
- local rightkey = false
- local typerot = 1
- local rotspeed = 1
- local negrotspeed = -1
- function swait(num)
- if num==0 or num==nil then
- game:service'RunService'.Stepped:wait(0)
- else
- for i=0,num do
- game:service'RunService'.Stepped:wait(0)
- end
- end
- end
- local Create = LoadLibrary("RbxUtility").Create
- CFuncs = {
- ["Part"] = {
- Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part"){
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material,
- }
- RemoveOutlines(Part)
- return Part
- end;
- };
- ["Mesh"] = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh){
- Parent = Part,
- Offset = OffSet,
- Scale = Scale,
- }
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end;
- };
- ["Mesh"] = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh){
- Parent = Part,
- Offset = OffSet,
- Scale = Scale,
- }
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end;
- };
- ["Weld"] = {
- Create = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld"){
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1,
- }
- return Weld
- end;
- };
- ["Sound"] = {
- Create = function(id, par, vol, pit)
- coroutine.resume(coroutine.create(function()
- local S = Create("Sound"){
- Volume = vol,
- Pitch = pit or 1,
- SoundId = id,
- Parent = par or workspace,
- }
- wait()
- S:play()
- game:GetService("Debris"):AddItem(S, 10)
- end))
- end;
- };
- ["ParticleEmitter"] = {
- Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
- local fp = Create("ParticleEmitter"){
- Parent = Parent,
- Color = ColorSequence.new(Color1, Color2),
- LightEmission = LightEmission,
- Size = Size,
- Texture = Texture,
- Transparency = Transparency,
- ZOffset = ZOffset,
- Acceleration = Accel,
- Drag = Drag,
- LockedToPart = LockedToPart,
- VelocityInheritance = VelocityInheritance,
- EmissionDirection = EmissionDirection,
- Enabled = Enabled,
- Lifetime = LifeTime,
- Rate = Rate,
- Rotation = Rotation,
- RotSpeed = RotSpeed,
- Speed = Speed,
- VelocitySpread = VelocitySpread,
- }
- return fp
- end;
- };
- CreateTemplate = {
- };
- }
- New = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- function CreateSound(asd)
- if synctarget == nil then
- if mode == "local" then
- soundparent=char:WaitForChild("Torso")
- else
- soundparent=char
- end
- sound = Instance.new("Sound",soundparent)
- sound.Name = "KyuSound"
- sound.Looped = true
- effect = Instance.new("EqualizerSoundEffect",sound)
- coroutine.resume(coroutine.create(function()
- distort = Instance.new("DistortionSoundEffect",sound)
- end))
- if asd ~= nil then
- sound.SoundId = asdid
- sound.TimePosition = asdtimeposition
- end
- sound:Play()
- end
- end
- function fetchName(id)
- cast = false
- coroutine.resume(coroutine.create(function() product = game:GetService("MarketplaceService"):GetProductInfo(id, Enum.InfoType.Asset) cast = true end))
- if cast == true then
- repeat rs:wait()
- coroutine.resume(coroutine.create(function() product = game:GetService("MarketplaceService"):GetProductInfo(id, Enum.InfoType.Asset) end))
- asdfname = product.Name
- until asdfname ~= nil
- else
- asdfname = ""
- end
- return asdfname
- end
- function scan(instance)
- if instance.ClassName == "Sound" then
- if instance.TimeLength > 20 and instance.IsPlaying and foundsound == false then
- asdid = instance.SoundId
- sound = instance
- foundsound = true
- print("Sync to sound :)")
- end
- end
- for _,children in pairs(instance:GetChildren()) do scan(children) end
- end
- function drawgui()
- Prefix = "/"
- function findPlayer(name)
- for _, players in pairs(game:getService("Players"):GetPlayers()) do
- if players.Name:lower():find(name:lower()) then
- return players
- end
- end
- end
- if firstrun == true then
- player.Chatted:connect(function(msg)
- if msg:lower():sub(1,#Prefix+#'sync ')==Prefix..'sync ' then
- local v = msg:sub(#Prefix+#'sync '+1)
- foundsound = false
- synctarget = findPlayer(v)
- end
- end)
- end
- naeeym2 = Instance.new("BillboardGui",root)
- naeeym2.Size = UDim2.new(10, 0, 4, 0)
- naeeym2.StudsOffset = Vector3.new(0, 7, 0)
- naeeym2.Adornee = root
- naeeym2.Name = "TalkingBillBoard"
- tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- if firstrun == true then
- tecks2.Text = ""
- else
- tecks2.Text = fetchName(tonumber(asdid:sub(#'rbxassetid://'+1)))
- end
- tecks2.Font = "Fantasy"
- tecks2.TextSize = 25
- tecks2.Size = UDim2.new(1,0,1,0)
- tecks2.TextStrokeTransparency = 0
- tecks2.TextTransparency = 0
- parent = player.PlayerGui
- ScreenGui0 = Instance.new("ScreenGui")
- TextButton1 = Instance.new("TextButton")
- Frame2 = Instance.new("Frame")
- TextBox3 = Instance.new("TextBox")
- TextButton4 = Instance.new("TextButton")
- Frame5 = Instance.new("Frame")
- Frame6 = Instance.new("Frame")
- Frame7 = Instance.new("Frame")
- TextLabel8 = Instance.new("TextLabel")
- TextButton9 = Instance.new("TextButton")
- Frame10 = Instance.new("Frame")
- Frame11 = Instance.new("Frame")
- TextLabel12 = Instance.new("TextLabel")
- TextButton13 = Instance.new("TextButton")
- TextButton14 = Instance.new("TextButton")
- Frame15 = Instance.new("Frame")
- Frame16 = Instance.new("Frame")
- Frame17 = Instance.new("Frame")
- TextButton18 = Instance.new("TextButton")
- TextLabel19 = Instance.new("TextLabel")
- Frame20 = Instance.new("Frame")
- Frame21 = Instance.new("Frame")
- TextButton22 = Instance.new("TextButton")
- TextLabel23 = Instance.new("TextLabel")
- Frame24 = Instance.new("Frame")
- Frame25 = Instance.new("Frame")
- TextButton26 = Instance.new("TextButton")
- TextLabel27 = Instance.new("TextLabel")
- Frame28 = Instance.new("Frame")
- Frame29 = Instance.new("Frame")
- TextButton30 = Instance.new("TextButton")
- TextLabel31 = Instance.new("TextLabel")
- Frame32 = Instance.new("Frame")
- TextButton33 = Instance.new("TextButton")
- TextButton34 = Instance.new("TextButton")
- ScreenGui0.Name = "MusicPlayerKyu"
- ScreenGui0.Parent = parent
- TextButton1.AnchorPoint = Vector2.new(0, 0.5)
- TextButton1.Name = "Open/Close"
- TextButton1.Parent = ScreenGui0
- TextButton1.Size = UDim2.new(0, 20, 0, 300)
- TextButton1.Text = ">>"
- TextButton1.Position = UDim2.new(0, 0, 0.5, 0)
- TextButton1.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton1.SizeConstraint = Enum.SizeConstraint.RelativeXX
- TextButton1.Font = Enum.Font.Code
- Frame2.AnchorPoint = Vector2.new(0, 0.5)
- Frame2.Name = "Core"
- Frame2.Parent = ScreenGui0
- Frame2.Size = UDim2.new(0, 500, 0, 300)
- Frame2.Position = UDim2.new(0, 20, 0.5, 0)
- Frame2.BackgroundColor3 = Color3.new(0.615686, 0.615686, 0.615686)
- Frame2.SizeConstraint = Enum.SizeConstraint.RelativeXX
- TextBox3.Name = "ID"
- TextBox3.Parent = Frame2
- TextBox3.Size = UDim2.new(0, 100, 0, 100)
- if firstrun == true then
- TextBox3.Text = "ID"
- else
- TextBox3.Text = asdtext
- end
- TextBox3.Position = UDim2.new(0, 50, 0, 20)
- TextBox3.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox3.SizeConstraint = Enum.SizeConstraint.RelativeXX
- TextBox3.Font = Enum.Font.SciFi
- TextBox3.FontSize = Enum.FontSize.Size14
- TextButton4.Name = "Play"
- TextButton4.Parent = TextBox3
- TextButton4.Size = UDim2.new(1, 0, 0, 20)
- TextButton4.Text = "PLAY"
- TextButton4.Position = UDim2.new(0.5, 0, 1, 0)
- TextButton4.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton4.Font = Enum.Font.SciFi
- TextButton4.FontSize = Enum.FontSize.Size14
- TextButton4.AnchorPoint = Vector2.new(0.5, 0)
- Frame5.Name = "SettingsPanel"
- Frame5.Parent = Frame2
- Frame5.Size = UDim2.new(0, 300, 0, 150)
- Frame5.Position = UDim2.new(1, -20, 0, 20)
- Frame5.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- Frame5.AnchorPoint = Vector2.new(1, 0)
- Frame6.Name = "Volume"
- Frame6.Parent = Frame5
- Frame6.Transparency = 0
- Frame6.Size = UDim2.new(0, 100, 0, 100)
- Frame6.Position = UDim2.new(0, 100, 0.5, 0)
- Frame6.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame6.BackgroundTransparency = 1
- Frame6.AnchorPoint = Vector2.new(0.5, 0.5)
- Frame7.Name = "Line"
- Frame7.Parent = Frame6
- Frame7.Size = UDim2.new(0, 1, 1, 0)
- Frame7.Position = UDim2.new(0.5, 0, 0, 0)
- Frame7.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
- Frame7.BorderSizePixel = 0
- Frame7.AnchorPoint = Vector2.new(0.5, 0)
- TextLabel8.Name = "Text"
- TextLabel8.Parent = Frame6
- TextLabel8.Transparency = 0
- TextLabel8.Text = "Volume"
- TextLabel8.Position = UDim2.new(0.5, 0, 1, 10)
- TextLabel8.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel8.BackgroundTransparency = 1
- TextLabel8.Font = Enum.Font.SourceSans
- TextLabel8.FontSize = Enum.FontSize.Size10
- TextLabel8.AnchorPoint = Vector2.new(0.5, 0)
- TextButton9.Name = "DragVol"
- TextButton9.Parent = Frame6
- TextButton9.Size = UDim2.new(0, 20, 0, 10)
- TextButton9.Text = ""
- if firstrun == true then
- TextButton9.Position = UDim2.new(0.5, 0, 0.5, 0)
- else
- TextButton9.Position = asdvolume
- end
- TextButton9.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
- TextButton9.Font = Enum.Font.SourceSans
- TextButton9.AnchorPoint = Vector2.new(0.5, 0.5)
- Frame10.Name = "Pitch"
- Frame10.Parent = Frame5
- Frame10.Transparency = 0
- Frame10.Size = UDim2.new(0, 100, 0, 100)
- Frame10.Position = UDim2.new(0, 50, 0.5, 0)
- Frame10.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame10.BackgroundTransparency = 1
- Frame10.AnchorPoint = Vector2.new(0.5, 0.5)
- Frame11.Name = "Line"
- Frame11.Parent = Frame10
- Frame11.Size = UDim2.new(0, 1, 1, 0)
- Frame11.Position = UDim2.new(0.5, 0, 0, 0)
- Frame11.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
- Frame11.BorderSizePixel = 0
- Frame11.AnchorPoint = Vector2.new(0.5, 0)
- TextLabel12.Name = "Text"
- TextLabel12.Parent = Frame10
- TextLabel12.Transparency = 0
- TextLabel12.Text = "Pitch"
- TextLabel12.Position = UDim2.new(0.5, 0, 1, 10)
- TextLabel12.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel12.BackgroundTransparency = 1
- TextLabel12.Font = Enum.Font.SourceSans
- TextLabel12.FontSize = Enum.FontSize.Size10
- TextLabel12.AnchorPoint = Vector2.new(0.5, 0)
- TextButton13.Name = "DragPitch"
- TextButton13.Parent = Frame10
- TextButton13.Size = UDim2.new(0, 20, 0, 10)
- TextButton13.Text = ""
- if firstrun == true then
- TextButton13.Position = UDim2.new(0.5, 0, 0.5, 0)
- else
- TextButton13.Position = asdpitch
- end
- TextButton13.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
- TextButton13.Font = Enum.Font.SourceSans
- TextButton13.AnchorPoint = Vector2.new(0.5, 0.5)
- TextButton14.Name = "Reset"
- TextButton14.Parent = Frame10
- TextButton14.Size = UDim2.new(0, 20, 0, 20)
- TextButton14.Text = ""
- TextButton14.Position = UDim2.new(0.5, -15, 0.5, 0)
- TextButton14.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
- TextButton14.Font = Enum.Font.SourceSans
- TextButton14.FontSize = Enum.FontSize.Size14
- TextButton14.AnchorPoint = Vector2.new(1, 0.5)
- Frame15.Name = "Others"
- Frame15.Parent = Frame5
- Frame15.Transparency = 0
- Frame15.Size = UDim2.new(0, 100, 0, 100)
- Frame15.Position = UDim2.new(0, 210, 0.5, 0)
- Frame15.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame15.BackgroundTransparency = 1
- Frame15.AnchorPoint = Vector2.new(0.5, 0.5)
- Frame16.Name = "Low"
- Frame16.Parent = Frame15
- Frame16.Transparency = 0
- Frame16.Size = UDim2.new(0, 0, 1, 0)
- Frame16.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame16.BackgroundTransparency = 1
- Frame17.Name = "Line"
- Frame17.Parent = Frame16
- Frame17.Size = UDim2.new(0, 1, 1, 0)
- Frame17.Position = UDim2.new(0.5, 0, 0, 0)
- Frame17.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
- Frame17.BorderSizePixel = 0
- Frame17.AnchorPoint = Vector2.new(0.5, 0)
- TextButton18.Name = "DragLow"
- TextButton18.Parent = Frame16
- TextButton18.Size = UDim2.new(0, 20, 0, 10)
- TextButton18.Text = ""
- if firstrun == true then
- TextButton18.Position = UDim2.new(0.5, 0, 0.5, -25)
- else
- TextButton18.Position = asdlo
- end
- TextButton18.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
- TextButton18.Font = Enum.Font.SourceSans
- TextButton18.AnchorPoint = Vector2.new(0.5, 0.5)
- TextLabel19.Name = "Text"
- TextLabel19.Parent = Frame16
- TextLabel19.Transparency = 0
- TextLabel19.Text = "Low"
- TextLabel19.Position = UDim2.new(0.5, 0, 1, 10)
- TextLabel19.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel19.BackgroundTransparency = 1
- TextLabel19.Font = Enum.Font.SourceSans
- TextLabel19.FontSize = Enum.FontSize.Size10
- TextLabel19.AnchorPoint = Vector2.new(0.5, 0)
- Frame20.Name = "Medium"
- Frame20.Parent = Frame15
- Frame20.Transparency = 0
- Frame20.Size = UDim2.new(0, 0, 1, 0)
- Frame20.Position = UDim2.new(0, 40, 0, 0)
- Frame20.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame20.BackgroundTransparency = 1
- Frame21.Name = "Line"
- Frame21.Parent = Frame20
- Frame21.Size = UDim2.new(0, 1, 1, 0)
- Frame21.Position = UDim2.new(0.5, 0, 0, 0)
- Frame21.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
- Frame21.BorderSizePixel = 0
- Frame21.AnchorPoint = Vector2.new(0.5, 0)
- TextButton22.Name = "DragMed"
- TextButton22.Parent = Frame20
- TextButton22.Size = UDim2.new(0, 20, 0, 10)
- TextButton22.Text = ""
- if firstrun == true then
- TextButton22.Position = UDim2.new(0.5, 0, 0.5, -25)
- else
- TextButton22.Position = asdmi
- end
- TextButton22.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
- TextButton22.Font = Enum.Font.SourceSans
- TextButton22.AnchorPoint = Vector2.new(0.5, 0.5)
- TextLabel23.Name = "Text"
- TextLabel23.Parent = Frame20
- TextLabel23.Transparency = 0
- TextLabel23.Text = "Medium"
- TextLabel23.Position = UDim2.new(0.5, 0, 1, 10)
- TextLabel23.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel23.BackgroundTransparency = 1
- TextLabel23.Font = Enum.Font.SourceSans
- TextLabel23.FontSize = Enum.FontSize.Size10
- TextLabel23.AnchorPoint = Vector2.new(0.5, 0)
- Frame24.Name = "High"
- Frame24.Parent = Frame15
- Frame24.Transparency = 0
- Frame24.Size = UDim2.new(0, 0, 1, 0)
- Frame24.Position = UDim2.new(0, 80, 0, 0)
- Frame24.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame24.BackgroundTransparency = 1
- Frame25.Name = "Line"
- Frame25.Parent = Frame24
- Frame25.Size = UDim2.new(0, 1, 1, 0)
- Frame25.Position = UDim2.new(0.5, 0, 0, 0)
- Frame25.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
- Frame25.BorderSizePixel = 0
- Frame25.AnchorPoint = Vector2.new(0.5, 0)
- TextButton26.Name = "DragHigh"
- TextButton26.Parent = Frame24
- TextButton26.Size = UDim2.new(0, 20, 0, 10)
- TextButton26.Text = ""
- if firstrun == true then
- TextButton26.Position = UDim2.new(0.5, 0, 0.5, -25)
- else
- TextButton26.Position = asdhi
- end
- TextButton26.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
- TextButton26.Font = Enum.Font.SourceSans
- TextButton26.AnchorPoint = Vector2.new(0.5, 0.5)
- TextLabel27.Name = "Text"
- TextLabel27.Parent = Frame24
- TextLabel27.Transparency = 0
- TextLabel27.Text = "High"
- TextLabel27.Position = UDim2.new(0.5, 0, 1, 10)
- TextLabel27.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel27.BackgroundTransparency = 1
- TextLabel27.Font = Enum.Font.SourceSans
- TextLabel27.FontSize = Enum.FontSize.Size10
- TextLabel27.AnchorPoint = Vector2.new(0.5, 0)
- Frame28.Name = "Distortion"
- Frame28.Parent = Frame15
- Frame28.Transparency = 0
- Frame28.Size = UDim2.new(0, 0, 1, 0)
- Frame28.Position = UDim2.new(0, 120, 0, 0)
- Frame28.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame28.BackgroundTransparency = 1
- Frame29.Name = "Line"
- Frame29.Parent = Frame28
- Frame29.Size = UDim2.new(0, 1, 1, 0)
- Frame29.Position = UDim2.new(0.5, 0, 0, 0)
- Frame29.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
- Frame29.BorderSizePixel = 0
- Frame29.AnchorPoint = Vector2.new(0.5, 0)
- TextButton30.Name = "DragDist"
- TextButton30.Parent = Frame28
- TextButton30.Size = UDim2.new(0, 20, 0, 10)
- TextButton30.Text = ""
- if firstrun == true then
- TextButton30.Position = UDim2.new(0.5, 0, 0.5, 50)
- else
- TextButton30.Position = asddist
- end
- TextButton30.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
- TextButton30.Font = Enum.Font.SourceSans
- TextButton30.AnchorPoint = Vector2.new(0.5, 0.5)
- TextLabel31.Name = "Text"
- TextLabel31.Parent = Frame28
- TextLabel31.Transparency = 0
- TextLabel31.Text = "Dist"
- TextLabel31.Position = UDim2.new(0.5, 0, 1, 10)
- TextLabel31.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel31.BackgroundTransparency = 1
- TextLabel31.Font = Enum.Font.SourceSans
- TextLabel31.FontSize = Enum.FontSize.Size10
- TextLabel31.AnchorPoint = Vector2.new(0.5, 0)
- Frame32.Name = "Line"
- Frame32.Parent = Frame5
- Frame32.Size = UDim2.new(0, 1, 1, -20)
- Frame32.Position = UDim2.new(0.5, -20, 0.5, 0)
- Frame32.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
- Frame32.BorderSizePixel = 0
- Frame32.AnchorPoint = Vector2.new(0.5, 0.5)
- TextButton33.Name = "Global/Local"
- TextButton33.Parent = Frame2
- TextButton33.Size = UDim2.new(0, 100, 0, 100)
- if mode == "local" then
- TextButton33.Text = "LOCAL"
- else
- TextButton33.Text = "GLOBAL"
- end
- TextButton33.Position = UDim2.new(0, 50, 0, 180)
- TextButton33.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton33.Font = Enum.Font.SciFi
- TextButton33.FontSize = Enum.FontSize.Size14
- TextButton34.Name = "Style"
- TextButton34.Parent = Frame2
- TextButton34.Size = UDim2.new(0.5, 50, 0, 100)
- TextButton34.Text = "Style: "..vismode
- TextButton34.Position = UDim2.new(0.5, 80, 0, 180)
- TextButton34.BackgroundColor3 = Color3.new(0.211765, 0.211765, 0.211765)
- TextButton34.Font = Enum.Font.SciFi
- TextButton34.FontSize = Enum.FontSize.Size14
- TextButton34.TextColor3 = Color3.new(1, 1, 0)
- TextButton34.AnchorPoint = Vector2.new(0.5, 0)
- Frame2.Visible = asdopen
- draggable = {TextButton9;TextButton13;TextButton18;TextButton22;TextButton26;TextButton30}
- held = false
- trigger = nil
- base = UDim2.new(0,0,0,0)
- TextButton1.MouseButton1Click:connect(function()
- if Frame2.Visible == true then
- Frame2.Visible = false
- asdopen = false
- TextButton1.Text = ">>"
- else
- Frame2.Visible = true
- asdopen = true
- TextButton1.Text = "<<"
- end
- end)
- TextButton4.MouseButton1Click:connect(function()
- if mode == "local" then
- if not char:WaitForChild("Torso"):FindFirstChild("KyuSound") then CreateSound() end
- else
- if not char:FindFirstChild("KyuSound") then CreateSound() end
- end
- synctarget = nil
- sound:Stop()
- soundname = fetchName(TextBox3.Text)
- tecks2.Text = soundname
- asdid = "rbxassetid://"..TextBox3.Text
- sound:Play()
- end)
- TextButton14.MouseButton1Click:connect(function()
- TextButton13.Position = UDim2.new(0.5, 0, 0.5, 0)
- end)
- TextButton33.MouseButton1Click:connect(function()
- if synctarget == nil then
- if mode == "local" then
- mode = "global"
- TextButton33.Text = "GLOBAL"
- if char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
- sound:Pause()
- sound.Parent = char
- sound:Resume()
- end
- else
- mode = "local"
- TextButton33.Text = "LOCAL"
- if char:FindFirstChild("KyuSound") then
- sound:Pause()
- sound.Parent = char:WaitForChild("Torso")
- sound:Resume()
- end
- end
- end
- end)
- function changemode()
- if vismode == "nothing" then
- vismode = "rainbow"
- local rdmx = math.random(0,1)
- local rdmy = math.random(0,1)
- local rdmz = math.random(0,1)
- if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end
- if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end
- if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end
- elseif vismode == "rainbow" then
- vismode = "classic"
- bp.Position = char.Head.Position+Vector3.new(0,2,0)
- Main.Position = char.Head.Position+Vector3.new(0,2,0)
- part:Destroy()
- elseif vismode == "classic" then
- vismode = "trail"
- local rdmx = math.random(0,1)
- local rdmy = math.random(0,1)
- local rdmz = math.random(0,1)
- if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end
- if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end
- if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end
- elseif vismode == "trail" then
- part:Destroy()
- vismode = "nooby"
- elseif vismode == "nooby" then
- vismode = "trail kyu"
- centralpart:Destroy()
- local rdmx = math.random(0,1)
- local rdmy = math.random(0,1)
- local rdmz = math.random(0,1)
- if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end
- if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end
- if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end
- elseif vismode == "trail kyu" then
- part:Destroy()
- vismode = "nothing"
- end
- end
- TextButton34.MouseButton1Click:connect(function()
- changemode()
- end)
- for i,v in pairs(draggable) do
- v.MouseButton1Down:connect(function()
- trigger = v
- base = UDim2.new(0.5,0,0.5,mouse.y) - trigger.Position
- held = true
- end)
- v.MouseButton1Up:connect(function()
- base = UDim2.new(0.5,0,0.5,0)
- trigger = nil
- held = false
- end)
- end
- mouse.Button1Up:connect(function()
- base = UDim2.new(0.5,0,0.5,0)
- trigger = nil
- held = false
- end)
- mouse.Move:connect(function()
- if held then
- trigger.Position = UDim2.new(0.5,0,0.5,mouse.y) - base
- if trigger.Position.Y.Offset > 50 then
- trigger.Position = UDim2.new(0.5, 0,0.5, 50)
- end
- if trigger.Position.Y.Offset < -50 then
- trigger.Position = UDim2.new(0.5, 0,0.5, -50)
- end
- if trigger.Position.X.Offset ~= 0 then
- trigger.Position = UDim2.new(0.5, 0,0.5, trigger.Position.Y.Offset)
- end
- end
- end)
- max = asdmax
- Visualiser = Instance.new("Model",char)
- Visualiser2 = Instance.new("Model",Visualiser)
- Visualiser2.Name = "VisualiserK"
- Main = Instance.new("Part",Visualiser)
- Main.Name = "VisualiserClassic"
- Main.Position = char.Head.Position+Vector3.new(0,2,0)
- Main.CanCollide = false
- Main.Size = Vector3.new(1,1,1)
- Main.Transparency = 1
- Visualiserpos = Instance.new("Attachment",Main)
- Visualiserpos.Position = Vector3.new(5,0,0)
- Visualiserpos2 = Instance.new("Attachment",Main)
- Visualiserpos2.Position = Vector3.new(-5,0,0)
- bp = Instance.new("BodyPosition",Main)
- bp.P = 3500
- ba = Instance.new("BodyAngularVelocity",Main)
- firstrun = false
- end
- local i = 0
- while rs:wait() do
- script.Parent = nil
- char = player.Character
- root = char:WaitForChild("HumanoidRootPart")
- if not player.PlayerGui:FindFirstChild("MusicPlayerKyu") then
- drawgui()
- CreateSound("BACKUP")
- end
- if not (foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound")) then
- CreateSound("BACKUP")
- end
- if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
- asdvolume = sound.Volume
- asdtimeposition = sound.TimePosition
- end
- if sound.SoundId ~= asdid and synctarget == nil then
- sound:Stop()
- sound.SoundId = asdid
- soundname = fetchName(tonumber(asdid:sub(#'rbxassetid://'+1)))
- sound.TimePosition = asdtimeposition
- sound:Play()
- end
- if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
- if max < sound.PlaybackLoudness then
- max = sound.PlaybackLoudness
- end
- if max > 0 then
- max = max -1
- end
- if not sound:FindFirstChild("EqualizerSoundEffect") then
- effect = Instance.new("EqualizerSoundEffect",sound)
- end
- if not sound:FindFirstChild("DistortionSoundEffect") then
- coroutine.resume(coroutine.create(function()
- distort = Instance.new("DistortionSoundEffect",sound)
- end))
- end
- sound.Volume = 5-(TextButton9.Position.Y.Offset/10)
- sound.PlaybackSpeed = math.ceil((1-(TextButton13.Position.Y.Offset/50))*40)/40
- coroutine.resume(coroutine.create(function()
- distort.Level = 0.5+(-TextButton30.Position.Y.Offset/50)
- end))
- effect.HighGain = -(TextButton26.Position.Y.Offset*1.2)
- effect.MidGain = -(TextButton22.Position.Y.Offset*1.2)
- effect.LowGain = -(TextButton18.Position.Y.Offset*1.2)
- for i,v in pairs(Visualiser:FindFirstChild("VisualiserK"):GetChildren()) do
- local change = 0.1+(max/5000)
- v.Mesh.Scale = v.Mesh.Scale+Vector3.new(change,change,change)
- v.Transparency = v.Transparency + 0.05
- local light = v:FindFirstChildOfClass("PointLight")
- light.Brightness = 2+sound.PlaybackLoudness/25
- light.Range = 5+sound.PlaybackLoudness/10
- if v.Transparency >= 1 then
- v:Destroy()
- end
- end
- else
- for i,v in pairs(Visualiser:FindFirstChild("VisualiserK"):GetChildren()) do
- local change = 0.1
- v.Mesh.Scale = v.Mesh.Scale+Vector3.new(change,change,change)
- v.Transparency = v.Transparency + 0.05
- if v.Transparency >= 1 then
- v:Destroy()
- end
- end
- end
- if vismode == "classic" then
- block = Instance.new("Part",Visualiser:FindFirstChild("VisualiserK"))
- blockm = Instance.new("BlockMesh",block)
- if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
- change = sound.PlaybackLoudness/80
- blockm.Scale = Vector3.new(1+change,1+change,1+change)
- end
- block.Anchored = true
- block.CanCollide = false
- block.Material = Enum.Material.Neon
- block.Size = Vector3.new(1,1,1)
- light = Instance.new("PointLight",block)
- light.Color = Color3.fromHSV(0,0,1)
- light.Brightness = 2+sound.PlaybackLoudness/25
- light.Range = 5+sound.PlaybackLoudness/10
- block.CFrame = CFrame.new(Visualiserpos.WorldPosition,Vector3.new(math.random(0,3600)/10,math.random(0,3600)/10,math.random(0,3600)/10))
- --------------
- block = Instance.new("Part",Visualiser:FindFirstChild("VisualiserK"))
- blockm = Instance.new("BlockMesh",block)
- if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
- change = sound.PlaybackLoudness/80
- blockm.Scale = Vector3.new(1+change,1+change,1+change)
- end
- block.Anchored = true
- block.CanCollide = false
- block.Material = Enum.Material.Neon
- block.Size = Vector3.new(1,1,1)
- light = Instance.new("PointLight",block)
- light.Color = Color3.fromHSV(0,0,1)
- light.Brightness = 2+sound.PlaybackLoudness/25
- light.Range = 5+sound.PlaybackLoudness/10
- block.CFrame = CFrame.new(Visualiserpos2.WorldPosition,Vector3.new(math.random(0,3600)/10,math.random(0,3600)/10,math.random(0,3600)/10))
- ba.AngularVelocity = Vector3.new(0,0.2+(max/100),0)
- bp.Position = char.Head.Position+Vector3.new(0,2,0)
- tecks2.TextColor3 = Color3.fromHSV(0,0,0)
- tecks2.TextStrokeColor3 = Color3.fromHSV(0,0,1)
- elseif vismode == "rainbow" then
- if not char:FindFirstChild("VisualiserRGB") then
- part=Instance.new("Part",char)
- part.Name="VisualiserRGB"
- part.Position=root.Position + Vector3.new(0,10,0)
- part.CFrame = CFrame.new(part.Position)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360)))
- blockmesh=Instance.new("BlockMesh",part)
- end
- if not part:FindFirstChildOfClass("BodyPosition") then
- bp2=Instance.new("BodyPosition",part)
- end
- if not part:FindFirstChildOfClass("BodyAngularVelocity") then
- ba2=Instance.new("BodyAngularVelocity",part)
- end
- if not part:FindFirstChildOfClass("PointLight") then
- light=Instance.new("PointLight",part)
- end
- part.Color = Color3.fromHSV(i,1,1)
- light.Color = Color3.fromHSV(i,1,1)
- light.Brightness = 2+sound.PlaybackLoudness/25
- light.Range = 5+sound.PlaybackLoudness/10
- part:BreakJoints()
- part.CanCollide = false
- part.Material = Enum.Material.Neon
- blockmesh.Scale= Vector3.new(1+(sound.PlaybackLoudness/150),1+(sound.PlaybackLoudness/150),1+(sound.PlaybackLoudness/150))
- part.Size = Vector3.new(1,1,1)
- bp2.Position = root.Position + Vector3.new(0,10,0)
- ba2.AngularVelocity = Vector3.new((mathrandom.x/100)+(sound.PlaybackLoudness/mathrandom.x),(mathrandom.y/100)+(sound.PlaybackLoudness/mathrandom.y),(mathrandom.z/100)+(sound.PlaybackLoudness/mathrandom.z))
- tecks2.TextColor3 = Color3.fromHSV(0,0,1)
- tecks2.TextStrokeColor3 = Color3.fromHSV(i,1,1)
- if i >= 1 then
- i = 0
- else
- i = i + 0.005
- end
- elseif vismode == "trail" then
- if not char:FindFirstChild("VisualiserRGB") then
- local function createtrail(part0,part1,parent)
- local trail = Instance.new("Trail",parent)
- trail.Attachment0 = part0
- trail.Attachment1 = part1
- trail.MinLength = 0
- trail.Lifetime = 0.05
- trail.LightEmission = 1
- trail.LightInfluence = 0
- trail.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,1,1))
- --trail.Transparency = NumberSequence.new(0,1)
- end
- part=Instance.new("Part",char)
- part.Name="VisualiserRGB"
- part.Position=root.Position + Vector3.new(0,10,0)
- part.CFrame = CFrame.new(part.Position)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360)))
- blockmesh=Instance.new("BlockMesh",part)
- A = Instance.new("Attachment",part)
- B = Instance.new("Attachment",part)
- C = Instance.new("Attachment",part)
- D = Instance.new("Attachment",part)
- E = Instance.new("Attachment",part)
- F = Instance.new("Attachment",part)
- G = Instance.new("Attachment",part)
- H = Instance.new("Attachment",part)
- A.Position = Vector3.new(1,1,1)
- B.Position = Vector3.new(1,-1,1)
- C.Position = Vector3.new(-1,1,1)
- D.Position = Vector3.new(-1,-1,1)
- E.Position = Vector3.new(1,1,-1)
- F.Position = Vector3.new(1,-1,-1)
- G.Position = Vector3.new(-1,1,-1)
- H.Position = Vector3.new(-1,-1,-1)
- createtrail(A,E,part)
- createtrail(B,F,part)
- createtrail(C,G,part)
- createtrail(D,H,part)
- createtrail(A,B,part)
- createtrail(C,D,part)
- createtrail(E,F,part)
- createtrail(G,H,part)
- createtrail(A,C,part)
- createtrail(B,D,part)
- createtrail(E,G,part)
- createtrail(F,H,part)
- end
- if not part:FindFirstChildOfClass("BodyPosition") then
- bp2=Instance.new("BodyPosition",part)
- end
- if not part:FindFirstChildOfClass("BodyAngularVelocity") then
- ba2=Instance.new("BodyAngularVelocity",part)
- end
- if not part:FindFirstChildOfClass("PointLight") then
- light=Instance.new("PointLight",part)
- end
- part.Color = Color3.fromHSV(i,1,1)
- light.Color = Color3.fromHSV(i,1,1)
- light.Brightness = 2+sound.PlaybackLoudness/25
- light.Range = 5+sound.PlaybackLoudness/10
- part:BreakJoints()
- part.CanCollide = false
- part.Material = Enum.Material.Neon
- local asd = 1+(sound.PlaybackLoudness/150)
- blockmesh.Scale= Vector3.new(asd/2,asd/2,asd/2)
- part.Size = Vector3.new(1,1,1)
- bp2.Position = root.Position + Vector3.new(0,10,0)
- ba2.AngularVelocity = Vector3.new((mathrandom.x/100)+(sound.PlaybackLoudness/mathrandom.x),(mathrandom.y/100)+(sound.PlaybackLoudness/mathrandom.y),(mathrandom.z/100)+(sound.PlaybackLoudness/mathrandom.z))
- tecks2.TextColor3 = Color3.fromHSV(i,1,0.8)
- tecks2.TextStrokeColor3 = Color3.fromHSV(i,1,1)
- A.Position = Vector3.new(asd/2,asd/2,asd/2)
- B.Position = Vector3.new(asd/2,-asd/2,asd/2)
- C.Position = Vector3.new(-asd/2,asd/2,asd/2)
- D.Position = Vector3.new(-asd/2,-asd/2,asd/2)
- E.Position = Vector3.new(asd/2,asd/2,-asd/2)
- F.Position = Vector3.new(asd/2,-asd/2,-asd/2)
- G.Position = Vector3.new(-asd/2,asd/2,-asd/2)
- H.Position = Vector3.new(-asd/2,-asd/2,-asd/2)
- if i >= 0.8 then
- asdcolor = true
- elseif i <= 0.5 then
- asdcolor = false
- end
- if asdcolor == true then
- i = i - 0.001
- else
- i = i + 0.001
- end
- elseif vismode == "trail kyu" then
- if not char:FindFirstChild("VisualiserRGB") then
- local function createtrail(part0,part1,parent)
- local trail = Instance.new("Trail",parent)
- trail.Attachment0 = part0
- trail.Attachment1 = part1
- trail.MinLength = 0
- trail.Lifetime = 0.05
- trail.LightEmission = 1
- trail.LightInfluence = 0
- trail.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,1,1))
- --trail.Transparency = NumberSequence.new(0,1)
- end
- part=Instance.new("Part",char)
- part.Name="VisualiserRGB"
- part.Position=root.Position + Vector3.new(0,10,0)
- part.CFrame = CFrame.new(part.Position)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360)))
- blockmesh=Instance.new("BlockMesh",part)
- part2=part:Clone()
- part2.Parent = part
- part2.Transparency = 1
- part2.CFrame = CFrame.new(part2.Position)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360)))
- A = Instance.new("Attachment",part)
- B = Instance.new("Attachment",part)
- C = Instance.new("Attachment",part)
- D = Instance.new("Attachment",part)
- E = Instance.new("Attachment",part)
- F = Instance.new("Attachment",part)
- G = Instance.new("Attachment",part)
- H = Instance.new("Attachment",part)
- A2 = Instance.new("Attachment",part2)
- B2 = Instance.new("Attachment",part2)
- C2 = Instance.new("Attachment",part2)
- D2 = Instance.new("Attachment",part2)
- E2 = Instance.new("Attachment",part2)
- F2 = Instance.new("Attachment",part2)
- G2 = Instance.new("Attachment",part2)
- H2 = Instance.new("Attachment",part2)
- A.Position = Vector3.new(1,1,1)
- B.Position = Vector3.new(1,-1,1)
- C.Position = Vector3.new(-1,1,1)
- D.Position = Vector3.new(-1,-1,1)
- E.Position = Vector3.new(1,1,-1)
- F.Position = Vector3.new(1,-1,-1)
- G.Position = Vector3.new(-1,1,-1)
- H.Position = Vector3.new(-1,-1,-1)
- createtrail(A,E,part)
- createtrail(B,F,part)
- createtrail(C,G,part)
- createtrail(D,H,part)
- createtrail(A,B,part)
- createtrail(C,D,part)
- createtrail(E,F,part)
- createtrail(G,H,part)
- createtrail(A,C,part)
- createtrail(B,D,part)
- createtrail(E,G,part)
- createtrail(F,H,part)
- A2.Position = Vector3.new(1,1,1)
- B2.Position = Vector3.new(1,-1,1)
- C2.Position = Vector3.new(-1,1,1)
- D2.Position = Vector3.new(-1,-1,1)
- E2.Position = Vector3.new(1,1,-1)
- F2.Position = Vector3.new(1,-1,-1)
- G2.Position = Vector3.new(-1,1,-1)
- H2.Position = Vector3.new(-1,-1,-1)
- createtrail(A2,E2,part)
- createtrail(B2,F2,part)
- createtrail(C2,G2,part)
- createtrail(D2,H2,part)
- createtrail(A2,B2,part)
- createtrail(C2,D2,part)
- createtrail(E2,F2,part)
- createtrail(G2,H2,part)
- createtrail(A2,C2,part)
- createtrail(B2,D2,part)
- createtrail(E2,G2,part)
- createtrail(F2,H2,part)
- end
- if not part:FindFirstChildOfClass("BodyPosition") then
- bp2=Instance.new("BodyPosition",part)
- end
- if not part:FindFirstChildOfClass("BodyAngularVelocity") then
- ba2=Instance.new("BodyAngularVelocity",part)
- end
- if not part:FindFirstChildOfClass("PointLight") then
- light=Instance.new("PointLight",part)
- end
- if not part2:FindFirstChildOfClass("BodyPosition") then
- bp3=Instance.new("BodyPosition",part2)
- end
- if not part2:FindFirstChildOfClass("BodyAngularVelocity") then
- ba3=Instance.new("BodyAngularVelocity",part2)
- end
- part.Color = Color3.fromHSV(i,1,1)
- light.Color = Color3.fromHSV(i,1,1)
- light.Brightness = 2+sound.PlaybackLoudness/25
- light.Range = 5+sound.PlaybackLoudness/10
- part:BreakJoints()
- part.Material = Enum.Material.Neon
- local asd = 1+(sound.PlaybackLoudness/150)
- blockmesh.Scale= Vector3.new(asd/2,asd/2,asd/2)
- part.Size = Vector3.new(1,1,1)
- part2.Size = Vector3.new(1,1,1)
- part.CanCollide = false
- part2.CanCollide = false
- bp2.Position = root.Position + Vector3.new(0,10,0)
- ba2.AngularVelocity = Vector3.new((mathrandom.x/100)+(sound.PlaybackLoudness/mathrandom.x),(mathrandom.y/100)+(sound.PlaybackLoudness/mathrandom.y),(mathrandom.z/100)+(sound.PlaybackLoudness/mathrandom.z))
- bp3.Position = root.Position + Vector3.new(0,10,0)
- ba3.AngularVelocity = Vector3.new(-(mathrandom.x/100)-(sound.PlaybackLoudness/mathrandom.x),-(mathrandom.y/100)-(sound.PlaybackLoudness/mathrandom.y),-(mathrandom.z/100)-(sound.PlaybackLoudness/mathrandom.z))
- tecks2.TextColor3 = Color3.fromHSV(i,1,0.8)
- tecks2.TextStrokeColor3 = Color3.fromHSV(i,1,1)
- A.Position = Vector3.new(asd/2,asd/2,asd/2)
- B.Position = Vector3.new(asd/2,-asd/2,asd/2)
- C.Position = Vector3.new(-asd/2,asd/2,asd/2)
- D.Position = Vector3.new(-asd/2,-asd/2,asd/2)
- E.Position = Vector3.new(asd/2,asd/2,-asd/2)
- F.Position = Vector3.new(asd/2,-asd/2,-asd/2)
- G.Position = Vector3.new(-asd/2,asd/2,-asd/2)
- H.Position = Vector3.new(-asd/2,-asd/2,-asd/2)
- A2.Position = Vector3.new(asd,asd,asd)
- B2.Position = Vector3.new(asd,-asd,asd)
- C2.Position = Vector3.new(-asd,asd,asd)
- D2.Position = Vector3.new(-asd,-asd,asd)
- E2.Position = Vector3.new(asd,asd,-asd)
- F2.Position = Vector3.new(asd,-asd,-asd)
- G2.Position = Vector3.new(-asd,asd,-asd)
- H2.Position = Vector3.new(-asd,-asd,-asd)
- if i >= 0.8 then
- asdcolor = true
- elseif i <= 0.5 then
- asdcolor = false
- end
- if asdcolor == true then
- i = i - 0.001
- else
- i = i + 0.001
- end
- elseif vismode == "nothing" then
- tecks2.Text = ""
- elseif vismode == "nooby" then
- if not char:FindFirstChild("noobyvis") then
- centralpart = it("Part",char)
- centralpart.Name = "noobyvis"
- centralpart.CFrame = hed.CFrame + Vector3.new(0,-2.5,0)
- centralpart.Anchored = true
- centralpart.Size = vt(1,1,1)
- centralpart.Transparency = 1
- centralpart.CanCollide = false
- centralpart2a = it("Part",centralpart)
- centralpart2a.CFrame = centralpart.CFrame
- centralpart2a.Anchored = true
- centralpart2a.Transparency = 0
- centralpart2a.BrickColor = origcolor
- centralpart2a.Material = "Neon"
- centralpart2a.Size = vt(1,1,1)
- centralpart2a.CanCollide = false
- meshy = Instance.new("SpecialMesh", centralpart2a)
- meshy.Scale = vt(1.05,1.05,1.05)
- meshy.MeshType = "Sphere"
- centralpart2 = it("Part",centralpart)
- centralpart2.CFrame = centralpart.CFrame
- centralpart2.Anchored = true
- centralpart2.Transparency = 0.65
- centralpart2.BrickColor = BrickColor.new("Really black")
- centralpart2.Material = "Neon"
- centralpart2.Size = vt(1,1,1)
- centralpart2.CanCollide = false
- meshy2 = Instance.new("SpecialMesh", centralpart2)
- meshy2.Scale = vt(1.075,1.075,1.075)
- meshy2.MeshType = "Sphere"
- centralpart3 = it("Part",centralpart)
- centralpart3.CFrame = centralpart.CFrame
- centralpart3.Anchored = true
- centralpart3.Transparency = 0.5
- centralpart3.BrickColor = origcolor
- centralpart3.Material = "Neon"
- centralpart3.Size = vt(0.5,1,0.5)
- centralpart3.CanCollide = false
- meshy3 = Instance.new("SpecialMesh", centralpart3)
- meshy3.Scale = vt(1,0.035,1.075)
- meshy3.MeshType = "Brick"
- centralpart4 = it("Part",centralpart)
- centralpart4.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(15),0)
- centralpart4.Anchored = true
- centralpart4.Transparency = 0.5
- centralpart4.BrickColor = origcolor
- centralpart4.Material = "Neon"
- centralpart4.Size = vt(0.5,1,0.5)
- centralpart4.CanCollide = false
- meshy4 = Instance.new("SpecialMesh", centralpart4)
- meshy4.Scale = vt(1,0.035,1.075)
- meshy4.MeshType = "Brick"
- centralpart5 = it("Part",centralpart)
- centralpart5.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(30),0)
- centralpart5.Anchored = true
- centralpart5.Transparency = 0.5
- centralpart5.BrickColor = origcolor
- centralpart5.Material = "Neon"
- centralpart5.Size = vt(0.5,1,0.5)
- centralpart5.CanCollide = false
- meshy5 = Instance.new("SpecialMesh", centralpart5)
- meshy5.Scale = vt(1,0.035,1.075)
- meshy5.MeshType = "Brick"
- centralpart6 = it("Part",centralpart)
- centralpart6.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(45),0)
- centralpart6.Anchored = true
- centralpart6.Transparency = 0.5
- centralpart6.BrickColor = origcolor
- centralpart6.Material = "Neon"
- centralpart6.Size = vt(0.5,1,0.5)
- centralpart6.CanCollide = false
- meshy6 = Instance.new("SpecialMesh", centralpart6)
- meshy6.Scale = vt(1,0.035,1.075)
- meshy6.MeshType = "Brick"
- centralpart7 = it("Part",centralpart)
- centralpart7.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(60),0)
- centralpart7.Anchored = true
- centralpart7.Transparency = 0.5
- centralpart7.BrickColor = origcolor
- centralpart7.Material = "Neon"
- centralpart7.Size = vt(0.5,1,0.5)
- centralpart7.CanCollide = false
- meshy7 = Instance.new("SpecialMesh", centralpart7)
- meshy7.Scale = vt(1,0.035,1.075)
- meshy7.MeshType = "Brick"
- centralpart8 = it("Part",centralpart)
- centralpart8.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(75),0)
- centralpart8.Anchored = true
- centralpart8.Transparency = 0.5
- centralpart8.BrickColor = origcolor
- centralpart8.Material = "Neon"
- centralpart8.Size = vt(0.5,1,0.5)
- centralpart8.CanCollide = false
- meshy8 = Instance.new("SpecialMesh", centralpart8)
- meshy8.Scale = vt(1,0.035,1.075)
- meshy8.MeshType = "Brick"
- centralpart9 = it("Part",centralpart)
- centralpart9.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(90),0)
- centralpart9.Anchored = true
- centralpart9.Transparency = 0.5
- centralpart9.BrickColor = origcolor
- centralpart9.Material = "Neon"
- centralpart9.Size = vt(0.5,1,0.5)
- centralpart9.CanCollide = false
- meshy9 = Instance.new("SpecialMesh", centralpart9)
- meshy9.Scale = vt(1,0.035,1.075)
- meshy9.MeshType = "Brick"
- centralpart10 = it("Part",centralpart)
- centralpart10.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(105),0)
- centralpart10.Anchored = true
- centralpart10.Transparency = 0.5
- centralpart10.BrickColor = origcolor
- centralpart10.Material = "Neon"
- centralpart10.Size = vt(0.5,1,0.5)
- centralpart10.CanCollide = false
- meshy10 = Instance.new("SpecialMesh", centralpart10)
- meshy10.Scale = vt(1,0.035,1.075)
- meshy10.MeshType = "Brick"
- centralpart11 = it("Part",centralpart)
- centralpart11.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(120),0)
- centralpart11.Anchored = true
- centralpart11.Transparency = 0.5
- centralpart11.BrickColor = origcolor
- centralpart11.Material = "Neon"
- centralpart11.Size = vt(0.5,1,0.5)
- centralpart11.CanCollide = false
- meshy11 = Instance.new("SpecialMesh", centralpart11)
- meshy11.Scale = vt(1,0.035,1.075)
- meshy11.MeshType = "Brick"
- centralpart12 = it("Part",centralpart)
- centralpart12.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(135),0)
- centralpart12.Anchored = true
- centralpart12.Transparency = 0.5
- centralpart12.BrickColor = origcolor
- centralpart12.Material = "Neon"
- centralpart12.Size = vt(0.5,1,0.5)
- centralpart12.CanCollide = false
- meshy12 = Instance.new("SpecialMesh", centralpart12)
- meshy12.Scale = vt(1,0.035,1.075)
- meshy12.MeshType = "Brick"
- centralpart13 = it("Part",centralpart)
- centralpart13.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(150),0)
- centralpart13.Anchored = true
- centralpart13.Transparency = 0.5
- centralpart13.BrickColor = origcolor
- centralpart13.Material = "Neon"
- centralpart13.Size = vt(0.5,1,0.5)
- centralpart13.CanCollide = false
- meshy13 = Instance.new("SpecialMesh", centralpart13)
- meshy13.Scale = vt(1,0.035,1.075)
- meshy13.MeshType = "Brick"
- centralpart14 = it("Part",centralpart)
- centralpart14.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(165),0)
- centralpart14.Anchored = true
- centralpart14.Transparency = 0.5
- centralpart14.BrickColor = origcolor
- centralpart14.Material = "Neon"
- centralpart14.Size = vt(0.5,1,0.5)
- centralpart14.CanCollide = false
- meshy14 = Instance.new("SpecialMesh", centralpart14)
- meshy14.Scale = vt(1,0.035,1.075)
- meshy14.MeshType = "Brick"
- centralpart15 = it("Part",centralpart)
- centralpart15.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(180),0)
- centralpart15.Anchored = true
- centralpart15.Transparency = 0.5
- centralpart15.BrickColor = origcolor
- centralpart15.Material = "Neon"
- centralpart15.Size = vt(0.5,1,0.5)
- centralpart15.CanCollide = false
- meshy15 = Instance.new("SpecialMesh", centralpart15)
- meshy15.Scale = vt(1,0.035,1.075)
- meshy15.MeshType = "Brick"
- centralparto = it("Part",centralpart)
- centralparto.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(0),0)
- centralparto.Anchored = true
- centralparto.Transparency = 0.5
- centralparto.BrickColor = BrickColor.new("Really black")
- centralparto.Material = "Neon"
- centralparto.Size = vt(0.5,1,0.5)
- centralparto.CanCollide = false
- meshyo = Instance.new("SpecialMesh", centralparto)
- meshyo.Scale = vt(1.05,0.05,0.25)
- meshyo.MeshType = "Sphere"
- centralparto2 = it("Part",centralpart)
- centralparto2.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(90),0)
- centralparto2.Anchored = true
- centralparto2.Transparency = 0.5
- centralparto2.BrickColor = BrickColor.new("Really black")
- centralparto2.Material = "Neon"
- centralparto2.Size = vt(0.5,1,0.5)
- centralparto2.CanCollide = false
- meshyo2 = Instance.new("SpecialMesh", centralparto2)
- meshyo2.Scale = vt(1.05,0.05,0.25)
- meshyo2.MeshType = "Sphere"
- centralparto3 = it("Part",centralpart)
- centralparto3.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(45),0)
- centralparto3.Anchored = true
- centralparto3.Transparency = 0.5
- centralparto3.BrickColor = BrickColor.new("Maroon")
- centralparto3.Material = "Neon"
- centralparto3.Size = vt(0.5,1,0.5)
- centralparto3.CanCollide = false
- meshyo3 = Instance.new("SpecialMesh", centralparto3)
- meshyo3.Scale = vt(1.05,0.075,0.25)
- meshyo3.MeshType = "Sphere"
- centralparto4 = it("Part",centralpart)
- centralparto4.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(135),0)
- centralparto4.Anchored = true
- centralparto4.Transparency = 0.5
- centralparto4.BrickColor = BrickColor.new("Maroon")
- centralparto4.Material = "Neon"
- centralparto4.Size = vt(0.5,1,0.5)
- centralparto4.CanCollide = false
- meshyo4 = Instance.new("SpecialMesh", centralparto4)
- meshyo4.Scale = vt(1.05,0.075,0.25)
- meshyo4.MeshType = "Sphere"
- eff = Instance.new("ParticleEmitter",centralpart)
- eff.Texture = "http://www.roblox.com/asset/?id=243664672"
- eff.LightEmission = 0.75
- eff.Color = ColorSequence.new(Color3.new(255,0,0))
- eff.Lifetime = NumberRange.new(2.5)
- eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
- eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.45,0),NumberSequenceKeypoint.new(1,1,0)})
- eff.Acceleration = Vector3.new(0,-75,0)
- eff.Rotation = NumberRange.new(-500,500)
- eff.VelocitySpread = 90
- eff.RotSpeed = NumberRange.new(-500,500)
- ogsize = meshy.Scale
- ogsize2 = meshy2.Scale
- ogsize3 = meshy3.Scale
- ogsize4 = meshy4.Scale
- ogsize5 = meshy5.Scale
- ogsize6 = meshy6.Scale
- ogsize7 = meshy7.Scale
- ogsize8 = meshy8.Scale
- ogsize9 = meshy9.Scale
- ogsize10 = meshy10.Scale
- ogsize11 = meshy11.Scale
- ogsize12 = meshy12.Scale
- ogsize13 = meshy13.Scale
- ogsize14 = meshy14.Scale
- ogsize15 = meshy15.Scale
- ogsizeo = meshyo.Scale
- ogsizeo2 = meshyo2.Scale
- ogsizeo3 = meshyo3.Scale
- ogsizeo4 = meshyo4.Scale
- end
- meshy.Scale = meshy.Scale:lerp(Vector3.new(ogsize.X+sound.PlaybackLoudness/600*3.5,ogsize.Y+sound.PlaybackLoudness/600*3.5,ogsize.Z+sound.PlaybackLoudness/525*3.5),0.8)
- meshy2.Scale = meshy2.Scale:lerp(Vector3.new(ogsize2.X+sound.PlaybackLoudness/500*3.5,ogsize2.Y+sound.PlaybackLoudness/500*3.5,ogsize2.Z+sound.PlaybackLoudness/500*3.5),0.8)
- meshy3.Scale = meshy3.Scale:lerp(Vector3.new(1,0.035,ogsize3.Z+sound.PlaybackLoudness/100*7),0.8)
- meshy4.Scale = meshy4.Scale:lerp(Vector3.new(1,0.035,ogsize4.Z+sound.PlaybackLoudness/100*7.25),0.8)
- meshy5.Scale = meshy5.Scale:lerp(Vector3.new(1,0.035,ogsize5.Z+sound.PlaybackLoudness/100*7.5),0.8)
- meshy6.Scale = meshy6.Scale:lerp(Vector3.new(1,0.035,ogsize6.Z+sound.PlaybackLoudness/100*7.75),0.8)
- meshy7.Scale = meshy7.Scale:lerp(Vector3.new(1,0.035,ogsize7.Z+sound.PlaybackLoudness/100*8),0.8)
- meshy8.Scale = meshy8.Scale:lerp(Vector3.new(1,0.035,ogsize8.Z+sound.PlaybackLoudness/100*8.25),0.8)
- meshy9.Scale = meshy9.Scale:lerp(Vector3.new(1,0.035,ogsize9.Z+sound.PlaybackLoudness/100*8.5),0.8)
- meshy10.Scale = meshy10.Scale:lerp(Vector3.new(1,0.035,ogsize10.Z+sound.PlaybackLoudness/100*8.75),0.8)
- meshy11.Scale = meshy11.Scale:lerp(Vector3.new(1,0.035,ogsize11.Z+sound.PlaybackLoudness/100*9),0.8)
- meshy12.Scale = meshy12.Scale:lerp(Vector3.new(1,0.035,ogsize12.Z+sound.PlaybackLoudness/100*9.25),0.8)
- meshy13.Scale = meshy13.Scale:lerp(Vector3.new(1,0.035,ogsize13.Z+sound.PlaybackLoudness/100*9.5),0.8)
- meshy14.Scale = meshy14.Scale:lerp(Vector3.new(1,0.035,ogsize14.Z+sound.PlaybackLoudness/100*9.75),0.8)
- meshy15.Scale = meshy15.Scale:lerp(Vector3.new(1,0.035,ogsize15.Z+sound.PlaybackLoudness/100*10),0.8)
- meshyo.Scale = meshyo.Scale:lerp(Vector3.new(ogsizeo.X+sound.PlaybackLoudness/250*7.5,0.15,ogsizeo.Z+sound.PlaybackLoudness/1000*250),0.8)
- meshyo2.Scale = meshyo2.Scale:lerp(Vector3.new(ogsizeo2.X+sound.PlaybackLoudness/250*7.5,0.15,ogsizeo2.Z+sound.PlaybackLoudness/1000*250),0.8)
- meshyo3.Scale = meshyo3.Scale:lerp(Vector3.new(ogsizeo3.X+sound.PlaybackLoudness/250*5,0.225,ogsizeo3.Z+sound.PlaybackLoudness/500*100),0.8)
- meshyo4.Scale = meshyo4.Scale:lerp(Vector3.new(ogsizeo4.X+sound.PlaybackLoudness/250*5,0.225,ogsizeo4.Z+sound.PlaybackLoudness/500*100),0.8)
- centralpart.Position = root.Position + Vector3.new(0,5,0)
- centralpart3.Position = centralpart.Position
- centralpart3.CFrame = centralpart3.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
- centralpart4.Position = centralpart.Position
- centralpart4.CFrame = centralpart4.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
- centralpart5.Position = centralpart.Position
- centralpart5.CFrame = centralpart5.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
- centralpart6.Position = centralpart.Position
- centralpart6.CFrame = centralpart6.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
- centralpart7.Position = centralpart.Position
- centralpart7.CFrame = centralpart7.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
- centralpart8.Position = centralpart.Position
- centralpart8.CFrame = centralpart8.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
- centralpart9.Position = centralpart.Position
- centralpart9.CFrame = centralpart9.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
- centralpart10.Position = centralpart.Position
- centralpart10.CFrame = centralpart10.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
- centralpart11.Position = centralpart.Position
- centralpart11.CFrame = centralpart11.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
- centralpart12.Position = centralpart.Position
- centralpart12.CFrame = centralpart12.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
- centralpart13.Position = centralpart.Position
- centralpart13.CFrame = centralpart13.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
- centralpart14.Position = centralpart.Position
- centralpart14.CFrame = centralpart14.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
- centralpart15.Position = centralpart.Position
- centralpart15.CFrame = centralpart15.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
- centralparto.Position = centralpart.Position
- centralparto.CFrame = centralparto.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*75),0)
- centralparto2.Position = centralpart.Position
- centralparto2.CFrame = centralparto2.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*75),0)
- centralparto3.Position = centralpart.Position
- centralparto3.CFrame = centralparto3.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*15),0)
- centralparto4.Position = centralpart.Position
- centralparto4.CFrame = centralparto4.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*15),0)
- centralpart.CFrame = centralpart.CFrame
- centralpart2.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/250),0)
- centralpart2a.CFrame = centralpart2.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/250),0)
- eff.Rate = sound.PlaybackLoudness/3
- eff.Speed = NumberRange.new(sound.PlaybackLoudness/5)
- eff.Color = ColorSequence.new(Color3.new(sound.PlaybackLoudness/255,0,0))
- eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,sound.PlaybackLoudness/75,0),NumberSequenceKeypoint.new(1,0,0)})
- centralpart2a.Color = Color3.new(sound.PlaybackLoudness/400,0,0)
- centralparto3.Color = Color3.new(sound.PlaybackLoudness/375,0,0)
- centralparto4.Color = Color3.new(sound.PlaybackLoudness/375,0,0)
- tecks2.TextColor3 = Color3.fromRGB(255,0,0)
- tecks2.TextStrokeColor3 = Color3.fromHSV(0,0,0)
- end
- Visualiserpos.Position = Vector3.new(5+(max/10),0,0)
- Visualiserpos2.Position = Vector3.new(-5-(max/10),0,0)
- Main:BreakJoints()
- Main.Anchored = false
- TextButton14.Text = math.ceil((1-(TextButton13.Position.Y.Offset/50))*40)/40
- TextButton34.Text = "Style: "..vismode
- asdmax = max
- asdvolume = TextButton9.Position
- asdpitch = TextButton13.Position
- asddist = TextButton30.Position
- asdhi = TextButton26.Position
- asdmi = TextButton22.Position
- asdlo = TextButton18.Position
- asdtext = TextBox3.Text
- if synctarget == nil then
- foundsound = false
- else
- if foundsound == false then
- print("Trying to Sync...")
- scan(synctarget.Character)
- else
- asdid = sound.SoundId
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement