Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---------------------------
- --/ \--
- -- Script By: 123jl123 --
- --\ /--
- ---------------------------
- --local remote = NS ([=[
- local TweenService = game:GetService("TweenService")
- --local RbxUtility = LoadLibrary("RbxUtility")
- --local Create = RbxUtility.Createa
- local Player = game:GetService("Players").LocalPlayer
- if Player.Character == nil then
- while Player.Character == nil do wait()
- end end
- PNAME = Player.Name
- ZTfade=false
- ZT=false
- --EffectPack = script.Extras:Clone()
- --script.Extras:Destroy()
- MTARGET = nil
- Target = CFrame.new()
- Character= workspace["CloneCharacter"]
- Torso = Character.Torso
- Head = Character.Head
- Humanoid = Character.Humanoid
- LeftArm = Character["Left Arm"]
- LeftLeg = Character["Left Leg"]
- RightArm = Character["Right Arm"]
- RightLeg = Character["Right Leg"]
- RootPart = Character["HumanoidRootPart"]
- local Anim="Idle"
- local inairvel=0
- local WalkAnimStep = 0
- local sine = 0
- local change = 1
- Animstep = 0
- WalkAnimMove=0.1
- Combo = 0
- local attack=false
- local RJ = Character.HumanoidRootPart:FindFirstChild("RootJoint")
- local Neck = Character.Torso:FindFirstChild("Neck")
- local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- local NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- local forWFB = 0
- local forWRL = 0
- Effects=Instance.new("Folder",Character)
- Effects.Name="Effects"
- it=Instance.new
- vt=Vector3.new
- cf=CFrame.new
- euler=CFrame.fromEulerAnglesXYZ
- angles=CFrame.Angles
- local cn = CFrame.new
- mr=math.rad
- mememode=false
- IT = Instance.new
- CF = CFrame.new
- VT = Vector3.new
- RAD = math.rad
- C3 = Color3.new
- UD2 = UDim2.new
- BRICKC = BrickColor.new
- ANGLES = CFrame.Angles
- EULER = CFrame.fromEulerAnglesXYZ
- COS = math.cos
- ACOS = math.acos
- SIN = math.sin
- ASIN = math.asin
- ABS = math.abs
- MRANDOM = math.random
- FLOOR = math.floor
- local lastid= "http://www.roblox.com/asset/?id=2677904658"
- local s2=it("Sound",Torso)
- local CurId = 1
- s2.EmitterSize = 30
- local s2c=s2:Clone()
- playsong = true
- s2.SoundId = lastid
- if playsong == true then
- s2:play()
- elseif playsong == false then
- s2:stop()
- end
- lastsongpos= 0
- crosshair = Instance.new("BillboardGui",Character)
- crosshair.Size = UDim2.new(10,0,10,0)
- crosshair.Enabled = false
- imgl = Instance.new("ImageLabel",crosshair)
- imgl.Position = UDim2.new(0,0,0,0)
- imgl.Size = UDim2.new(1,0,1,0)
- imgl.Image = "rbxassetid://464083672"
- imgl.BackgroundTransparency = 1
- imgl.ImageTransparency = .7
- imgl.ImageColor3 = Color3.new(0,0,1)
- crosshair.StudsOffset = Vector3.new(0,0,-1)
- --//=================================\\
- --|| LOCAL IDS
- --\\=================================//
- local GROWL = 1544355717
- local ROAR = 528589382
- local ECHOBLAST = 376976397
- local CAST = 459523898
- local ALCHEMY = 424195979
- local BUILDUP = 698824317
- local BIGBUILDUP = 874376217
- local IMPACT = 231917744
- local LARGE_EXPLOSION = 168513088
- local TURNUP = 299058146
- --//=================================\\
- --|| SAZERENOS ARTIFICIAL HEARTBEAT
- --\\=================================//
- Frame_Speed = 1 / 30
- 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)
- --//=================================\\
- --\\=================================//
- 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
- if Character:FindFirstChild("Animate")then
- Character.Animate:Destroy()
- end
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- CFuncs = {
- Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- --[[
- local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
- RemoveOutlines(Part)
- return Part
- ]]
- end
- }
- ,
- Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- --[[
- local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- ]]
- end
- }
- ,
- 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 = "http://www.roblox.com/asset/?id="..id, Parent = par or workspace})
- wait()
- S:play()
- game:GetService("Debris"):AddItem(S, 6)
- 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
- }
- }
- ---------------
- --[Functions]--
- ---------------
- so = function(id, par, vol, pit)
- CFuncs.Sound.Create(id, par, vol, pit)
- end
- function weld(parent,part0,part1,c0)
- local weld=it("Weld")
- weld.Parent=parent
- weld.Part0=part0
- weld.Part1=part1
- weld.C0=c0
- return weld
- end
- function motor(parent,part0,part1,c0)
- local weld=it("Motor6D")
- weld.Parent=parent
- weld.Part0=part0
- weld.Part1=part1
- weld.C0=c0
- return weld
- end
- local TargetMode1 = "nil"
- local SelectedTarget1 = nil
- local SelectedTargetParent1 = nil
- function lockon_OnOff ()
- coroutine.resume(coroutine.create(function()
- --[[
- local NewParticleH = Instance.new("Attachment",eye)
- NewParticleH.Position = Vector3.new(0,0,.25)
- coroutine.resume(coroutine.create(function()
- local CrystalMainColor = Color3.new(0,1,0)
- ]]
- --[[
- local NewParticle = Particle2_1:Clone()
- NewParticle.Parent = NewParticleH
- NewParticle.Enabled = true
- NewParticle.Texture = "rbxassetid://68942583"
- NewParticle.Acceleration = Vector3.new(0,0,0)
- NewParticle.Speed = NumberRange.new(0)
- NewParticle.LockedToPart = true
- NewParticle.ZOffset = .25
- NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.5),NumberSequenceKeypoint.new(1,0)})
- NewParticle.Rate = 50
- NewParticle.Color = ColorSequence.new(CrystalMainColor, CrystalMainColor)
- NewParticle.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,.9)})
- NewParticle.Name = "XEF"
- --]]
- end))
- while ZT == true do
- SetTween(imgl,{Rotation=imgl.Rotation+45.5},"Quad","InOut",1.5/2)
- if ZTfade==true then
- SetTween(imgl,{ImageTransparency=.9},"Elastic","Out",3/2)
- SetTween(crosshair,{Size = UDim2.new(10,0,10,0)},"Elastic","Out",1.5/2)
- end
- wait(1.5/2)
- if ZTfade==true then
- SetTween(imgl,{ImageTransparency=.5},"Linear","InOut",0)
- SetTween(crosshair,{Size = UDim2.new(9,0,9,0)},"Elastic","InOut",0)
- end
- SelectedTarget1 = crosshair.Adornee
- if SelectedTarget1 ~= nil and SelectedTarget1.Parent.Parent == SelectedTargetParent1 then
- TargetMode1 = "FoundTarget"
- else --if SelectedTarget1.Parent.Parent ~= SelectedTargetParent1 then
- TargetMode1 = "nil"
- ZT = false
- --[[ elseif crosshair.Enabled == true and SelectedTarget1 == nil then
- ZT = false
- TargetMode1 = "nil" --]]
- end
- wait()
- end
- TargetMode1 = "nil"
- crosshair.Adornee = nil
- crosshair.Enabled = false
- SelectedTarget1 = nil
- SelectedTargetParent1 = nil
- --NewParticleH:Destroy()
- end
- function lockon (targetted)
- if ZT == true then
- coroutine.resume(coroutine.create(function()
- SelectedTargetParent1= targetted.Parent
- crosshair.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
- print(SelectedTargetParent1.Name)
- crosshair.Enabled = true
- ZTfade = false
- SetTween(imgl,{ImageTransparency=1},"Linear","InOut",0)
- SetTween(crosshair,{Size = UDim2.new(40,0,40,0)},"Linear","InOut",0)
- wait()
- SetTween(imgl,{ImageTransparency=.9},"Bounce","Out",2)
- SetTween(crosshair,{Size = UDim2.new(10,0,10,0)},"Elastic","InOut",1)
- wait(1)
- ZTfade = true
- end))
- end
- end
- --helmet = EffectPack.MeshPart:Clone()
- --helmet.Parent = Character
- --helmetweld = weld(Head,helmet,Head,CF(0,-.5,0))
- rayCast = function(Pos, Dir, Max, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- function SetTween(SPart,CFr,MoveStyle2,outorin2,AnimTime)
- local MoveStyle = Enum.EasingStyle[MoveStyle2]
- local outorin = Enum.EasingDirection[outorin2]
- local dahspeed=1
- if attack == true and mememode == true then
- dahspeed=5
- end
- if SPart.Name=="Bullet" then
- dahspeed=1
- end
- local tweeningInformation = TweenInfo.new(
- AnimTime/dahspeed,
- MoveStyle,
- outorin,
- 0,
- false,
- 0
- )
- local MoveCF = CFr
- local tweenanim = TweenService:Create(SPart,tweeningInformation,MoveCF)
- tweenanim:Play()
- end
- function GatherAllInstances(Parent,ig)
- local Instances = {}
- local Ignore=nil
- if ig ~= nil then
- Ignore = ig
- end
- local function GatherInstances(Parent,Ignore)
- for i, v in pairs(Parent:GetChildren()) do
- if v ~= Ignore then
- GatherInstances(v,Ignore)
- table.insert(Instances, v) end
- end
- end
- GatherInstances(Parent,Ignore)
- return Instances
- end
- function ReplaceWelds(Extra)
- for i, v3 in pairs(GatherAllInstances(Extra)) do
- if v3:isA("Weld") and not v3:isA("Motor6D") then
- local replacedweld = Instance.new("Motor6D",v3.Parent)
- replacedweld.Parent = v3.Parent
- replacedweld.C0 = v3.C0
- replacedweld.C1 = v3.C1
- replacedweld.Part0 = v3.Part0
- replacedweld.Part1 = v3.Part1
- replacedweld.Name = v3.Name
- v3:Destroy() end
- end
- end
- function WeldAllTo(Part1,Part2,Extra)
- local EXCF = Part2.CFrame * Extra
- for i, v3 in pairs(GatherAllInstances(Part2)) do
- if v3:isA("BasePart") then
- local STW=weld(v3,v3,Part1,EXCF:toObjectSpace(v3.CFrame):inverse() )
- v3.Anchored=false
- --v3.Transparency=0
- v3.CanCollide=false
- v3.Parent = Part1
- end
- end
- Part2:Destroy()
- end
- function AddStoneTexture(part)
- coroutine.resume(coroutine.create(function()
- for i = 0,6,1 do
- local Tx = SToneTexture:Clone()
- Tx.Face = i
- Tx.Parent=part
- end
- end))
- end
- 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 Tran(Num)
- local GivenLeter = ""
- if Num == "1" then
- GivenLeter = "a"
- elseif Num == "2" then
- GivenLeter = "b"
- elseif Num == "3" then
- GivenLeter = "c"
- elseif Num == "4" then
- GivenLeter = "d"
- elseif Num == "5" then
- GivenLeter = "e"
- elseif Num == "6" then
- GivenLeter = "f"
- elseif Num == "7" then
- GivenLeter = "g"
- elseif Num == "8" then
- GivenLeter = "h"
- elseif Num == "9" then
- GivenLeter = "i"
- elseif Num == "10" then
- GivenLeter = "j"
- elseif Num == "11" then
- GivenLeter = "k"
- elseif Num == "12" then
- GivenLeter = "l"
- elseif Num == "13" then
- GivenLeter = "m"
- elseif Num == "14" then
- GivenLeter = "n"
- elseif Num == "15" then
- GivenLeter = "o"
- elseif Num == "16" then
- GivenLeter = "p"
- elseif Num == "17" then
- GivenLeter = "q"
- elseif Num == "18" then
- GivenLeter = "r"
- elseif Num == "19" then
- GivenLeter = "s"
- elseif Num == "20" then
- GivenLeter = "t"
- elseif Num == "21" then
- GivenLeter = "u"
- elseif Num == "22" then
- GivenLeter = "v"
- elseif Num == "23" then
- GivenLeter = "w"
- elseif Num == "24" then
- GivenLeter = "x"
- elseif Num == "25" then
- GivenLeter = "y"
- elseif Num == "26" then
- GivenLeter = "z"
- elseif Num == "27" then
- GivenLeter = "_"
- elseif Num == "28" then
- GivenLeter = "0"
- elseif Num == "29" then
- GivenLeter = "1"
- elseif Num == "30" then
- GivenLeter = "2"
- elseif Num == "31" then
- GivenLeter = "3"
- elseif Num == "32" then
- GivenLeter = "4"
- elseif Num == "33" then
- GivenLeter = "5"
- elseif Num == "34" then
- GivenLeter = "6"
- elseif Num == "35" then
- GivenLeter = "7"
- elseif Num == "36" then
- GivenLeter = "8"
- elseif Num == "37" then
- GivenLeter = "9"
- end
- return GivenLeter
- end
- function MaybeOk(Mode,Extra)
- local ReturningValue = ""
- if Mode == 1 then
- -- v.C0 = CFrame.new(1,1,1)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
- --print(v.C0)
- local GivenText = ""
- local msg = Extra
- local Txt = ""
- local FoundTime=0
- local LastFound = 0
- delay(wait(0),function()
- for v3 = 1, #msg do
- if string.sub(msg,0+v3,v3) == "," then
- local TheN = string.sub(msg,LastFound,v3-1)
- local NumTranslate = Tran(string.sub(msg,LastFound,v3-1))
- FoundTime = FoundTime + 1
- GivenText = GivenText..NumTranslate
- LastFound=v3+1
- Txt=""
- end
- Txt=string.sub(msg,1,v3)
- -- Gui.ExtentsOffset = Vector3.new(0,3,0)
- -- Gui.ExtentsOffset = Vector3.new(0,3,0)
- wait()
- -- Gui.ExtentsOffset = Vector3.new(0,3,0)
- end;
- ReturningValue=GivenText
- for v3 = 1, #Txt do
- Txt=string.sub(msg,-1,v3)
- end;
- -- Gui:remove()
- end)
- elseif Mode == 2 then
- print("fat")
- end
- while ReturningValue == "" do wait() end
- return ReturningValue
- end
- function CreateMesh2(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 CreatePart2(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 S = IT("Sound")
- function CreateSound2(ID, PARENT, VOLUME, PITCH, DOESLOOP)
- --[[
- local NEWSOUND = nil
- coroutine.resume(coroutine.create(function()
- NEWSOUND = S:Clone()
- NEWSOUND.Parent = PARENT
- NEWSOUND.Volume = VOLUME
- NEWSOUND.Pitch = PITCH
- NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
- NEWSOUND:play()
- if DOESLOOP == true then
- NEWSOUND.Looped = true
- else
- repeat wait(1) until NEWSOUND.Playing == false
- NEWSOUND:remove()
- end
- end))
- return NEWSOUND
- ]]
- end
- function 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(1,1,1))
- 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 = CreatePart2(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 = CreateSound2(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
- end
- EFFECT.Color = COLOR
- local MSH = nil
- if TYPE == "Sphere" then
- MSH = CreateMesh2("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
- elseif TYPE == "Cylinder" then
- MSH = CreateMesh2("SpecialMesh", EFFECT, "Cylinder", "", "", SIZE, VT(0,0,0))
- elseif TYPE == "Block" then
- MSH = IT("BlockMesh",EFFECT)
- MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
- elseif TYPE == "Cube" then
- MSH = IT("BlockMesh",EFFECT)
- MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
- elseif TYPE == "Wave" then
- MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
- elseif TYPE == "Ring" then
- MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
- elseif TYPE == "Slash" then
- MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
- elseif TYPE == "Round Slash" then
- MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
- elseif TYPE == "Swirl" then
- MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
- elseif TYPE == "Skull" then
- MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
- elseif TYPE == "Crystal" then
- MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
- elseif TYPE == "Crown" then
- MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "173770780", "", 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
- SetTween(EFFECT,{CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear","InOut",TIME/60)
- else
- SetTween(EFFECT,{CFrame = CFRAME},"Linear","InOut",0)
- end
- wait()
- SetTween(EFFECT,{Transparency = EFFECT.Transparency - TRANS},"Linear","InOut",TIME/60)
- if TYPE == "Block" then
- SetTween(EFFECT,{CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear","InOut",0)
- else
- SetTween(EFFECT,{CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))},"Linear","InOut",0)
- end
- if MOVEDIRECTION ~= nil then
- local ORI = EFFECT.Orientation
- SetTween(EFFECT,{CFrame=CF(MOVEDIRECTION)},"Linear","InOut",TIME/60)
- SetTween(EFFECT,{Orientation=ORI},"Linear","InOut",TIME/60)
- end
- MSH.Scale = MSH.Scale - GROWTH/TIME
- SetTween(MSH,{Scale=ENDSIZE},"Linear","InOut",TIME/60)
- if TYPE == "Wave" then
- SetTween(MSH,{Offset=VT(0,0,-MSH.Scale.X/8)},"Linear","InOut",TIME/60)
- end
- for LOOP = 1, TIME+1 do
- wait(.05)
- --SetTween(EFFECT,{Transparency = EFFECT.Transparency - TRANS/TIME},"Linear","InOut",0)
- if TYPE == "Block" then
- -- SetTween(EFFECT,{CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear","InOut",0)
- else
- -- SetTween(EFFECT,{CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))},"Linear","InOut",0)
- end
- if MOVEDIRECTION ~= nil then
- local ORI = EFFECT.Orientation
- -- SetTween(EFFECT,{CFrame=CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)},"Linear","InOut",0)
- -- SetTween(EFFECT,{Orientation=ORI},"Linear","InOut",0)
- end
- end
- game:GetService("Debris"):AddItem(EFFECT, 15)
- if PLAYSSOUND == false then
- EFFECT:remove()
- else
- SOUND.Stopped:Connect(function()
- EFFECT:remove()
- end)
- end
- else
- if PLAYSSOUND == false then
- EFFECT:remove()
- else
- repeat wait() until SOUND.Playing == false
- EFFECT:remove()
- end
- end
- end))
- end
- ----------------------
- --[End Of Functions]--
- ----------------------
- ------------------
- --[Gun]--
- ------------------
- function CreatePart( 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
- ------------------
- --[End of Gun]--
- ------------------
- ---------------
- --[Particles]--
- ---------------
- ----------------------
- --[End Of Particles]--
- ----------------------
- -----------------
- Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
- if hit.Parent == nil then
- return
- end
- local h = hit.Parent:FindFirstChildOfClass("Humanoid")
- for _,v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- if h.Health > 0.0001 then
- h = v else end
- end
- end
- if h == nil then
- return
- elseif h ~= nil and h.Health < 0.001 then
- return
- elseif h ~= nil and h.Parent:FindFirstChild("Fly away") then
- return
- end
- --gg
- --local FoundTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
- coroutine.resume(coroutine.create(function()
- if h.Health >9999999 and minim <9999 and Type~= "IgnoreType" and(h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")) and not h.Parent:FindFirstChild("Fly away")then
- local FATag = Instance.new("Model",h.Parent)
- FATag.Name = "Fly away"
- game:GetService("Debris"):AddItem(FATag, 2.5)
- for _,v in pairs(h.Parent:children()) do
- if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
- v.Anchored=true
- end
- end
- wait(.25)
- if h.Parent:FindFirstChildOfClass("Body Colors")then
- h.Parent:FindFirstChildOfClass("Body Colors"):Destroy()
- end
- local FoundTorso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")
- coroutine.resume(coroutine.create(function()
- local YourGone = Instance.new("Part")
- YourGone.Reflectance = 0
- YourGone.Transparency = 1
- YourGone.CanCollide = false
- YourGone.Locked = true
- YourGone.Anchored=true
- YourGone.BrickColor = BrickColor.new("Really blue")
- YourGone.Name = "YourGone"
- YourGone.Size = Vector3.new()
- YourGone.Material = "SmoothPlastic"
- YourGone:BreakJoints()
- YourGone.Parent = FoundTorso
- YourGone.CFrame = FoundTorso.CFrame
- local NewParticle = Instance.new("ParticleEmitter")
- NewParticle.Parent = YourGone
- NewParticle.Acceleration = Vector3.new(0,0,0)
- NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10),NumberSequenceKeypoint.new(1,.0)})
- NewParticle.Color = ColorSequence.new(Color3.new (1,0,0), Color3.new (1, 0, 0))
- NewParticle.Lifetime = NumberRange.new(0.55,0.95)
- NewParticle.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.25,.0),NumberSequenceKeypoint.new(1,1)})
- NewParticle.Speed = NumberRange.new(0,0.0)
- NewParticle.ZOffset = 2
- NewParticle.Texture = "rbxassetid://243660364"
- NewParticle.RotSpeed = NumberRange.new(-0,0)
- NewParticle.Rotation = NumberRange.new(-180,180)
- NewParticle.Enabled = false
- game:GetService("Debris"):AddItem(YourGone, 3)
- for i = 0,2,1 do
- NewParticle:Emit(1)
- so("1448044156", FoundTorso,2, 1)
- h.Parent:BreakJoints()
- YourGone.CFrame = FoundTorso.CFrame
- for _,v in pairs(h.Parent:children()) do
- if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
- v.Anchored=false
- -- v.Material = "Neon"
- --v.BrickColor = BrickColor.new("Really red")
- if v:FindFirstChildOfClass("SpecialMesh")then
- --v:Destroy()
- end
- if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
- -- v:Destroy()
- end
- local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
- vp.Parent = v
- game:GetService("Debris"):AddItem(vp, math.random(50,100)/1000)
- end
- end
- wait(.2)
- end
- wait(.1)
- NewParticle:Emit(3)
- so("1448044156", FoundTorso,2, .8)
- h.Parent:BreakJoints()
- YourGone.CFrame = FoundTorso.CFrame
- for _,v in pairs(h.Parent:children()) do
- if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
- v.Anchored=false
- -- v.Material = "Neon"
- --v.BrickColor = BrickColor.new("Really red")
- if v:FindFirstChildOfClass("SpecialMesh")then
- --v:Destroy()
- end
- if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
- -- v:Destroy()
- end
- local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
- vp.Parent = v
- game:GetService("Debris"):AddItem(vp, math.random(100,200)/1000)
- end
- end
- end))
- wait(.1)
- end
- end))
- if h ~= nil and hit.Parent ~= Character and hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") ~= nil then
- if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
- return
- end
- local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
- game:GetService("Debris"):AddItem(c, 0.5)
- if HitSound ~= nil and HitPitch ~= nil then
- so(HitSound, hit, 1, HitPitch)
- end
- local Damage = math.random(minim, maxim)
- local blocked = false
- local block = hit.Parent:findFirstChild("Block")
- if block ~= nil and block.className == "IntValue" and block.Value > 0 then
- blocked = true
- block.Value = block.Value - 1
- print(block.Value)
- end
- if blocked == false then
- h.Health = h.Health - Damage
- ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 2.5, Color3.new(0,0,0))
- else
- h.Health = h.Health - Damage / 2
- ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 2.5, Color3.new(0,0,0))
- end
- if Type == "Knockdown" then
- local hum = h
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- wait(.2)
- HHumanoid.PlatformStand = false
- end
- ), hum)
- local FoundTorso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")
- local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
- local bodvol = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,FoundTorso.Position).lookVector * knockback, Parent = hit})
- local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 50, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
- game:GetService("Debris"):AddItem(bodvol, .2)
- game:GetService("Debris"):AddItem(rl, 0.2)
- elseif Type == "Knockdown2" then
- local hum = h
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- Combo = 1 wait(.2)
- HHumanoid.PlatformStand = false
- end
- ), hum)
- local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
- local bodvol = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,Property.Position).lookVector * knockback})
- local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 50, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
- game:GetService("Debris"):AddItem(bodvol, 0.2)
- game:GetService("Debris"):AddItem(rl, 0.2)
- local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 60, 0), P = 5000, maxForce = Vector3.new(8000, 12000, 8000), Parent = RootPart})
- game:GetService("Debris"):AddItem(bodyVelocity2, 0.1)
- elseif Type == "Normal" then
- local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,Property.Position).lookVector * knockback})
- if knockback > 0 then
- local HTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
- vp.Parent = HTorso
- end
- game:GetService("Debris"):AddItem(vp, 0.25)
- elseif Type== "Instakill" then
- coroutine.resume(coroutine.create(function()
- if (h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")) and not h.Parent:FindFirstChild("Fly away")then
- local FATag = Instance.new("Model",h.Parent)
- FATag.Name = "Fly away"
- game:GetService("Debris"):AddItem(FATag, 2.5)
- for _,v in pairs(h.Parent:children()) do
- if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
- v.Anchored=true
- end
- end
- wait(.25)
- if h.Parent:FindFirstChildOfClass("Body Colors")then
- h.Parent:FindFirstChildOfClass("Body Colors"):Destroy()
- end
- local FoundTorso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")
- coroutine.resume(coroutine.create(function()
- local YourGone = Instance.new("Part")
- YourGone.Reflectance = 0
- YourGone.Transparency = 1
- YourGone.CanCollide = false
- YourGone.Locked = true
- YourGone.Anchored=true
- YourGone.BrickColor = BrickColor.new("Really blue")
- YourGone.Name = "YourGone"
- YourGone.Size = Vector3.new()
- YourGone.Material = "SmoothPlastic"
- YourGone:BreakJoints()
- YourGone.Parent = FoundTorso
- YourGone.CFrame = FoundTorso.CFrame
- local NewParticle = Instance.new("ParticleEmitter")
- NewParticle.Parent = YourGone
- NewParticle.Acceleration = Vector3.new(0,0,0)
- NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10),NumberSequenceKeypoint.new(1,.0)})
- NewParticle.Color = ColorSequence.new(Color3.new (1,0,0), Color3.new (1, 0, 0))
- NewParticle.Lifetime = NumberRange.new(0.55,0.95)
- NewParticle.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.25,.0),NumberSequenceKeypoint.new(1,1)})
- NewParticle.Speed = NumberRange.new(0,0.0)
- NewParticle.ZOffset = 2
- NewParticle.Texture = "rbxassetid://243660364"
- NewParticle.RotSpeed = NumberRange.new(-0,0)
- NewParticle.Rotation = NumberRange.new(-180,180)
- NewParticle.Enabled = false
- game:GetService("Debris"):AddItem(YourGone, 3)
- for i = 0,2,1 do
- NewParticle:Emit(1)
- so("1448044156", FoundTorso,2, 1)
- h.Parent:BreakJoints()
- YourGone.CFrame = FoundTorso.CFrame
- for _,v in pairs(h.Parent:children()) do
- if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
- v.Anchored=false
- -- v.Material = "Neon"
- --v.BrickColor = BrickColor.new("Really red")
- if v:FindFirstChildOfClass("SpecialMesh")then
- --v:Destroy()
- end
- if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
- -- v:Destroy()
- end
- local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
- vp.Parent = v
- game:GetService("Debris"):AddItem(vp, math.random(50,100)/1000)
- end
- end
- wait(.2)
- end
- wait(.1)
- NewParticle:Emit(3)
- so("1448044156", FoundTorso,2, .8)
- h.Parent:BreakJoints()
- YourGone.CFrame = FoundTorso.CFrame
- for _,v in pairs(h.Parent:children()) do
- if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
- v.Anchored=false
- -- v.Material = "Neon"
- --v.BrickColor = BrickColor.new("Really red")
- if v:FindFirstChildOfClass("SpecialMesh")then
- --v:Destroy()
- end
- if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
- -- v:Destroy()
- end
- local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
- vp.Parent = v
- game:GetService("Debris"):AddItem(vp, math.random(100,200)/1000)
- end
- end
- end))
- wait(.1)
- end
- end))
- elseif Type == "HPSteal" then
- Humanoid.Health = Humanoid.Health + Damage
- local hum = h
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- Combo = 1 wait(.2)
- HHumanoid.PlatformStand = false
- end
- ), hum)
- local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
- local bodvol = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,Property.Position).lookVector * knockback})
- local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 50, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
- game:GetService("Debris"):AddItem(bodvol, 0.2)
- game:GetService("Debris"):AddItem(rl, 0.2)
- local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 60, 0), P = 5000, maxForce = Vector3.new(8000, 12000, 8000), Parent = RootPart})
- game:GetService("Debris"):AddItem(bodyVelocity2, 0.1)
- elseif Type == "Impale" then
- CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", Spike, .8, 2)
- hit.Parent.Humanoid.PlatformStand = true
- wait(1)
- hit.Parent.Humanoid.PlatformStand = false
- elseif Type == "IgnoreType" then
- elseif Type == "Up" then
- local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
- game:GetService("Debris"):AddItem(bodyVelocity, 0.1)
- local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
- game:GetService("Debris"):AddItem(bodyVelocity, .1)
- elseif Type == "Snare" then
- local bp = Create("BodyPosition")({P = 900, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = (h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso"))})
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Freeze2" then
- local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
- local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
- hit.Parent.Torso.Anchored = true
- coroutine.resume(coroutine.create(function(Part)
- wait(1.5)
- Part.Anchored = false
- end
- ), hit.Parent.Torso)
- game:GetService("Debris"):AddItem(BodPos, 3)
- game:GetService("Debris"):AddItem(BodGy, 3)
- end
- local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
- game:GetService("Debris"):AddItem(debounce, Delay)
- c = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = Player
- c.Parent = h
- game:GetService("Debris"):AddItem(c, 0.5)
- end
- end
- ShowDamage = function(Pos, Text, Time, Color)
- local Rate = 0.033333333333333
- if not Pos then
- local Pos = Vector3.new(0, 0, 0)
- end
- local Text = Text or ""
- local Time = Time or 2
- if not Color then
- local Color = Color3.new(1, 0, 1)
- end
- local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
- EffectPart.Anchored = true
- local BillboardGui = Create("BillboardGui")({Size = UDim2.new(2, 0, 2, 0), Adornee = EffectPart, Parent = EffectPart})
- local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = "DMG: "..Text.."", TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
- game.Debris:AddItem(EffectPart, Time + 0.1)
- EffectPart.Parent = game:GetService("Workspace")
- delay(0, function()
- local Frames = Time / Rate
- print(Frames)
- TextLabel.TextTransparency=0
- EffectPart.CFrame=CFrame.new(Pos)
- wait()
- SetTween(TextLabel,{TextTransparency=1},"Quad","In",Frames/60)
- SetTween(TextLabel,{Rotation=math.random(-25,25)},"Elastic","InOut",Frames/60)
- SetTween(TextLabel,{TextColor3=Color3.new(1,0,0)},"Elastic","InOut",Frames/60)
- SetTween(EffectPart,{CFrame = CFrame.new(Pos) + Vector3.new(math.random(-5,5), math.random(1,5), math.random(-5,5))},"Linear","InOut",Frames/60)
- wait(Frames/60)
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end
- )
- end
- MagniDamage = function(Part, magni, mindam, maxdam, knock, Type2)
- local Type=""
- if mememode == true then
- Type= "Instakill"
- else
- Type=Type2
- end
- if Type2 == "NormalKnockdown" then
- Type= "Knockdown"
- end
- for _,c in pairs(workspace:children()) do
- local hum = c:FindFirstChild("Humanoid")
- for _,v in pairs(c:children()) do
- if v:IsA("Humanoid") then
- hum = v
- end
- end
- if hum ~= nil then
- local head = c:findFirstChild("Head")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if mag <= magni and c.Name ~= Player.Name then
- Damagefunc(Part, head, mindam, maxdam, knock, Type, RootPart, 0.1, "851453784", 1.2)
- end
- end
- end
- end
- end
- function CFMagniDamage(HTCF,magni, mindam, maxdam, knock, Type)
- local DGP = Instance.new("Part")
- DGP.Parent = Character
- DGP.Size = Vector3.new(0.05, 0.05, 0.05)
- DGP.Transparency = 1
- DGP.CanCollide = false
- DGP.Anchored = true
- RemoveOutlines(DGP)
- DGP.Position=DGP.Position + Vector3.new(0,-.1,0)
- DGP.CFrame = HTCF
- coroutine.resume(coroutine.create(function()
- MagniDamage(DGP, magni, mindam, maxdam, knock, Type)
- end))
- game:GetService("Debris"):AddItem(DGP, .05)
- DGP.Archivable = false
- end
- function Reflect(direction, normal)
- return direction - 2 * normal:Dot(direction) * normal
- end
- function ProjectileDmg(MinDmg1,MaxDmg1,Lookpos1,Lookray1,Aura1,Type,Partf)
- if Lookray1 ~= nil and Lookray1.Parent:FindFirstChildOfClass("Humanoid") then
- coroutine.resume(coroutine.create(function()
- Damagefunc(Partf, Lookray1, MinDmg1, MaxDmg1, MinDmg1, Type, RootPart, 0.1, "851453784", 1.2) end))
- else
- CFMagniDamage(CF(Lookpos1),Aura1, MinDmg1, MaxDmg1, MinDmg1, Type)
- end
- end
- function BulletHitEffectSpawn(EffectCF,EffectName)
- local MainEffectHolder=Instance.new("Part",Effects)
- MainEffectHolder.Reflectance = 0
- MainEffectHolder.Transparency = 1
- MainEffectHolder.CanCollide = false
- MainEffectHolder.Locked = true
- MainEffectHolder.Anchored=true
- MainEffectHolder.BrickColor = BrickColor.new("Bright green")
- MainEffectHolder.Name = "Bullet"
- MainEffectHolder.Size = Vector3.new(.05,.05,.05)
- MainEffectHolder.Material = "Neon"
- MainEffectHolder:BreakJoints()
- MainEffectHolder.CFrame = EffectCF
- local EffectAttach=Instance.new("Attachment",MainEffectHolder)
- game:GetService("Debris"):AddItem(MainEffectHolder, 10)
- if EffectName == "Smoke1" then
- EffectAttach.Orientation = Vector3.new(90,0,0)
- --local SpawnedParticle = EffectPack.Effect1:Clone()
- SpawnedParticle.Parent = MainEffectHolder
- SpawnedParticle:Emit(100)
- game:GetService("Debris"):AddItem(MainEffectHolder, .5)
- end
- if EffectName == "Smoke2" then
- EffectAttach.Orientation = Vector3.new(90,0,0)
- --local SpawnedParticle = EffectPack.Fog:Clone()
- SpawnedParticle.Parent = MainEffectHolder
- SpawnedParticle:Emit(100)
- game:GetService("Debris"):AddItem(MainEffectHolder, .75)
- end
- if EffectName == "Smash1" then
- EffectAttach.Orientation = Vector3.new(90,0,0)
- --local SpawnedParticle = EffectPack.Smash1:Clone()
- -- SpawnedParticle.Parent = MainEffectHolder
- -- SpawnedParticle:Emit(10)
- game:GetService("Debris"):AddItem(MainEffectHolder, .75)
- end
- if EffectName == "Smash2" then
- EffectAttach.Orientation = Vector3.new(90,0,0)
- --local SpawnedParticle = EffectPack.Smash2:Clone()
- -- SpawnedParticle.Parent = MainEffectHolder
- -- SpawnedParticle:Emit(1)
- game:GetService("Debris"):AddItem(MainEffectHolder, .5)
- end
- if EffectName == "Explode" then
- EffectAttach.Orientation = Vector3.new(90,0,0)
- -- local SpawnedParticle1 = EffectPack.Explode_Fire_Effect:Clone()
- -- SpawnedParticle1.Parent = MainEffectHolder
- -- SpawnedParticle1:Emit(50)
- -- local SpawnedParticle2 = EffectPack.Explode_Smoke2_Effect:Clone()
- -- SpawnedParticle2.Parent = MainEffectHolder
- -- SpawnedParticle2:Emit(25)
- --
- -- local SpawnedParticle3 = EffectPack.Explode_Smoke_Effect:Clone()
- -- SpawnedParticle3.Parent = MainEffectHolder
- -- SpawnedParticle3:Emit(85)
- game:GetService("Debris"):AddItem(MainEffectHolder, 2)
- end
- end
- function SpawnBullet(CFpos,BForce,DForce,waight,Stone,ExtraTable)
- coroutine.resume(coroutine.create(function()
- local Bscale = 2
- local dahspeed=0
- local IsHoming = (ExtraTable.Homing or false)
- local NoGrav = (ExtraTable.NoGrav or 0)
- local BounceIs=(ExtraTable.Bounce or false)
- local BounceTimes=(ExtraTable.BounceTimes or 0)
- local tail=(ExtraTable.tail or nil)
- local BounceHitEF=(ExtraTable.BounceHitEffect or "")
- local HitEF=(ExtraTable.HitEffect or "")
- -------------------------------------------------
- -- custom part
- -------------------------------------------------
- if Stone.Ragdoll:FindFirstChild("Missile") and IsHoming == false then
- Stone.Ragdoll:FindFirstChild("Missile"):Destroy()
- SetTween(Stone.Ragdoll,{Transparency=0},"Quad","InOut",.25)
- end
- -------------------------------------------------
- -- custom end
- -------------------------------------------------
- BounceTimes=BounceTimes-1
- if BounceIs == true and BounceTimes < .5 then
- BounceIs=false
- end
- if BounceIs == true and BForce < 5.5 then
- BounceIs=false
- end
- if attack == true and mememode == true then
- dahspeed=3
- end --/dahspeed
- local speed = BForce
- local grav = waight
- local stoptime=0
- local Dampingforce = 0
- game:GetService("Debris"):AddItem(Stone, 30)
- -- local tilt=angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5)))
- Stone.CFrame=CFpos
- local hitthing=nil
- swait()
- if IsHoming == true then
- end
- for i = 0,200 do
- if Stone.Parent ~= Effects then
- hitthing = workspace
- end
- local gravfix=IsHoming
- if gravfix == true and i<25 then
- gravfix=false
- end
- if gravfix == false and NoGrav == 0 then
- if Dampingforce < .99 then
- stoptime = stoptime + 1/10
- elseif Dampingforce > .99 then
- Dampingforce=.99
- end
- end
- Dampingforce = stoptime/DForce
- if hitthing == nil then
- local possave = Stone.Position
- local cfsave = Stone.CFrame
- local Lookray,Lookpos,test1 = rayCast(Stone.Position, Stone.CFrame.lookVector, ((speed-(speed*Dampingforce))+grav*Dampingforce)*2, Character)
- local spikep1=Stone.Position-Stone.CFrame.lookVector*-((speed-(speed*Dampingforce))+-grav*Dampingforce )
- local spikep2=Lookpos
- if Lookray ~= nil then
- hitthing=Lookray
- coroutine.resume(coroutine.create(function()
- -- onTouch(Stone,5,Lookray)
- end))
- local slookv1=Stone.CFrame.LookVector
- local slookv2=Stone.CFrame.RightVector
- local slookv3=Stone.CFrame.UpVector
- if BounceIs == false then
- wait()
- -------------------------------------------------
- -- custom part
- -------------------------------------------------
- if Stone.Ragdoll:FindFirstChild("Missile") then
- SetTween(Stone.Ragdoll.ragjoint,{C0=cn(0,0,0)*angles(math.rad(90),0,0)},"Elastic","Out",1.0)
- so(187259655,Stone,5,1)
- BulletHitEffectSpawn(CF(Lookpos,Lookpos+test1),"Explode")
- for i = 1, 10 do
- local Color = Lookray.BrickColor
- local Materials = Lookray.Material
- local groundpart = CFuncs.Part.Create( Effects, "SmoothPlastic", 0, 0, Color, "Ground", Vector3.new(math.random(50, 100) / 200, math.random(50, 100) / 200, math.random(50, 100) / 200))
- groundpart.Anchored = false
- groundpart.Material = Materials
- groundpart.CanCollide = true
- groundpart.Friction = 0.1
- groundpart.Velocity = Vector3.new(math.random(-50, 50), math.random(25, 50), math.random(-50, 50))
- groundpart.CFrame = CF(Lookpos,Lookpos+test1) * cn(math.random(-250, 250) / 100, 0.5, math.random(-250, 250) / 100) * CFrame.Angles(math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)))
- game:GetService("Debris"):AddItem(groundpart, 5)
- coroutine.resume(coroutine.create(function()
- wait(math.random(350, 400)/100)
- groundpart.CanCollide = false
- end))
- end
- for i = 1, 10 do
- local Color = Lookray.BrickColor
- local Materials = Lookray.Material
- local groundpart = CFuncs.Part.Create( Effects, "SmoothPlastic", 0, 0, Color, "Ground", Vector3.new(math.random(25, 50) / 200, math.random(25, 50) / 200, math.random(25, 50) / 200))
- groundpart.Anchored = false
- groundpart.Material = Materials
- groundpart.CanCollide = true
- groundpart.Friction = 0.1
- groundpart.Velocity = Vector3.new(math.random(-50, 50), math.random(25, 50), math.random(-50, 50))
- groundpart.CFrame = CF(Lookpos,Lookpos+test1) * cn(math.random(-250, 250) / 100, 0.5, math.random(-250, 250) / 100) * CFrame.Angles(math.rad(math.random(-50, 50)), math.rad(math.random(-50, 50)),math.rad( math.random(-50, 50)))
- game:GetService("Debris"):AddItem(groundpart, 5)
- coroutine.resume(coroutine.create(function()
- wait(math.random(350, 400)/100)
- groundpart.CanCollide = false
- end))
- end
- ProjectileDmg(60,75,Lookpos,nil,15,"Knockdown",Stone)
- SetTween(Stone,{CFrame=cn(Lookpos,Lookpos+cfsave.LookVector)*angles(0,0,0)},"Elastic","Out",1)
- coroutine.resume(coroutine.create(function()
- Stone.Ragdoll:FindFirstChild("Missile")["Rocket Thrust Loop"]:Stop()
- end))
- if BounceIs == false then
- if Stone.Ragdoll:FindFirstChild("Missile") then
- for i, v3 in pairs(GatherAllInstances(Stone.Ragdoll:FindFirstChild("Missile"))) do
- if v3:IsA("ParticleEmitter") then
- v3.Enabled = false
- end
- end
- SetTween(Stone.Ragdoll:FindFirstChild("Missile"),{Transparency=1},"Quad","Out",1)
- game:GetService("Debris"):AddItem(Stone.Ragdoll:FindFirstChild("Missile"), 2)
- end
- end
- else
- SetTween(Stone,{CFrame=cn(spikep2,spikep1)*angles(0,0,0)},"Elastic","Out",1.0)
- BulletHitEffectSpawn(CF(Lookpos,Lookpos+test1),"Smoke2")
- SetTween(Stone.Ragdoll.ragjoint,{C0=cn(0,0,0)*angles(math.rad(90),0,0)},"Elastic","Out",1.0)
- so(138080614,Stone,3,1)
- ProjectileDmg(20,25,Lookpos,Lookray,8,"Knockdown",Stone)
- end
- -------------------------------------------------
- -- custom end
- -------------------------------------------------
- SetTween(Stone,{Transparency=1},"Elastic","InOut",1.5)
- else
- -------------------------------------------------
- -- custom part
- -------------------------------------------------
- SetTween(Stone.Ragdoll.ragjoint,{C0=cn(0,0,0)*angles(math.rad(0),0,0)},"Elastic","Out",0.0)
- so(545219984,Stone,2,1)
- ProjectileDmg(10,20,Lookpos,Lookray,5,"Normal",Stone)
- -------------------------------------------------
- -- custom end
- -------------------------------------------------
- BulletHitEffectSpawn(CF(Lookpos,Lookpos+test1),"Smoke1")
- local slookv=Stone.CFrame.lookVector
- Stone.CFrame=cn(Lookpos,Lookpos+Stone.Position)*angles(0,math.rad(0),0)
- end
- swait()
- if BounceIs == true then
- --warn("----------")
- --print((speed-(speed*Dampingforce))+grav*Dampingforce)
- --warn("----------")
- --Reflect(slookv1,test1)
- local nextspeed = ((speed-(speed*Dampingforce))+grav*Dampingforce)/1.25
- if NoGrav == 1 then
- NoGrav=0
- nextspeed=speed
- end
- swait()
- local BounceDirPos = CF( possave,Lookpos+test1 ).lookVector
- SpawnBullet( CF(Stone.CFrame.p,Lookpos+Reflect(slookv1,test1)) ,nextspeed ,DForce,waight,Stone,{Bounce=true,NoGrav=NoGrav,BounceTimes=BounceTimes,tail = tail})
- end
- break
- else
- -------------------------------------------------
- -- custom part
- -------------------------------------------------
- if IsHoming == false and NoGrav == 0 then
- SetTween(Stone.Ragdoll.ragjoint,{C0=Stone.Ragdoll.ragjoint.C0*angles(math.rad(-20),0,0)},"Linear","Out",.05)
- else
- SetTween(Stone.Ragdoll.ragjoint,{C0=cn(0,0,0)*angles(math.rad(-90),0,0)},"Elastic","Out",1.0)
- end
- -------------------------------------------------
- -- custom end
- -------------------------------------------------
- if TargetMode1=="nil" or ZT==false then
- IsHoming = false
- end
- if IsHoming == false then
- if NoGrav ~= 0 then
- Dampingforce = 0 end
- SetTween(Stone,{CFrame= cf(Stone.CFrame.p, (Stone.CFrame*cn(0,0,-speed)).p+Vector3.new(0,-grav*Dampingforce,0) )*cn(0,0,-(speed-(speed*Dampingforce))+-grav*Dampingforce ) },"Linear","InOut",.1)
- else
- if i>25 then
- Dampingforce = 0
- coroutine.resume(coroutine.create(function()
- local mag = (Stone.CFrame.p*VT(1,0,1)-SelectedTarget1.CFrame.p*VT(1,0,1)).magnitude
- local forceDown = 0
- local HightMag = (Stone.CFrame.p*VT(0,1,0)-SelectedTarget1.CFrame.p*VT(0,1,0)).magnitude
- if mag < (DForce*1+(HightMag))/1.5 then
- IsHoming = false
- NoGrav = 1
- end
- if IsHoming == true then
- SetTween(Stone,{CFrame= cf(Stone.CFrame.p, Stone.CFrame.p+(CF(Stone.CFrame.p*VT(1,0,1),SelectedTarget1.CFrame.p*VT(1,0,1) ).lookVector ) )*cn(0,0,-speed*2 ) },"Linear","InOut",.2)
- else
- SetTween(Stone,{CFrame= cf(Stone.CFrame.p, Stone.CFrame.p+(CF(Stone.CFrame.p*VT(1,1,1),SelectedTarget1.CFrame.p*VT(1,1,1) ).lookVector ) )*cn(0,0,-speed/2 ) },"Linear","InOut",0)
- end
- end))
- else
- SetTween(Stone,{CFrame= cf(Stone.CFrame.p, (Stone.CFrame*cn(0,0,-speed)).p+Vector3.new(0,-grav*Dampingforce,0) )*cn(0,0,-(speed-(speed*Dampingforce))+-grav*Dampingforce ) },"Linear","InOut",.1)
- end
- end
- end
- --print(-(speed-(speed*Dampingforce)) )
- swait()
- end
- end
- if BounceIs == false then
- coroutine.resume(coroutine.create(function()
- if tail ~= nil then
- tail:Destroy()
- end
- end))
- wait(2)
- Stone:Destroy()
- end
- if hitthing == workspace or hitthing == nil then
- Stone:Destroy() end
- end))
- end
- -----------------
- --[[
- for i, v in pairs(C:GetChildren()) do
- if v:IsA("Accessory")then
- v:Destroy()
- end
- if v:IsA("BasePart")then
- v.Transparency =1
- if v.Name == "Head" then
- v:FindFirstChildOfClass("Decal"):Destroy()
- end
- end
- end--]]
- --[[
- local tweeningInformation = TweenInfo.new(
- 0.5,
- Enum.EasingStyle.Back,
- Enum.EasingDirection.Out,
- 0,
- false,
- 0
- )
- --]]
- local RJW=weld(RJ.Parent,RJ.Part0,RJ.Part1,RJ.C0)
- RJW.C1 = RJ.C1
- RJW.Name = RJ.Name
- local NeckW=weld(Neck.Parent,Neck.Part0,Neck.Part1,Neck.C0)
- NeckW.C1 = Neck.C1
- NeckW.Name = Neck.Name
- --print(WRJ.Parent.Name)
- local RW=weld(Torso,Torso,RightArm,cf(0,0,0))
- local LW=weld(Torso,Torso,LeftArm,cf(0,0,0))
- local RH=weld(Torso,Torso,RightLeg,cf(0,0,0))
- local LH=weld(Torso,Torso,LeftLeg,cf(0,0,0))
- RW.C1 = cn(0, 0.5, 0)
- LW.C1 = cn(0, 0.5, 0)
- RH.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
- LH.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
- --------
- --(#Torso)
- SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)},"Quad","InOut",0.1)
- --------
- --(#Head)
- SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)},"Quad","InOut",0.1)
- --------
- --(#Right Arm)
- SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)},"Quad","InOut",0.1)
- --------
- --(#Left Arm)
- SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)},"Quad","InOut",0.1)
- --------
- --(#Right Leg)
- SetTween(RH,{C0=CFrame.new(.5, -0.90, 0)},"Quad","InOut",0.1)
- --------
- --(#Left Leg)
- SetTween(LH,{C0=CFrame.new(-.5, -0.90, 0)},"Quad","InOut",0.1)
- --[[
- SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
- SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
- SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
- SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
- SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
- SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
- --]]
- function Attack1()
- local Stone=Instance.new("Part",Effects)
- Stone.Reflectance = 0
- Stone.Transparency = 1
- Stone.CanCollide = false
- Stone.Locked = true
- Stone.Anchored=true
- Stone.BrickColor = BrickColor.new("Bright green")
- Stone.Name = "Bullet"
- Stone.Size = Vector3.new(1.05,1.05,1.05)
- Stone.Material = "Neon"
- Stone:BreakJoints()
- Stone.CFrame = CF(Head.CFrame.p,Target.p)
- local StoneTrail=Instance.new("Trail",Stone)
- --local noob = EffectPack.Ragdoll:Clone()
- --noob.Parent = Effects
- --local fatjoint = EffectPack.ragjoint:Clone()
- --fatjoint.Parent = noob
- --fatjoint.Part0=Stone
- --fatjoint.Part1=noob
- --noob.Parent = Stone
- --Stone:SetNetworkOwner(Player)
- local Attach1 = Instance.new("Attachment",noob)
- local Attach2 = Instance.new("Attachment",noob)
- Attach2.Position = Vector3.new(0,0,1.5)
- Attach1.Position = Vector3.new(0,0,-1.5)
- StoneTrail.Attachment0 = Attach1
- StoneTrail.Attachment1 = Attach2
- StoneTrail.Texture = "rbxassetid://1251856844"
- StoneTrail.Lifetime = .1
- StoneTrail.MaxLength = 0
- StoneTrail.MinLength = 0
- StoneTrail.TextureMode= "Static"
- StoneTrail.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,.8),NumberSequenceKeypoint.new(1,1)})
- StoneTrail.WidthScale=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
- StoneTrail.LightEmission=0
- StoneTrail.Color = ColorSequence.new(Color3.new(255/255,255/255,255/255),Color3.new(255/255,255/255,255/255))
- StoneTrail.LightEmission = .5
- StoneTrail.FaceCamera=true
- wait()
- SpawnBullet(CF(Head.CFrame.p,Target.p),15,2000,0,Stone,{Bounce=true,NoGrav=2,BounceTimes=50,tail = StoneTrail,BounceHitEffect = "SmashRing",HitEffect = "Smash" })
- end
- local hitwait = false
- local isUsingHammer = false
- local CataWeld = nil
- function Attack2()
- --if not Character:FindFirstChild("catapult") then
- --local Catapult = EffectPack.catapult:Clone()
- --ReplaceWelds(Catapult)
- --CataWeld = motor(Catapult,Catapult.Frame.mid,Catapult.MovingPart.mid,CF(0,0,0))
- --Catapult.Parent = Character
- --Catapult.Frame.mid.CFrame = RootPart.CFrame * CF(4,2.8,0)
- --Catapult.Frame.mid.Anchored = true
- coroutine.resume(coroutine.create(function()
- local cfsave = Catapult.Frame.mid.CFrame
- while CataWeld ~= nil and Character:FindFirstChild("catapult") do
- if TargetMode1=="nil" or ZT==false then
- SetTween(Catapult.Frame.mid,{CFrame=CF(cfsave.p*VT(1,0,1),Target.p*VT(1,0,1))*CF(0,cfsave.p.Y,0) },"Quad","Out",.5)
- else
- coroutine.resume(coroutine.create(function()
- SetTween(Catapult.Frame.mid,{CFrame=CF(cfsave.p*VT(1,0,1),SelectedTarget1.CFrame.p*VT(1,0,1))*CF(0,cfsave.p.Y,0) },"Quad","Out",.5)
- end))
- end
- wait(.1)
- end
- end))
- coroutine.resume(coroutine.create(function()
- -- local noob = EffectPack.Aim:Clone()
- --noob.Parent = Effects
- local updownaim = 0
- --noob.CFrame = Catapult.Frame.mid.CFrame*CF(0,7+-math.cos(updownaim)*2,1+math.sin(updownaim/2)*4)*angles(0,0,0)
- --SetTween(noob,{Transparency=.75},"Quad","InOut",1)
- while CataWeld ~= nil and Character:FindFirstChild("catapult") do
- updownaim = updownaim + .2
- coroutine.resume(coroutine.create(function()
- SetTween(noob,{CFrame=Catapult.Frame.mid.CFrame*CF(0,7+-math.cos(updownaim)*2,1+math.sin(updownaim/2)*4)*angles(0,0,0)},"Linear","Out",.1)
- --print("StillOut")
- if isUsingHammer == true then
- swait()
- noob.Anchored = false
- noob.Velocity = VT()
- end
- swait()
- noob.Anchored = true
- noob.Velocity = VT()
- end))
- swait()
- swait()
- if not Effects:FindFirstChild("Aim") then
- if hitwait == true then
- while hitwait == true do
- wait(.1)
- end
- noob = EffectPack.Aim:Clone()
- noob.Parent = Effects
- noob.CFrame = Catapult.Frame.mid.CFrame*CF(0,7+-math.cos(updownaim)*2,1+math.sin(updownaim/2)*4)*angles(0,0,0)
- SetTween(noob,{Transparency=.75},"Quad","InOut",1)
- end
- end
- end
- noob:Destroy()
- end))
- --else
- CataWeld=nil
- Character:FindFirstChild("catapult"):Destroy()
- isUsingHammer = false
- hitwait = false
- --end
- end
- function Attack3()
- if CataWeld ~= nil and Character:FindFirstChild("catapult") then
- for i, v3 in pairs(GatherAllInstances(Character:FindFirstChild("catapult"))) do
- if v3:IsA("ParticleEmitter") then
- v3.Enabled = true
- end
- end
- isUsingHammer = true
- so(219401534,Character:FindFirstChild("catapult").MovingPart.Thruster,3,1)
- SetTween(CataWeld,{C0=angles(math.rad(-85),0,0)},"Quad","In",.2)
- ------------------------------------------------------------------------------------------------------------
- local onehitonly = true
- local function onTouch(part)
- print(part.Name)
- if part.Name == "Aim" and onehitonly == true then
- onehitonly = false
- hitwait = true
- warn("Hit!")
- local CFsave1 = part.CFrame.p
- local CFsave2 = Character:FindFirstChild("catapult").MovingPart.HammerBack.CFrame.p
- part:Destroy()
- coroutine.resume(coroutine.create(function()
- local Stone=Instance.new("Part",Effects)
- Stone.Reflectance = 0
- Stone.Transparency = 1
- Stone.CanCollide = false
- Stone.Locked = true
- Stone.Anchored=true
- Stone.BrickColor = BrickColor.new("Bright green")
- Stone.Name = "Bullet"
- Stone.Size = Vector3.new(1.05,1.05,1.05)
- Stone.Material = "Neon"
- Stone:BreakJoints()
- Stone.CFrame = CF(CFsave2,CFsave1)
- local StoneTrail=Instance.new("Trail",Stone)
- local noob = EffectPack.Ragdoll:Clone()
- noob.Parent = Effects
- noob.Transparency = 1
- SetTween(noob,{Transparency=0},"Quad","InOut",.25)
- local fatjoint = EffectPack.ragjoint:Clone()
- fatjoint.Parent = noob
- fatjoint.Part0=Stone
- fatjoint.Part1=noob
- noob.Parent = Stone
- --Stone:SetNetworkOwner(Player)
- local Attach1 = Instance.new("Attachment",noob)
- local Attach2 = Instance.new("Attachment",noob)
- Attach2.Position = Vector3.new(0,0,1.5)
- Attach1.Position = Vector3.new(0,0,-1.5)
- StoneTrail.Attachment0 = Attach1
- StoneTrail.Attachment1 = Attach2
- StoneTrail.Texture = "rbxassetid://1251856844"
- StoneTrail.Lifetime = .1
- StoneTrail.MaxLength = 0
- StoneTrail.MinLength = 0
- StoneTrail.TextureMode= "Static"
- coroutine.resume(coroutine.create(function()
- StoneTrail.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,1)})
- wait(.15)
- StoneTrail.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,.8),NumberSequenceKeypoint.new(1,1)})
- end))
- StoneTrail.WidthScale=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
- StoneTrail.LightEmission=0
- StoneTrail.Color = ColorSequence.new(Color3.new(255/255,255/255,255/255),Color3.new(255/255,255/255,255/255))
- StoneTrail.LightEmission = .5
- StoneTrail.FaceCamera=true
- wait()
- so(222371566,Character:FindFirstChild("catapult").MovingPart.HammerFront,3,1)
- BulletHitEffectSpawn(CF(Character:FindFirstChild("catapult").MovingPart.HammerFront.CFrame.p,CFsave2)*angles(math.rad(180),0,0),"Smash1")
- BulletHitEffectSpawn(CF(Character:FindFirstChild("catapult").MovingPart.HammerFront.CFrame.p,CFsave2),"Smash2")
- SpawnBullet(CF(CFsave2,CFsave1),12.5,20,12.5,Stone,{Homing=true,Bounce=true,BounceTimes=5,tail = StoneTrail,BounceHitEffect = "SmashRing",HitEffect = "Smash" })
- end))
- end
- end
- local hammerhit = Character:FindFirstChild("catapult").MovingPart.Noob.Touched:connect(onTouch)
- ------------------------------------------------------------------------------------------------------------
- wait(.2)
- for i, v3 in pairs(GatherAllInstances(Character:FindFirstChild("catapult"))) do
- if v3:IsA("ParticleEmitter") then
- v3.Enabled = false
- end
- end
- wait(.2)
- hammerhit:disconnect()
- isUsingHammer = false
- hitwait = false
- SetTween(CataWeld,{C0=angles(math.rad(-0),0,0)},"Bounce","Out",1)
- end
- end
- function Attack4()
- local Stone=Instance.new("Part",Effects)
- Stone.Reflectance = 0
- Stone.Transparency = 1
- Stone.CanCollide = false
- Stone.Locked = true
- Stone.Anchored=true
- Stone.BrickColor = BrickColor.new("Bright green")
- Stone.Name = "Bullet"
- Stone.Size = Vector3.new(1.05,1.05,1.05)
- Stone.Material = "Neon"
- Stone:BreakJoints()
- Stone.CFrame = CF(Head.CFrame.p,Target.p)
- local StoneTrail=Instance.new("Trail",Stone)
- local noob = EffectPack.Ragdoll:Clone()
- noob.Parent = Effects
- noob.Transparency = 1
- local fatjoint = EffectPack.ragjoint:Clone()
- fatjoint.Parent = noob
- fatjoint.Part0=Stone
- fatjoint.Part1=noob
- noob.Parent = Stone
- --Stone:SetNetworkOwner(Player)
- local Attach1 = Instance.new("Attachment",noob)
- local Attach2 = Instance.new("Attachment",noob)
- Attach2.Position = Vector3.new(0,0,1.5)
- Attach1.Position = Vector3.new(0,0,-1.5)
- StoneTrail.Attachment0 = Attach1
- StoneTrail.Attachment1 = Attach2
- StoneTrail.Texture = "rbxassetid://1251856844"
- StoneTrail.Lifetime = .1
- StoneTrail.MaxLength = 0
- StoneTrail.MinLength = 0
- StoneTrail.TextureMode= "Static"
- StoneTrail.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,.8),NumberSequenceKeypoint.new(1,1)})
- StoneTrail.WidthScale=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
- StoneTrail.LightEmission=0
- StoneTrail.Color = ColorSequence.new(Color3.new(255/255,255/255,255/255),Color3.new(255/255,255/255,255/255))
- StoneTrail.LightEmission = .5
- StoneTrail.FaceCamera=true
- local Missile = EffectPack.Missile:Clone()
- for i, v3 in pairs(GatherAllInstances(Missile)) do
- if v3:IsA("ParticleEmitter") then
- v3.Enabled = true
- end
- end
- local fatjoint2 = EffectPack.ragjoint:Clone()
- fatjoint2.Name = "MissileJoint"
- fatjoint2.Parent = Missile
- fatjoint2.Part0=Stone
- fatjoint2.Part1=Missile
- Missile.Parent = noob
- coroutine.resume(coroutine.create(function()
- Missile["Rocket Thrust Loop"]:Play()
- end))
- if mememode == false then
- if math.random(1,30) == 1 then
- so(347713881,Missile,8,1)
- else
- so(509177476,Missile,4,1)
- end
- else
- so(347713881,Missile,6,1)
- end
- wait()
- SpawnBullet(CF(Head.CFrame.p,Target.p),12.5,20,12.5,Stone,{Homing=true,Bounce=false,BounceTimes=1,tail = StoneTrail,BounceHitEffect = "SmashRing",HitEffect = "Smash" })
- end
- function Attack5()
- if MTARGET.Parent:FindFirstChildOfClass("Humanoid") then
- if ZT == false then
- ZT = true
- lockon_OnOff()
- lockon(MTARGET.Parent)
- end
- if ZT == true then
- lockon(MTARGET.Parent)
- end
- else
- if ZT == true then
- ZT = false end
- --lockon(MTARGET)
- end
- end
- function Attack6()
- for i, v in pairs(GatherAllInstances(Effects)) do
- if v.Name == "Zombie" then
- v.Parent:Destroy()
- end
- end
- end
- function ClickCombo()
- if Anim == "Fall" or Anim == "Jump" then
- if Combo == 0 then
- --DownAT()
- end
- else
- if Combo == 0 then
- AT1()
- Combo = 1
- elseif Combo == 1 then
- AT2()
- Combo = 2
- elseif Combo == 2 then
- AT3()
- Combo = 0
- end
- end
- end
- local Hold = false
- Button1DownF=function()
- end
- Button1UpF=function()
- if Hold==true then
- Hold = false
- end
- end
- KeyUpF=function(key)
- end
- KeyDownF=function(key)
- if key == "z" and attack == false then
- Attack1()
- end
- if key == "x" and attack == false then
- Attack2()
- end
- if key == "c" and attack == false and isUsingHammer == false then
- Attack3()
- end
- if key == "v" and attack == false then
- Attack4()
- end
- if key == "f" and attack == false then
- Attack5()
- end
- if key == "g" and attack == false then
- --Attack6()
- end
- if key == "t" and attack == false then
- --Tuant()
- end
- if key == "p" and attack == false and Player.Name=="123jl123" then
- if mememode == false then
- mememode=true
- --so("1499015636", Character,3, 1)
- lastid= "http://www.roblox.com/asset/?id=1033438052"
- lastsongpos = 0
- s2.TimePosition = lastsongpos
- else
- mememode=false
- CurId=CurId-1
- KeyDownF("n")
- end
- end
- if key == "0" then
- if isruning == false then
- isruning=true
- end
- end
- if key == "m" then
- if playsong == true then
- playsong = false
- s2:stop()
- elseif playsong == false then
- playsong = true
- s2:play()
- end
- end
- if key == "n" and mememode == false then
- CurId = CurId + 1
- if CurId > 7 then
- CurId = 1
- end
- warn("now playing song Nr"..CurId)
- if CurId == 1 then
- lastid= "http://www.roblox.com/asset/?id=2677904658"
- elseif CurId == 2 then
- lastid= "http://www.roblox.com/asset/?id=2662923013"
- elseif CurId == 3 then
- lastid= "http://www.roblox.com/asset/?id=2662841570"
- elseif CurId == 4 then
- lastid= "http://www.roblox.com/asset/?id=2677907201"
- elseif CurId == 5 then
- lastid= "http://www.roblox.com/asset/?id=2650469795"
- elseif CurId == 6 then
- lastid= "http://www.roblox.com/asset/?id=2650468875"
- elseif CurId == 7 then
- lastid= "http://www.roblox.com/asset/?id=1494393623"
- end
- lastsongpos = 0
- s2.TimePosition = lastsongpos
- end
- end
- coroutine.resume(coroutine.create(function()
- while Humanoid.Health>0.001 do
- sine = sine + change
- hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
- local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velderp = RootPart.Velocity.y
- if RootPart.Velocity.y > 1 and hitfloor == nil then
- Anim = "Jump"
- elseif RootPart.Velocity.y < -1 and hitfloor == nil then
- Anim = "Fall"
- elseif Humanoid.Sit == true then
- Anim = "Sit"
- elseif torvel < 1 and hitfloor ~= nil then
- Anim = "Idle"
- elseif torvel > 2 and hitfloor ~= nil then
- Anim = "Walk"
- else
- Anim = ""
- end
- local Ccf=RootPart.CFrame
- --warn(Humanoid.MoveDirection*RootPart.CFrame.lookVector)
- local Walktest1 = workspace[PNAME].Humanoid.MoveDirection*Ccf.LookVector
- local Walktest2 = workspace[PNAME].Humanoid.MoveDirection*Ccf.RightVector
- --warn(Walktest1.Z.."/"..Walktest1.X)
- --warn(Walktest2.Z.."/"..Walktest2.X)
- forWFB = Walktest1.X+Walktest1.Z
- forWRL = Walktest2.X+Walktest2.Z
- --print(Humanoid.MoveDirection)
- --warn(Torso.CFrame.lookVector)
- coroutine.resume(coroutine.create(function()
- if s2.Parent == nil or s2 == nil then
- s2 = s2c:Clone()
- s2.Parent = Torso
- s2.Name = "BGMusic"
- -- s2.SoundId = lastid
- s2.Pitch = 1
- s2.Volume = 1.5
- s2.Looped = true
- s2.archivable = false
- s2.TimePosition = lastsongpos
- if playsong == true then
- s2:play()
- elseif playsong == false then
- s2:stop()
- end
- else
- lastsongpos=s2.TimePosition
- s2.Pitch = 1
- s2.Volume = 1.5
- s2.Looped = true
- s2.SoundId = lastid
- s2.EmitterSize = 30
- end
- end))
- inairvel=torvel*1
- --forWRL
- if inairvel > 30 then
- inairvel=30
- end
- inairvel=inairvel/50*2
- if attack == false then
- if Anim == "Jump" then
- change = 0.60*2
- SetTween(RJW,{C0=RootCF* cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(-6.5 - 1.5 * math.cos(sine / 8))+(inairvel*forWFB)/2, math.rad(0)-(inairvel*forWRL)/2, math.rad(0))},"Quad","Out",0.25)
- SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(-26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0))},"Quad","Out",0.25)
- SetTween(RW,{C0=cf(1.4 + .05 * math.cos(sine / 8) , 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(140 - 2 * math.cos(sine / 8 )), math.rad(-5), math.rad(8 + 4 * math.cos(sine / 8)))},"Quad","Out",0.2)
- SetTween(LW,{C0=cf(-1.4 + .05 * math.cos(sine / 8), 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(140 - 2 * math.cos(sine / 8 )), math.rad(5), math.rad(-8 - 4 * math.cos(sine / 8 )))},"Quad","Out",0.2)
- SetTween(RH,{C0=CFrame.new(.5, -0.85+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0))},"Quad","InOut",0.075)
- SetTween(LH,{C0=CFrame.new(-.5, -0.35+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0))},"Quad","InOut",0.075)
- elseif Anim == "Fall" then
- change = 0.60*2
- SetTween(RJW,{C0=RootCF*cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.5 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(5.5 - 1.5 * math.cos(sine / 8))-(inairvel*forWFB)/2, math.rad(0)+(inairvel*forWRL)/2, math.rad(0))},"Quad","Out",0.35)
- SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0))},"Quad","Out",0.25)
- SetTween(RW,{C0=cf(1.4 + .05 * math.cos(sine / 8) , 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(105 - 2 * math.cos(sine / 8 )), math.rad(-15), math.rad(80 + 4 * math.cos(sine / 8)))},"Quad","Out",0.2)
- SetTween(LW,{C0=cf(-1.4 + .05 * math.cos(sine / 8), 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(105 - 2 * math.cos(sine / 8 )), math.rad(15), math.rad(-80 - 4 * math.cos(sine / 8 )))},"Quad","Out",0.2)
- SetTween(RH,{C0=CFrame.new(.5, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
- SetTween(LH,{C0=CFrame.new(-.5, -0.55+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-0 +1* math.cos(sine / 10)),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
- elseif Anim == "Idle" then
- local dahspeed=1
- if attack == true and mememode == true then
- dahspeed=5
- end
- change = (0.60*2)*dahspeed
- Humanoid.JumpPower = 60
- Humanoid.WalkSpeed=16
- local ADNum = .5
- SetTween(RJW,{C0=RootCF*cn(0, 0, -0.08 + 0.08 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) * angles(math.rad(0 - 1 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(20))},"Quad","InOut",0.1)
- SetTween(NeckW,{C0=NeckCF*angles(math.rad(13.5 - 1.5 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(2.5-5.5 * math.cos(sine / 16)), math.rad(-20 - 6.5 * math.cos(sine / 15 +.4* math.cos(sine / 10))))},"Quad","InOut",0.1)
- SetTween(RW,{C0=cf(1.45 + .0 * math.cos(sine / 8) , 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(0 - 2 * math.cos(sine / 8 )), math.rad(-5), math.rad(13 + 4 * math.cos(sine / 8)))},"Quad","Out",0.2)
- SetTween(LW,{C0=cf(-1.35 + .0 * math.cos(sine / 8), 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(150 - 2 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(15+ 6.5 * math.cos(sine / 15 +.4* math.cos(sine / 10))), math.rad(26 - 0 * math.cos(sine / 8 )))},"Quad","Out",0.2)
- SetTween(RH,{C0=CFrame.new(.5, -0.92- .08 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), -.2) * CFrame.Angles(math.rad(-2 - 1 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.1)
- SetTween(LH,{C0=CFrame.new(-.5, -0.92- .08 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), -.2) * CFrame.Angles(math.rad(-2 - 1 * math.cos(sine / 8)),math.rad(20),math.rad(-2.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.1)
- elseif Anim == "Walk" then
- local speed=1
- if mememode == true then
- speed=4
- end
- change = 2.6*speed
- Humanoid.JumpPower = 60*speed
- Humanoid.WalkSpeed=16*speed
- local RH2 = cf(-forWRL/7 * math.cos(sine / 8 ),0,forWFB/7 * math.cos(sine / 8 ))*angles((math.sin(-forWFB)*1.1) * math.cos(sine / 8 ),0,(math.sin(-forWRL)*1.1) * math.cos(sine / 8 ))
- local LH2 = cf(forWRL/7 * math.cos(sine / 8 ),0,-forWFB/7 * math.cos(sine / 8 ))*angles((math.sin(forWFB)*1.1) * math.cos(sine / 8 ) ,0,(math.sin(forWRL)*1.1) * math.cos(sine / 8 ))
- SetTween(RJW,{C0=RootCF*CFrame.new( 0 , 0 , -0.185 + 0.055 * math.cos(sine / 4 ) + -math.sin(sine / 4 ) / 8 ) * angles(math.rad( 10 +(forWFB - forWFB* 2 * math.cos(sine / 4 ))* 10 ), math.rad(((forWFB* math.cos(sine / 8 ))* 5 )+(-forWRL - -forWRL * math.cos(sine / 4 ))* 5 ) , math.rad( 8 * math.cos(sine / 8 )))},"Linear","InOut",WalkAnimMove/speed)
- SetTween(NeckW,{C0=NeckCF*CFrame.new( 0 , 0 , 0 + 0.025 * math.cos(sine / 4 )) * angles(math.rad((-forWFB - -forWFB * math.cos(sine / 4 ))* 8 ), math.rad((forWRL - forWRL * math.cos(sine / 4 ))* 5 ), math.rad(-forWRL* 45 +- 8 * math.cos(sine / 8 )))},"Linear","InOut",WalkAnimMove/speed)
- SetTween(RW,{C0=cf( 1.45 + .0 * math.cos(sine / 8 ) , 0.65 + forWRL/ 50 * math.cos(sine / 8 ), 0 ) * angles(math.rad( 0 + forWFB* 25 * math.cos(sine / 8 )), math.rad( 0 ), math.rad( 28 + forWRL* 5 * math.cos(sine / 8 )))},"Quad","Out",WalkAnimMove/speed)
- SetTween(LW,{C0=cf( -1.45 + .0 * math.cos(sine / 8 ), 0.65 + forWRL/ 50 * math.cos(sine / 8 ), 0 ) * angles(math.rad( 0 - forWFB* 25 * math.cos(sine / 8 )), math.rad( 0 ), math.rad( -28 - forWRL* 5 * math.cos(sine / 8 )))},"Quad","Out",WalkAnimMove/speed)
- SetTween(RH,{C0=CFrame.new( .5 , -0.75 + .35 * math.sin(sine / 8 ), -.15 + .15 * math.cos(sine / 8 ))*RH2 * CFrame.Angles(math.rad( 10 - 5 * math.cos(sine / 8 )),math.rad( 0 ),math.rad( 2.5 - 0.0 * math.cos(sine / 8 )))},"Quad","InOut",WalkAnimMove/speed)
- SetTween(LH,{C0=CFrame.new( -.5 , -0.75 - .35 * math.sin(sine / 8 ), -.15 - .15 * math.cos(sine / 8 ))*LH2 * CFrame.Angles(math.rad( 10 + 5 * math.cos(sine / 8 )),math.rad( 0 ),math.rad( -2.5 - 0.0 * math.cos(sine / 8 )))},"Quad","InOut",WalkAnimMove/speed)
- elseif Anim == "Sit" then
- SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
- SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
- SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
- SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
- SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
- SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
- end
- end
- swait(Animstep)
- end
- end))
- coroutine.resume(coroutine.create(function()
- local remote = Instance.new 'RemoteFunction';
- remote.Parent = Character;
- remote.OnServerInvoke = function (player, request, ...)
- if (player ~= Player) then
- return error ('You cannot invoke this remote', 0);
- end;
- if (request == 1) then
- local k = ...;
- KeyDownF(k)
- end;
- if (request == 2) then
- local k = ...;
- KeyUpF(k)
- end;
- if (request == 3) then
- local k = ...;
- if k == "Down" then
- Button1DownF(k)
- elseif k == "Up" then
- Button1UpF(k)
- end
- end;
- if (request == 4) then
- local k=...;
- MTARGET=k
- end
- if (request == 5) then
- local k=...;
- Target=k
- end
- end;
- remote.Name = 'ServerRemote';
- --local remote = NLS ([=[
- local localscript = script.Keys
- localscript.Name = Player.Name
- localscript.Parent = Character
- --]=], Player.Character)
- end))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement