Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --------------------------This is an Official script from Duelist--------------------------
- ---{-------------------- -------------------}---
- ---{-------------------- / \ -------------------}---
- ---{-------------------- II -------------------}---
- ---{-------------------- II -------------------}---
- ---{-------------------- II -------------------}---
- ---{-------------------- A========A -------------------}---
- ---{-------------------- II -------------------}---
- ---{-------------------- II -------------------}---
- ---{-------------------- W -------------------}---
- -------------------------------------------------------------------------------------------------------------
- --This is a localscript; you will need to have access to using scripts wherever you want this
- p = game:GetService('Players').LocalPlayer if p.Character then if p.Character:FindFirstChild('Humanoid') then p.Character.Humanoid.MaxHealth = math.huge end end
- HUMANOID = game.Workspace:WaitForChild(plr.Name)
- NEWPART = Instance.new("BillboardGui",HUMANOID.Head)
- NEWTEXT = Instance.new("TextLabel",NEWPART)
- NEWTEXT.Text = plr.Name
- NEWPART.ExtentsOffset = Vector3.new(0,3,0)
- NEWPART.Size = UDim2.new(1,1,1,1)
- NEWTEXT.Size = UDim2.new(5,0,1,1)
- NEWTEXT.TextScaled = true
- NEWTEXT.BackgroundTransparency = 1
- NEWTEXT.Position = UDim2.new(-2,0,-0.5,0)
- NEWPART.AlwaysOnTop = true
- --i used stravants Beautifier so it might look a bit wonky
- Meshes = {
- Blast = '20329976',
- Crown = '1323306',
- Ring = '3270017',
- Claw = '10681506',
- Crystal = '9756362',
- Coil = '9753878',
- Cloud = '1095708',
- }
- clangsounds = {
- '199149119',
- '199149109',
- '199149072',
- '199149025',
- '199148971'
- }
- hitsounds = {
- '199149137',
- '199149186',
- '199149221',
- '199149235',
- '199149269',
- '199149297'
- }
- blocksounds = {
- '199148933',
- '199148947'
- }
- armorsounds = {
- '199149321',
- '199149338',
- '199149367',
- '199149409',
- '199149452'
- }
- woosh = {
- Heavy1 = '320557353',
- Heavy2 = '320557382',
- Heavy3 = '320557453',
- Heavy4 = '199144226',
- Heavy5 = '203691447',
- Heavy6 = '203691467',
- Heavy7 = '203691492',
- Light1 = '320557413',
- Light2 = '320557487',
- Light3 = '199145095',
- Light4 = '199145146',
- Light5 = '199145887',
- Light6 = '199145913',
- Light7 = '199145841',
- Medium1 = '320557518',
- Medium2 = '320557537',
- Medium3 = '320557563',
- Medium4 = '199145204'
- }
- music = {--i like music a lot
- Breaking = '179281636',
- FinalReckoning = '357375770',
- NotDeadYet = '346175829',
- Intense = '151514610',
- JumpP1 = '160536628',
- JumpP2 = '60536666',
- SonsOfWar = '158929777',
- WrathOfSea = '165520893',
- ProtecTorsofEarth = '160542922',
- SkyTitans = '179282324',
- ArchAngel = '144043274',
- Anticipation = '168614529',
- TheMartyred = '186849544',
- AwakeP1 = '335631255',
- AwakeP2 = '335631297',
- ReadyAimFireP1 = '342455387',
- ReadyAimFireP2 = '342455399',
- DarkLordP1 = '209567483',
- DarkLordP2 = '209567529',
- BloodDrainP1 = '162914123',
- BloodDrainP2 = '162914203',
- DanceOfSwords = '320473062',
- Opal = '286415112',
- Calamity = '190454307',
- Hypnotica = '155968128',
- Nemisis = '160453802',
- Breathe = '276963903',
- GateToTheRift = '270655227',
- InfernalBeserking = '244143404',
- Trust = '246184492',
- AwakeningTheProject = '245121821',
- BloodPain = '242545577',
- Chaos = '247241693',
- NightmareFictionHighStake = '248062278',
- TheWhiteWeapon = '247236446',
- Gale = '256851659',
- ImperialCode = '256848383',
- Blitzkrieg = '306431437',
- RhapsodyRage = '348690251',
- TheGodFist = '348541501',
- BattleForSoul = '321185592',
- TheDarkColossus = '305976780',
- EmpireOfAngels = '302580452',
- Kronos = '302205297',
- Exorcist = '299796054',
- CrimsonFlames = '297799220',
- UltimatePower = '295753229',
- DrivingInTheDark = '295753229',
- AscendToPower = '293860654',
- GodOfTheSun = '293612495',
- DarkRider = '293861765',
- Vengeance = '293375555',
- SoundOfWar = '293376196',
- HellsCrusaders = '293012202',
- Legend = '293011823',
- RisingSouls = '290524959'
- }
- misc = {
- GroundSlam = '199145477',
- LaserSlash = '199145497',
- RailGunFire = '199145534',
- Charge1 = '199145659',
- Charge2 = '169380469',
- Charge3 = '169380479',
- EmptyGun = '203691822',
- GunShoot = '203691837',
- Stomp1 = '200632875',
- Stomp2 = '200632561',
- TelsaCannonCharge = '169445572',
- TelsaCannonShoot = '169445602',
- AncientHymm = '245313442'
- }
- wait(1 / 60)
- local Player = game.Players.localPlayer
- local Character = Player.Character
- local Humanoid = Character.Humanoid
- local mouse = Player:GetMouse()
- local m = Instance.new('Model', Character)
- m.Name = "WeaponModel"
- local LeftArm = Character["Left Arm"]
- local RightArm = Character["Right Arm"]
- local LeftLeg = Character["Left Leg"]
- local RightLeg = Character["Right Leg"]
- local Head = Character.Head
- local Torso = Character.Torso
- local cam = game.Workspace.CurrentCamera
- local RootPart = Character.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- --cam.CameraSubject = Head
- local equipped = false
- local attack = false
- local Anim = 'Idle'
- local idle = 0
- local sprint = false
- local battlestance = false
- local attacktype = 1
- local state = 'none'
- local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velocity = RootPart.Velocity.y
- local sine = 0
- local change = 1
- local on = false
- local grabbed = false
- local skill1 = false
- local skill2 = false
- local skill3 = false
- local skill4 = false
- local cooldown1 = 0
- local cooldown2 = 0
- local cooldown3 = 0
- local cooldown4 = 0
- local co1 = 10--how long it will take for skill to cooldown
- local co2 = 15
- local co3 = 15
- local co4 = 25
- local inputserv = game:GetService('UserInputService')
- local typing = false
- local crit = false
- local critchance = 2--critical chance percentage
- local critdamageaddmin = 3--minimum amount of critical damage being added to regular damage
- local critdamageaddmax = 7--maximum amount
- local maxstamina = 100--max amount of stamina
- local stamina = 0--stamina you start out with
- local skill1stam = 10--how much stamina is needed for a skill
- local skill2stam = 10
- local skill3stam = 20
- local skill4stam = 30
- local recovermana = 3--how much mana per second
- local defensevalue = 1--how much defense this character has
- local speedvalue = 1--how much speed this character has
- --speed is 16*speedvalue
- local mindamage = 5--self explanatory
- local maxdamage = 7--self explanatory
- local damagevalue = 1--how much damage this character has
- --damage is math.random(mindamage,maxdamage)*damagevalue
- --damage(hit, mindamage, maxdamage, 1, 1, RootPart)
- --asd
- local cn = CFrame.new-- make things easier :)
- local mr = math.rad
- local angles = CFrame.Angles
- local ud = UDim2.new
- local c3 = Color3.new
- local skillcolorscheme = c3(1, 1, 1)--color scheme for skills lol
- --asd
- local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- Humanoid.Animator:Destroy()
- --Angles For RootJoint `~`
- local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- --Save Shoulders/Hips
- RSH, LSH = nil, nil
- RHS, LHS = nil, nil
- --Shoulders
- RW = Instance.new("Weld")
- LW = Instance.new("Weld")
- --Hips
- RH = Instance.new("Weld")
- LH = Instance.new("Weld")
- --
- Player = Player
- ch = Character
- LHS = Torso["Left Hip"]
- RHS = Torso["Right Hip"]
- RSH = ch.Torso["Right Shoulder"]
- LSH = ch.Torso["Left Shoulder"]
- --
- RSH.Parent = nil
- LSH.Parent = nil
- --
- LHS.Parent = nil
- RHS.Parent = nil
- --
- RW.Name = "RW"
- RW.Part0 = ch.Torso
- RW.C0 = cn(1.5, 0.5, 0)
- RW.C1 = cn(0, 0.5, 0)
- RW.Part1 = ch["Right Arm"]
- RW.Parent = ch.Torso
- --
- LW.Name = "LW"
- LW.Part0 = ch.Torso
- LW.C0 = cn(-1.5, 0.5, 0)
- LW.C1 = cn(0, 0.5, 0)
- LW.Part1 = ch["Left Arm"]
- LW.Parent = ch.Torso
- --
- LH.Name = "LH"
- LH.Part0 = ch.Torso
- LH.C0 = cn(-0.5, -2, 0)
- LH.Part1 = ch["Left Leg"]
- LH.Parent = ch.Torso
- --
- RH.Name = "RH"
- RH.Part0 = ch.Torso
- RH.C0 = cn(0.5, -2, 0)
- RH.Part1 = ch["Right Leg"]
- RH.Parent = ch.Torso
- local Flying = false
- game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function(jump)
- if Flying == true then
- if jump == "Jump" then
- Humanoid.Jump = false
- end
- end
- end)
- Humanoid.CameraOffset = Vector3.new(0, -2, 0)
- Torso.Transparency = 1
- Head.Transparency = 1
- LeftLeg.Transparency = 1
- RightLeg.Transparency = 1
- LeftArm.Transparency = 1
- RightArm.Transparency = 1
- for i,v in pairs (Character:GetChildren()) do
- if v.ClassName == "Hat"
- then v:Destroy()
- end
- end
- for i,v in pairs (Character.Head:GetChildren()) do
- if v.ClassName == "Decal"
- then v:Destroy()
- end
- end
- Character.Animate:Destroy()
- local scrn = Instance.new('ScreenGui')
- scrn.Parent = nil
- function makeframe(par, trans, pos, size, color)
- local frame = Instance.new('Frame', par)
- frame.BackgroundTransparency = trans
- frame.BorderSizePixel = 0
- frame.Position = pos
- frame.Size = size
- frame.BackgroundColor3 = color
- return frame
- end
- function makelabel(par, text)
- local label = Instance.new('TextLabel', par)
- label.BackgroundTransparency = 1
- label.Size = ud(1, 0, 1, 0)
- label.Position = ud(0, 0, 0, 0)
- label.TextColor3 = c3(255, 255, 255)
- label.TextStrokeTransparency = 0
- label.FontSize = Enum.FontSize.Size32
- label.Font = Enum.Font.SourceSansBold
- label.BorderSizePixel = 0
- label.TextScaled = true
- label.Text = text
- end
- framesk1 = makeframe(scrn, .5, ud(.23, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
- framesk2 = makeframe(scrn, .5, ud(.5, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
- framesk3 = makeframe(scrn, .5, ud(.5, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
- framesk4 = makeframe(scrn, .5, ud(.23, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
- bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
- bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
- bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
- bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
- text1 = makelabel(framesk1, '[3] Skill3')
- text2 = makelabel(framesk2, '[4] Skill4')
- text3 = makelabel(framesk3, "[2] Skill2")
- text4 = makelabel(framesk4, '[1] Skill1')
- staminabar = makeframe(scrn, .5, ud(.23, 0, .82, 0), ud(.26, 0, .03, 0), c3(61 / 255, 171 / 255, 1))
- staminacover = makeframe(staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(61 / 255, 171 / 255, 1))
- staminatext = makelabel(staminabar, 'Mana')
- healthbar = makeframe(scrn, .5, ud(.5, 0, .82, 0), ud(.26, 0, .03, 0), c3(1, 1, 0))
- healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 46 / 255, 49 / 255))
- healthtext = makelabel(healthbar, 'Health')
- local stats = Instance.new('Folder', Character)
- stats.Name = 'Stats'
- local block = Instance.new('BoolValue', stats)
- block.Name = 'Block'
- block.Value = false
- local stun = Instance.new('BoolValue', stats)
- stun.Name = 'Stun'
- stun.Value = false
- local defense = Instance.new('NumberValue', stats)
- defense.Name = 'Defence'
- defense.Value = defensevalue
- local speed = Instance.new('NumberValue', stats)
- speed.Name = 'Speed'
- speed.Value = speedvalue
- local damagea = Instance.new('NumberValue', stats)
- damagea.Name = 'Damage'
- damagea.Value = damagevalue
- function atktype(s, e)
- coroutine.resume(coroutine.create(function()
- attacktype = e
- wait(1.5)
- attacktype = s
- end))
- end
- function turncrit()
- coroutine.resume(coroutine.create(function()
- print'CRITICAL!'
- crit = true
- wait(.25)
- crit = false
- end))
- end
- function subtractstamina(k)
- if stamina >= k then
- stamina = stamina - k
- end
- end
- function clerp(a, b, t)
- return a:lerp(b, t)
- end
- function randomizer(percent)
- local randomized = math.random(0, 100)
- if randomized <= percent then
- return true
- elseif randomized >= percent then
- return false
- end
- end
- local RbxUtility = LoadLibrary("RbxUtility")
- local Create = RbxUtility.Create
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part"){
- formFactor = FormFactor,
- 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
- function CreateMesh(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
- function CreateWeld(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld"){
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1,
- }
- return Weld
- end
- function rayCast(pos, dir, maxl, ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(pos, dir.unit * (maxl or 999.999)), ignore)
- end
- --Effects
- function makeeffect(par, size, pos1, trans, trans1, howmuch, delay1, id, type)
- local p = Instance.new('Part', par or workspace)
- p.CFrame = pos1
- p.Anchored = true
- p.Material = 'Concrete'
- p.CanCollide = false
- p.TopSurface = 0
- p.Size = Vector3.new(1, 1, 1)
- p.BottomSurface = 0
- p.Transparency = trans
- p.FormFactor = 'Custom'
- RemoveOutlines(p)
- local mesh = Instance.new('SpecialMesh', p)
- mesh.Scale = size
- if id ~= nil and type == nil then
- mesh.MeshId = 'rbxassetid://'..id
- elseif id == nil and type ~= nil then
- mesh.MeshType = type
- elseif id == nil and type == nil then
- mesh.MeshType = 'Brick'
- end
- coroutine.wrap(function()
- for i = 0, delay1, .1 do
- wait(1 / 60)
- p.CFrame = p.CFrame
- mesh.Scale = mesh.Scale + howmuch
- p.Transparency = p.Transparency + trans1
- end
- p:Destroy()
- end)()
- return p
- end
- function clangy(cframe)
- wait(1 / 60)
- local clang = {}
- local dis = 0
- local part = Instance.new('Part', nil)
- part.CFrame = cframe
- part.Anchored = true
- part.CanCollide = false
- part.BrickColor = BrickColor.new('New Yeller')
- part.FormFactor = 'Custom'
- part.Name = 'clanger'
- part.Size = Vector3.new(.2, .2, .2)
- part.TopSurface = 10
- part.BottomSurface = 10
- part.RightSurface = 10
- part.LeftSurface = 10
- part.BackSurface = 10
- part.FrontSurface = 10
- --part.Material='Neon'
- part:BreakJoints()
- local mesh = Instance.new('BlockMesh', part)
- coroutine.wrap(function()
- for i = 1, 7 do
- wait(1 / 60)
- dis = dis + .2
- local partc = part:clone()
- partc.Parent = workspace
- partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
- partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
- table.insert(clang, partc)
- end
- for i, v in pairs(clang) do
- coroutine.wrap(function()
- for i = 1, 10 do
- wait(.01)
- v.Transparency = v.Transparency + .1
- end
- v:destroy()
- end)()
- end
- end)()
- end
- --damage effects
- function circle(color, pos1)
- local p = Instance.new('Part', m)
- p.BrickColor = BrickColor.new(color)
- p.CFrame = pos1
- p.Anchored = true
- p.Material = 'Plastic'
- p.CanCollide = false
- p.TopSurface = 0
- p.Size = Vector3.new(1, 1, 1)
- p.BottomSurface = 0
- p.Transparency = 0.35
- p.FormFactor = 'Custom'
- local mesh = Instance.new('CylinderMesh', p)
- mesh.Scale = Vector3.new(0, 0, 0)
- coroutine.wrap(function()
- for i = 0, 5, .1 do
- wait(1 / 60)
- p.CFrame = p.CFrame
- mesh.Scale = mesh.Scale + Vector3.new(.5, 0, .5)
- p.Transparency = p.Transparency + .025
- end
- p:Destroy()
- end)()
- end
- function firespaz1(color, pos1)
- local p = Instance.new('Part', m)
- p.BrickColor = BrickColor.new(color)
- p.CFrame = pos1
- p.Anchored = true
- p.Material = 'Plastic'
- p.CanCollide = false
- p.TopSurface = 0
- p.Size = Vector3.new(1, 1, 1)
- p.BottomSurface = 0
- p.Transparency = 0.5
- p.FormFactor = 'Custom'
- local mesh = Instance.new('BlockMesh', p)
- mesh.Scale = Vector3.new(1, 1, 1)
- coroutine.wrap(function()
- for i = 0, 15, .1 do
- wait(1 / 30)
- p.CFrame = p.CFrame * CFrame.new(0, .1, 0)
- mesh.Scale = mesh.Scale - Vector3.new(.1, .1, .1)
- p.Transparency = p.Transparency + .025
- end
- p:Destroy()
- end)()
- end
- function pickrandom(tablesa)
- local randomized = tablesa[math.random(1, #tablesa)]
- return randomized
- end
- function sound(id, pitch, volume, par, last)
- local s = Instance.new('Sound', par or Torso)
- s.SoundId = 'rbxassetid://'..id
- s.Pitch = pitch or 1
- s.Volume = volume or 1
- wait()
- s:play()
- game.Debris:AddItem(s, last or 120)
- end
- function clangy(cframe)
- wait(1 / 60)
- local clang = {}
- local dis = 0
- local part = Instance.new('Part', nil)
- part.CFrame = cframe
- part.Anchored = true
- part.CanCollide = false
- part.BrickColor = BrickColor.new('New Yeller')
- part.FormFactor = 'Custom'
- part.Name = 'clanger'
- part.Size = Vector3.new(.2, .2, .2)
- part.TopSurface = 10
- part.BottomSurface = 10
- part.RightSurface = 10
- part.LeftSurface = 10
- part.BackSurface = 10
- part.FrontSurface = 10
- --part.Material='Neon'
- part:BreakJoints()
- local mesh = Instance.new('BlockMesh', part)
- coroutine.wrap(function()
- for i = 1, 7 do
- wait(1 / 60)
- dis = dis + .2
- local partc = part:clone()
- partc.Parent = workspace
- partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
- partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
- table.insert(clang, partc)
- end
- for i, v in pairs(clang) do
- coroutine.wrap(function()
- for i = 1, 10 do
- wait(.01)
- v.Transparency = v.Transparency + .1
- end
- v:destroy()
- end)()
- end
- end)()
- end
- --damage effects
- --Effects
- so = function(id, par, vol, pit)
- coroutine.resume(coroutine.create(function()
- local sou = Instance.new("Sound", par or workspace)
- sou.Volume = vol
- sou.Pitch = pit or 1
- sou.SoundId = id
- wait()
- sou:play()
- game:GetService("Debris"):AddItem(sou, 6)
- end))
- end
- local function getclosest(obj, distance)
- local last, lastx = distance + 1
- for i, v in pairs(workspace:GetChildren()) do
- if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
- local t = v.Torso
- local dist = (t.Position - obj.Position).magnitude
- if dist <= distance then
- if dist < last then
- last = dist
- lastx = v
- end
- end
- end
- end
- return lastx
- end
- function makegui(cframe, text)
- local a = math.random(-10, 10) / 100
- local c = Instance.new("Part")
- c.Transparency = 1
- Instance.new("BodyGyro").Parent = c
- c.Parent = m
- c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0))
- local f = Instance.new("BodyPosition")
- f.P = 2000
- f.D = 100
- f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- f.position = c.Position + Vector3.new(0, 3, 0)
- f.Parent = c
- game:GetService("Debris"):AddItem(c, .5 + 6)
- c.CanCollide = false
- m.Parent = workspace
- c.CanCollide = false
- local bg = Instance.new('BillboardGui', m)
- bg.Adornee = c
- bg.Size = UDim2.new(1, 0, 1, 0)
- bg.StudsOffset = Vector3.new(0, 0, 0)
- bg.AlwaysOnTop = false
- local tl = Instance.new('TextLabel', bg)
- tl.BackgroundTransparency = 1
- tl.Size = UDim2.new(1, 0, 1, 0)
- tl.Text = text
- tl.Font = 'SourceSansBold'
- tl.FontSize = 'Size42'
- if crit == true then
- tl.TextColor3 = Color3.new(180 / 255, 0, 0)
- else
- tl.TextColor3 = Color3.new(255, 180 / 255, 51 / 255)
- end
- tl.TextStrokeTransparency = 0
- tl.TextScaled = true
- tl.TextWrapped = true
- coroutine.wrap(function()
- wait(2)
- for i = 1, 10 do
- wait()
- tl.TextTransparency = tl.TextTransparency + .1
- end
- end)()
- end
- function tag(hum, Player)
- local creator = Instance.new('ObjectValue', hum)
- creator.Value = Player
- creator.Name = 'creator'
- end
- function untag(hum)
- if hum ~= nil then
- local tag = hum:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- function tagPlayer(h)
- coroutine.wrap(function()
- tag(h, Player)
- wait(1)
- untag(h)
- end)()
- end
- function damage(hit, mind, maxd, knock, type, prop)
- --[[
- to apply it to a Player directly, make the first arg go to the Players Torso
- 1 - normal type(damage and knockback)
- 2 - drain type(damage no knockback)
- 3 - lifesteal(absorbs hp) crit does not have an effect on how much life is absorbed
- 4 - heal(heals target)
- 5 - subtracts enemies defense
- 6 - subtracts enemies speed
- 7 -
- ]]
- if hit.Name:lower() == 'Hitbox' then
- local pos = CFrame.new(0, 1, -1)
- sound(pickrandom(clangsounds), math.random(100, 150) / 100, 1, Torso, 6)
- coroutine.wrap(function()
- for i = 1, 4 do
- clangy(Torso.CFrame * pos * CFrame.Angles(0, math.rad(math.random(0, 360)), 0))
- end
- end)()
- end
- if hit.Parent == nil then
- return
- end
- local h = hit.Parent:FindFirstChild("Humanoid")
- for i, v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h = v
- end
- end
- if hit.Parent.Parent:FindFirstChild('Torso') ~= nil then
- h = hit.Parent.Parent:FindFirstChild('Humanoid')
- end
- if hit.Parent:IsA('Hat') then
- hit = hit.Parent.Parent:findFirstChild('Head')
- end
- local D = math.random(mind, maxd) * damagea.Value
- if h.Parent:FindFirstChild('Stats') then
- D = D / h.Parent:FindFirstChild('Stats').Defence.Value
- elseif not h.Parent:FindFirstChild('Stats') then
- D = D
- end
- if h then
- makegui(h.Parent.Head.CFrame, tostring(math.floor(D + .5)))
- end
- if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
- if type == 1 then
- tagPlayer(h)
- local asd = randomizer(critchance)
- if asd == true then
- turncrit()
- end
- if crit == false then
- h.Health = h.Health - D
- else
- h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
- end
- so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
- local vp = Instance.new('BodyVelocity')
- vp.P = 500
- vp.maxForce = Vector3.new(math.huge, 0, math.huge)
- vp.velocity = prop.CFrame.lookVector * knock + prop.Velocity / 1.05
- if knock > 0 then
- vp.Parent = hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp, .5)
- elseif type == 2 then
- so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
- local asd = randomizer(critchance)
- if asd == true then
- turncrit()
- end
- if crit == false then
- h.Health = h.Health - D
- else
- h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
- end
- tagPlayer(h)
- elseif type == 3 then
- tagPlayer(h)
- local asd = randomizer(critchance)
- if asd == true then
- turncrit()
- end
- if crit == false then
- h.Health = h.Health - D
- else
- h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
- end
- Character.Humanoid.Health = Character.Humanoid.Health + D / 2
- so("http://www.roblox.com/asset/?id=206083232", hit, 1, 1.5)
- for i = 1, 10 do
- firespaz1('Bright red', hit.CFrame * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3)))
- end
- elseif type == 4 then
- h.Health = h.Health + D
- so("http://www.roblox.com/asset/?id=186883084", hit, 1, 1)
- circle('Dark green', h.Parent.Torso.CFrame * CFrame.new(0, -2.5, 0))
- end
- end
- end
- function subtrackstamina(k)
- if stamina >= k then
- stamina = stamina - k
- end
- end
- Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Handle",Vector3.new(2.39999986, 1.20000005, 1.39999998))
- Handleweld=CreateWeld(m,Torso,Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.200019836, 2.05684233, -1.52587891e-005, -3.33786011e-006, 5.10364771e-007, -1.00000072, 7.4505806e-007, 0.999990106, 5.23030758e-006, 0.999992847, 1.10268593e-006, -2.98023224e-006))
- CreateMesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- LLeg1Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Really Pearl","LLeg1Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024))
- LLeg1Connectorweld=CreateWeld(m,Handle,LLeg1Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.271961212, 0.323261261, 0.554561615, 0.953878522, 0.237942964, 0.183013678, -0.270872086, 0.945040286, 0.183021933, -0.12940976, -0.224147677, 0.965908945))
- CreateMesh("SpecialMesh",LLeg1Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- LLeg2Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","LLeg2Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024))
- LLeg2Connectorweld=CreateWeld(m,Handle,LLeg2Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.286304474, 0.549964905, 0.383785248, 0.87001282, -0.368683487, -0.327339649, 0.475172013, 0.804078519, 0.357260257, 0.131499231, -0.466358542, 0.874748588))
- CreateMesh("SpecialMesh",LLeg2Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- NeckHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","NeckHandleConnector",Vector3.new(0.799999714, 0.800000012, 0.99999994))
- NeckHandleConnectorweld=CreateWeld(m,Handle,NeckHandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.800014496, 2.2649765e-006, -1.52587891e-005, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
- CreateMesh("SpecialMesh",NeckHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- RLeg2Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","RLeg2Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024))
- RLeg2Connectorweld=CreateWeld(m,Handle,RLeg2Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.284488678, 0.502339363, -0.511051178, 0.866028607, -0.433008194, 0.249994621, 0.482959986, 0.853833973, -0.194110557, -0.12941049, 0.288845479, 0.948575199))
- CreateMesh("SpecialMesh",RLeg2Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- RLeg1Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","RLeg1Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024))
- RLeg1Connectorweld=CreateWeld(m,Handle,RLeg1Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.434127808, 0.261667252, -0.51184082, 0.953878462, 0.277202159, 0.115192153, -0.270872086, 0.960207343, -0.0678096935, -0.129410967, 0.0334844999, 0.991011441))
- CreateMesh("SpecialMesh",RLeg1Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- TailHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","TailHandleConnector",Vector3.new(0.799999714, 0.800000012, 0.99999994))
- TailHandleConnectorweld=CreateWeld(m,Handle,TailHandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.800014496, -4.17232513e-006, -1.14440918e-005, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
- CreateMesh("SpecialMesh",TailHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Wings=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Wings",Vector3.new(1.38, 0.600000024, 0.400000006))
- Wingsweld=CreateWeld(m,Handle,Wings,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00999832153, -1.35054588, -0.870742798, -3.57603994e-007, 1.84772534e-006, 0.999992847, 0.707109332, 0.707094491, -2.27373675e-013, -0.707105219, 0.707105219, 0))
- CreateMesh("SpecialMesh",Wings,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=188700920 ",Vector3.new(0, 0, 0),Vector3.new(0.600000024, 0.600000024, 0.928000093))
- HeadHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","HeadHandleConnector",Vector3.new(0.799999774, 0.800000012, 1.19999993))
- HeadHandleConnectorweld=CreateWeld(m, NeckHandleConnector, HeadHandleConnector, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.13883209, -1.22878647, -4.95910645e-005, 0.965921879, -0.258816749, -8.3394184e-007, 0.258814901, 0.965910494, 1.70232727e-006, 7.33734851e-009, -1.24428539e-008, 0.999992847))
- CreateMesh("SpecialMesh",HeadHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- HeadHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","HeadHandle",Vector3.new(0.799999774, 0.800000012, 1.19999993))
- HeadHandleweld=CreateWeld(m,HeadHandleConnector,HeadHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(.5,.3,0))
- CreateMesh("SpecialMesh",HeadHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- BlinkPartL=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","BlinkPartL",Vector3.new(0.430000007, 0.349999994, 0.209999993))
- BlinkPartLweld=CreateWeld(m,HeadHandle,BlinkPartL,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.627552032, -0.15424633, 0.675392151, 0.965920627, 3.52720974e-007, 0.258818448, -3.27823614e-007, 0.999994576, -4.27638327e-007, -0.258816987, 3.32397349e-007, 0.965925992))
- CreateMesh("SpecialMesh",BlinkPartL,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- BlinkPartR=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","BlinkPartR",Vector3.new(0.430000007, 0.349999994, 0.209999919))
- BlinkPartRweld=CreateWeld(m,HeadHandle,BlinkPartR,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.668586731, 0.0254650116, 0.6536026, 0.963257611, 0.166627169, -0.210616693, 0.170450777, -0.985360563, 7.06354513e-007, -0.207533255, -0.035900455, -0.977568686))
- CreateMesh("SpecialMesh",BlinkPartR,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Head=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Head",Vector3.new(1.59999979, 1, 1.19999993))
- Headweld=CreateWeld(m,HeadHandle,Head,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399993896, -0.100018501, -3.81469727e-006, 0.999994338, -7.45053441e-008, 0, 4.59620352e-013, 0.999994516, 5.40012479e-013, -6.82121026e-013, -1.62003744e-012, 1))
- CreateMesh("SpecialMesh",Head,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(0.200000003, 1.39999998, 0.200000003))
- Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.268547058, 0.0147666931, 0.492343903, 0.266456544, 0.961500287, -0.0669870079, -0.937416613, 0.24235782, -0.249999925, -0.22414504, 0.129409671, 0.965918422))
- CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(0.400000006, 1.39999998, 0.400000006))
- Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.35981369, -0.0811252594, -0.392364502, 0.499998569, 0.866011322, 1.38495011e-007, -0.836511791, 0.482955486, 0.258817196, 0.224141717, -0.129405871, 0.965918958))
- CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(0.400000006, 1.39999998, 0.400000006))
- Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.359809875, -0.0811347961, 0.392364502, 0.500002265, 0.866017759, 4.3843329e-009, -0.836509109, 0.48296532, -0.25881812, -0.224141061, 0.129409656, 0.965926051))
- CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(0.200000003, 1.39999998, 0.200000003))
- Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.268550873, 0.0147647858, -0.492359161, 0.266456187, 0.961500764, 0.066986382, -0.937418401, 0.242359444, 0.249994203, 0.224138066, -0.129404321, 0.965920031))
- CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(0.599999785, 0.400000006, 0.399999917))
- Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.706802368, -0.148231506, -0.399997711, 0.999991596, -8.94065053e-008, -6.82121026e-013, -4.47030253e-008, 0.999991894, -1.00897068e-012, -4.54747351e-013, -1.05160325e-012, 1))
- CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(0.599999785, 0.400000006, 0.399999917))
- Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.706802368, -0.148216248, 0.399990082, 0.999985158, -5.96041865e-008, -1.13686838e-012, -8.94065053e-008, 0.999985576, -1.15107923e-012, -6.82121026e-013, -1.44950718e-012, 1))
- CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- LLeg1Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","LLeg1Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024))
- LLeg1Handleweld=CreateWeld(m,LLeg1Connector,LLeg1Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0365982056, 0.0366020203, 0.193164825, 0.999997556, -8.96677375e-006, -5.36441803e-007, -8.96677375e-006, 0.999984801, 3.7252903e-006, -5.36441803e-007, 3.7252903e-006, 0.999984503))
- CreateMesh("SpecialMesh",LLeg1Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024))
- Partweld=CreateWeld(m,LLeg1Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.299993515, 7.62939453e-006, 0.999997556, -8.96677375e-006, -5.36441803e-007, -8.96677375e-006, 0.999984801, 3.7252903e-006, -5.36441803e-007, 3.7252903e-006, 0.999984503))
- CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- LLeg2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","LLeg2Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024))
- LLeg2Handleweld=CreateWeld(m,LLeg2Connector,LLeg2Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0654640198, 0.0714416504, 0.174942017, 1.0000006, 4.96953726e-006, 2.38418579e-006, 4.96953726e-006, 0.999982536, 4.35113907e-006, 2.38418579e-006, 4.35113907e-006, 0.999983668))
- CreateMesh("SpecialMesh",LLeg2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024))
- Partweld=CreateWeld(m,LLeg2Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, 0.300003052, 0, 1.0000006, 4.96953726e-006, 2.38418579e-006, 4.96953726e-006, 0.999982536, 4.35113907e-006, 2.38418579e-006, 4.35113907e-006, 0.999983668))
- CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- RLeg1Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","RLeg1Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024))
- RLeg1Handleweld=CreateWeld(m,RLeg1Connector,RLeg1Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 0.999997318, -9.39005986e-006, -1.82539225e-006, -9.39005986e-006, 0.999983907, 2.83867121e-006, -1.82539225e-006, 2.83867121e-006, 0.999985874))
- CreateMesh("SpecialMesh",RLeg1Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024))
- Partweld=CreateWeld(m,RLeg1Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-006, 0.299995422, 7.62939453e-006, 0.999997318, -9.39005986e-006, -1.82539225e-006, -9.39005986e-006, 0.999983907, 2.83867121e-006, -1.82539225e-006, 2.83867121e-006, 0.999985874))
- CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- RLeg2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","RLeg2Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024))
- RLeg2Handleweld=CreateWeld(m,RLeg2Connector,RLeg2Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0499954224, 0.038819313, -0.189697266, 0.999999583, 6.79865479e-006, -3.51667404e-006, 6.79865479e-006, 0.999980748, -1.23679638e-006, -3.51667404e-006, -1.23679638e-006, 0.999986768))
- CreateMesh("SpecialMesh",RLeg2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024))
- Partweld=CreateWeld(m,RLeg2Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.299996376, -7.62939453e-006, 0.999999583, 6.79865479e-006, -3.51667404e-006, 6.79865479e-006, 0.999980748, -1.23679638e-006, -3.51667404e-006, -1.23679638e-006, 0.999986768))
- CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- NeckHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","NeckHandle",Vector3.new(0.799999714, 0.800000012, 0.99999994))
- NeckHandleweld=CreateWeld(m,NeckHandleConnector,NeckHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
- CreateMesh("SpecialMesh",NeckHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(1.5999999, 0.800000012, 0.99999994))
- Partweld=CreateWeld(m,NeckHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.673364639, 0.315284729, 1.14440918e-005, 0.499996573, 0.866005898, 1.41687553e-006, -0.866028965, 0.499994099, 1.24860276e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
- CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(1.5999999, 1, 1.39999998))
- Partweld=CreateWeld(m,NeckHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.456003189, -0.000812530518, 1.52587891e-005, 0.707109332, 0.707094491, 1.05421987e-006, -0.707105219, 0.707105219, 1.56317299e-006, 2.27782948e-009, -3.0485694e-009, 0.999992847))
- CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- TailHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","TailHandle",Vector3.new(0.799999714, 0.800000012, 0.99999994))
- TailHandleweld=CreateWeld(m,TailHandleConnector,TailHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -1.90734863e-006, 0, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
- CreateMesh("SpecialMesh",TailHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(1.39999974, 0.800000012, 0.99999994))
- Partweld=CreateWeld(m,TailHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299999237, 3.57627869e-007, 0, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
- CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Tail2HandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","Tail2HandleConnector",Vector3.new(0.599999726, 0.800000012, 0.799999952))
- Tail2HandleConnectorweld=CreateWeld(m,TailHandle,Tail2HandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.674129486, -0.0147686005, -0.00961303711, 0.999255121, 0.0334871411, -0.0192402583, -0.0341572762, 0.998781741, -0.0350642987, 0.0180421956, 0.0356986672, 0.999185622))
- CreateMesh("SpecialMesh",Tail2HandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Tail2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","Tail2Handle",Vector3.new(0.599999726, 0.800000012, 0.799999952))
- Tail2Handleweld=CreateWeld(m,Tail2HandleConnector,Tail2Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1.00000131, -5.39020402e-006, -1.95577741e-007, -5.39020402e-006, 0.999980748, 1.59069896e-006, -1.95577741e-007, 1.59069896e-006, 0.999985993))
- CreateMesh("SpecialMesh",Tail2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(1.39999974, 0.800000012, 0.799999952))
- Partweld=CreateWeld(m,Tail2Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.399993896, -2.86102295e-006, 3.81469727e-006, 1.00000131, -5.39020402e-006, -1.95577741e-007, -5.39020402e-006, 0.999980748, 1.59069896e-006, -1.95577741e-007, 1.59069896e-006, 0.999985993))
- CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Tail3HandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","Tail3HandleConnector",Vector3.new(0.599999845, 0.800000012, 0.799999952))
- Tail3HandleConnectorweld=CreateWeld(m,Tail2Handle,Tail3HandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.933692932, 0.152185202, 0.0128250122, 0.989802122, -0.139427915, 0.0292246509, 0.138289496, 0.989660025, 0.0377997532, -0.0341934189, -0.0333709307, 0.998850942))
- CreateMesh("SpecialMesh",Tail3HandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Tail3Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,1,"Pearl","Tail3Handle",Vector3.new(0.599999845, 0.800000012, 0.799999952))
- Tail3Handleweld=CreateWeld(m,Tail3HandleConnector,Tail3Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 2.3010216e-009, 0, 2.3010216e-009, 1, 0, 0, 0, 1.00000012))
- CreateMesh("SpecialMesh",Tail3Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(1.79999983, 0.800000012, 0.200000003))
- Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.04519272, 0.064440012, -0.0208930969, 1, 2.3010216e-009, 0, 2.3010216e-009, 1, 0, 0, 0, 1.00000012))
- CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(1.79999983, 0.600000024, 0.200000003))
- Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.11207199, 0.0611591339, 0.00499725342, 0.965926647, -0.258816153, -5.12227416e-008, 0.258816123, 0.965926647, -1.83936208e-007, 9.68575478e-008, 1.64000085e-007, 1))
- CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Ghost grey","Part",Vector3.new(1.79999983, 0.600000024, 0.200000003))
- Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.07800674, 0.0849123001, -0.020816803, 0.965926468, 0.258816481, 2.40281224e-007, -0.258821636, 0.965915978, -1.06403604e-006, -1.3038516e-006, 2.83645932e-006, 0.999992907))
- CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Glass,0,0,"Pearl","Part",Vector3.new(1.39999986, 0.800000012, 0.799999952))
- Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400001526, -2.14576721e-006, -3.81469727e-006, 1, 2.3010216e-009, 0, 2.3010216e-009, 1, 0, 0, 0, 1.00000012))
- CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- mouse.Button1Down:connect(function()
- end)
- mouse.KeyDown:connect(function(k)
- k = k:lower()
- if k == "f" and attack == false and Flying == false then
- Humanoid.CameraOffset = Vector3.new(0, -1, 0)
- Humanoid.WalkSpeed = 200
- Flying = true
- elseif k == "f" and attack == false and Flying == true then
- Humanoid.CameraOffset = Vector3.new(0, -2, 0)
- Humanoid.WalkSpeed = 16
- Flying = false
- end
- end)
- inputserv.InputBegan:connect(function(k)
- if k.KeyCode == Enum.KeyCode.One and typing == false and cooldown3 >= co1 and stamina >= skill1stam then
- elseif k.KeyCode == Enum.KeyCode.Two and typing == false and cooldown3 >= co2 and stamina >= skill2stam then
- elseif k.KeyCode == Enum.KeyCode.Three and typing == false and cooldown3 >= co3 and stamina >= skill3stam then
- elseif k.KeyCode == Enum.KeyCode.Four and typing == false and cooldown3 >= co4 and stamina >= skill4stam then
- end
- end)
- inputserv.InputBegan:connect(function(k)
- if k.KeyCode == Enum.KeyCode.Slash then
- local fin = nil
- typing = true
- fin = inputserv.InputBegan:connect(function(k)
- if k.KeyCode == Enum.KeyCode.Return or k.UserInputType == Enum.UserInputType.MouseButton1 then
- typing = false
- fin:disconnect()
- end
- end)
- end
- end)
- function updateskills()
- if cooldown1 <= co1 then
- cooldown1 = cooldown1 + 1 / 30
- end
- if cooldown2 <= co2 then
- cooldown2 = cooldown2 + 1 / 30
- end
- if cooldown3 <= co3 then
- cooldown3 = cooldown3 + 1 / 30
- end
- if cooldown4 <= co4 then
- cooldown4 = cooldown4 + 1 / 30
- end
- if stamina <= maxstamina then
- stamina = stamina + recovermana / 30
- end
- end
- coroutine.resume(coroutine.create(function(Part,Weld)
- while Part.Parent~=nil do
- wait(5)
- for i=0,1,0.2 do
- wait()
- BlinkPartR.Mesh.Scale = Vector3.new(.7-1*i,1,1)
- end
- for i=0,1,0.2 do
- wait()
- BlinkPartR.Mesh.Scale = Vector3.new(.7+.3*i,1,1)
- end
- end
- end),BlinkPartR,BlinkPartRweld)
- coroutine.resume(coroutine.create(function(Part,Weld)
- while Part.Parent~=nil do
- wait(5)
- for i=0,1,0.2 do
- wait()
- BlinkPartL.Mesh.Scale = Vector3.new(.7-1*i,1,1)
- end
- for i=0,1,0.2 do
- wait()
- BlinkPartL.Mesh.Scale = Vector3.new(.7+.3*i,1,1)
- end
- end
- end),BlinkPartL,BlinkPartLweld)
- game:GetService'RunService'.Heartbeat:connect(function()
- updateskills()
- Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- velocity = RootPart.Velocity.y
- sine = sine + change
- local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
- if equipped == true or equipped == false then
- if RootPart.Velocity.y > 1 and hit == nil and stun.Value ~= true then
- Anim = "Jump"
- if attack == false then
- Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 2) * angles(math.rad(50), math.rad(0), math.rad(0)), .3)
- NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3)
- HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
- LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3)
- LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3)
- RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3)
- RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3)
- TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
- Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
- Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
- end
- elseif RootPart.Velocity.y < -1 and hit == nil and stun.Value ~= true then
- Anim = "Fall"
- if attack == false then
- Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 1) * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
- NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), .3)
- HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
- LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
- LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
- RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
- RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
- TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3)
- Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3)
- Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3)
- end
- elseif Torsovelocity < 1 and hit ~= nil and stun.Value ~= true then
- Anim = "Idle"
- if attack == false and Flying == false then
- change = 1
- Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
- NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10+1.5*math.cos(sine/10))), .3)
- HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-5+1.5*math.cos(sine/10))), .3)
- LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3)
- LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3)
- RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3)
- RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3)
- TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(15*math.cos(sine/15)), math.rad(5*math.cos(sine/25))), .3)
- Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(-15*math.cos(sine/15)), math.rad(20*math.cos(sine/15)), math.rad(2*math.cos(sine/15))), .3)
- Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(15*math.cos(sine/15)), math.rad(10*math.cos(sine/15)), math.rad(0)), .3)
- elseif attack == false and Flying == true then
- Handleweld.C0 = clerp(Handleweld.C0, cn(0, 3.5+.2*math.cos(sine/10), 2) * angles(math.rad(40+2*math.cos(sine/10)), math.rad(0), math.rad(0)), .3)
- NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10+3*math.cos(sine/10))), .3)
- HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20-3*math.cos(sine/10))), .3)
- LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3)
- LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3)
- RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3)
- RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3)
- TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20-3*math.cos(sine/10))), .3)
- Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10+2*math.cos(sine/10))), .3)
- Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(15-1.5*math.cos(sine/10))), .3)
- end
- elseif Torsovelocity > 2 and hit ~= nil and stun.Value ~= true then
- Anim = "Walk"
- if attack == false and Flying == false then
- change = 1
- Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 0) * angles(math.rad(1.5+1*math.cos(sine/10)), math.rad(0), math.rad(0)), .3)
- NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(5+2*math.cos(sine/10))), .3)
- HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(5+1.5*math.cos(sine/10))), .3)
- LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30*math.cos(sine/4.5))), .3)
- LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30*math.cos(sine/5))), .3)
- RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30*math.cos(sine/5))), .3)
- RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30*math.cos(sine/4.5))), .3)
- TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3*math.cos(sine/15))), .3)
- Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2*math.cos(sine/15))), .3)
- Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3*math.cos(sine/15))), .3)
- elseif attack == false and Flying == true then
- change = 1
- Handleweld.C0 = clerp(Handleweld.C0, cn(0, 3.5+.2*math.cos(sine/10), 1) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
- NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10+1*math.cos(sine/10))), .3)
- HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20+1*math.cos(sine/10))), .3)
- LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3)
- LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3)
- RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3)
- RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3)
- TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10-3*math.cos(sine/10))), .3)
- Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(5+2*math.cos(sine/10))), .3)
- Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3-1.5*math.cos(sine/10))), .3)
- end
- end
- end
- end)
- local p = game.Players:findFirstChild("EnderWolfMage") -- Put your name where it says pingfuzz
- script.Name = "FusScript"
- local go = true --for normal shouts
- local skygo = true --for sky-related shouts
- --19 Shouts: Fus Ro Dah, Wuld Nah Kest, Liz Slen Nus, Yol Toor Shul, Feim Zii Gron, Strun Bah Qo, Fo Krah Diin, Laas Yah Nir,
- --Zun Haal Viik, Krii Lun Aus, Tiid Klo Ul, Faas Ru Maar, Toor Bah Yol, Joor Zah Frul, Kaan Drem Ov, Ven Mul Riik, Lok Vah Koor,
- --Nahl Daal Vus, and Bex
- p.Chatted:connect(function(message)
- local msg = string.lower(message)
- if string.find(msg, "fus ro dah") and go == true then
- go = false
- fus = Instance.new("Part")
- fus.formFactor = "Custom"
- fus.Size = Vector3.new(1, 1, 4)
- fus.TopSurface = "Smooth"
- fus.BottomSurface = "Smooth"
- fus.Anchored = false
- fus.CanCollide = false
- fus.BrickColor = BrickColor.new("Bright blue")
- fus.Transparency = 0.6
- fus.Reflectance = 0.5
- fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4)
- fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150
- local f = Instance.new("Fire")
- f.Name = "FusFire"
- f.Size = fus:GetMass()
- f.Heat = 0
- f.Color = Color3.new(1, 1, 1)
- f.SecondaryColor = Color3.new(1, 1, 1)
- f.Parent = fus
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "Sphere"
- mesh.Parent = fus
- local bp = Instance.new("BodyPosition")
- bp.position = p.Character.Head.Position
- bp.maxForce = Vector3.new(0, math.huge, 0)
- bp.Parent = fus
- fus.Parent = workspace
- fus.Touched:connect(fused)
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- for i = 1, 20 do
- wait(0.01)
- local cf = fus.CFrame
- fus.Size = fus.Size + Vector3.new(1, 1, -1)
- f.Size = fus:GetMass()/2
- fus.CFrame = cf
- end
- wait(3)
- for i = 1, 40 do
- fus.Transparency = fus.Transparency + 0.1
- f.Size = f.Size - (fus:GetMass()/40)
- wait(0.1)
- end
- wait()
- fus.Transparency = 1
- f:remove()
- fus:remove()
- go = true
- end))
- game:GetService("Debris"):AddItem(fus, 15)
- elseif string.find(msg, "wuld nah kest") then
- local speed = p.Character.Humanoid.WalkSpeed --Speed prior to sprinting
- local cf = p.Character.Torso.CFrame * CFrame.new(0, 0, -50)
- local pos = cf.p
- p.Character.Humanoid.WalkSpeed = 200
- p.Character.Humanoid:MoveTo(pos, workspace.Base)
- wait(0.275)
- p.Character.Humanoid.WalkSpeed = speed
- p.Character.Humanoid:MoveTo(p.Character.Torso.Position, p.Character.Torso)
- elseif string.find(msg, "liz slen nus") and go == true then
- --local succ, ret = pcall(function()
- go = false
- fus = Instance.new("Part")
- fus.formFactor = "Custom"
- fus.Size = Vector3.new(3, 3, 6)
- fus.TopSurface = "Smooth"
- fus.BottomSurface = "Smooth"
- fus.Anchored = false
- fus.CanCollide = false
- fus.BrickColor = BrickColor.new("White")
- fus.Transparency = 0.5
- fus.Reflectance = 0.6
- fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -6)
- fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150
- local s = Instance.new("Sparkles")
- s.Name = "LizSparkle"
- s.SparkleColor = Color3.new(1, 1, 1)
- s.Parent = fus
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "Sphere"
- mesh.Parent = fus
- local bp = Instance.new("BodyPosition")
- bp.position = p.Character.Head.Position
- bp.maxForce = Vector3.new(0, math.huge, 0)
- bp.Parent = fus
- fus.Parent = workspace
- fus.Touched:connect(lized)
- --[end)
- if ret then
- local m = Instance.new("Part", p.PlayerGui)
- m.Text = "ERROR: " ..ret
- game:GetService("Debris"):AddItem(m, 15)
- end
- coroutine.resume(coroutine.create(function()
- wait(3)
- for i = 1, 40 do
- fus.Transparency = fus.Transparency + 0.1
- wait(0.1)
- end
- wait()
- fus.Transparency = 1
- fus:remove()
- go = true
- end))
- game:GetService("Debris"):AddItem(fus, 15)
- elseif string.find(msg, "yol toor shul") and go == true then
- go = false
- fus = Instance.new("Part")
- fus.formFactor = "Custom"
- fus.Size = Vector3.new(3, 3, 6)
- fus.TopSurface = "Smooth"
- fus.BottomSurface = "Smooth"
- fus.Anchored = false
- fus.CanCollide = false
- fus.BrickColor = BrickColor.new("Bright orange")
- fus.Transparency = 0.5
- fus.Reflectance = 0.6
- fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -6)
- fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150
- local f = Instance.new("Fire")
- f.Name = "FusFire"
- f.Size = fus:GetMass()/3
- f.Heat = 0
- f.Parent = fus
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "Sphere"
- mesh.Parent = fus
- local bp = Instance.new("BodyPosition")
- bp.position = p.Character.Head.Position
- bp.maxForce = Vector3.new(0, math.huge, 0)
- bp.Parent = fus
- fus.Parent = workspace
- fus.Touched:connect(yoled)
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- for i = 1, 20 do
- wait(0.01)
- local cf = fus.CFrame
- fus.Size = fus.Size + Vector3.new(1, 1, -1)
- f.Size = fus:GetMass()/2
- fus.CFrame = cf
- end
- wait(3)
- for i = 1, 40 do
- fus.Transparency = fus.Transparency + 0.1
- f.Size = f.Size - (fus:GetMass()/3)/40
- wait(0.1)
- end
- wait()
- fus.Transparency = 1
- f:remove()
- fus:remove()
- go = true
- end))
- game:GetService("Debris"):AddItem(fus, 15)
- elseif string.find(msg, "feim zii gron") then
- p.Character.Humanoid.WalkSpeed = 30
- for a, b in pairs(p.Character:children()) do
- if b.Name == "Head" then
- if b:findFirstChild("face") ~= nil then
- coroutine.resume(coroutine.create(function()
- for i = 1, 110 do
- b.face.Transparency = b.face.Transparency + 0.01
- wait(0.01)
- end
- b.face.Transparency = 1
- end))
- end
- end
- if b.className == "Part" then
- coroutine.resume(coroutine.create(function()
- for i = 1, 110 do
- b.Transparency = b.Transparency + 0.01
- wait(0.01)
- end
- b.Transparency = 1
- end))
- elseif b.className == "Hat" then
- coroutine.resume(coroutine.create(function()
- for i = 1, 110 do
- b.Handle.Transparency = b.Handle.Transparency + 0.01
- wait(0.01)
- end
- b.Handle.Transparency = 1
- end))
- end
- end
- wait(15)
- p.Character.Humanoid.WalkSpeed = 16
- for a, b in pairs(p.Character:children()) do
- if b.Name == "Head" then
- if b:findFirstChild("face") ~= nil then
- coroutine.resume(coroutine.create(function()
- for i = 1, 110 do
- b.face.Transparency = b.face.Transparency - 0.01
- wait(0.01)
- end
- b.face.Transparency = 0
- end))
- end
- end
- if b.className == "Part" then
- coroutine.resume(coroutine.create(function()
- for i = 1, 110 do
- b.Transparency = b.Trans0arency - 0.01
- wait(0.01)
- end
- b.Transparency = 0
- end))
- elseif b.className == "Hat" then
- coroutine.resume(coroutine.create(function()
- for i = 1, 110 do
- b.Handle.Transparency = b.Handle.Transparency - 0.01
- wait(0.01)
- end
- b.Handle.Transparency = 0
- end))
- end
- end
- elseif string.find(msg, "strun bah qo") and skygo == true then
- skygo = false
- local clouds = {}
- function lightning(cl)
- local lights = {}
- for i = 1, 15 do
- local l = Instance.new("Part")
- l.Name = "FusLightning"
- table.insert(lights, l)
- game:GetService("Debris"):AddItem(l, 15)
- l.formFactor = "Custom"
- l.Size = Vector3.new(1, math.random(50, 75), 1)
- l.BrickColor = BrickColor.new("Institutional white")
- l.Transparency = 0.45
- l.Reflectance = 0.5
- l.Anchored = true
- l.CanCollide = false
- local xnum = 6
- local znum = 6
- if i == 1 then
- l.CFrame = cl.CFrame * CFrame.Angles(math.random(-(math.pi/xnum), math.pi/xnum), 0, math.random(-(math.pi/znum), math.pi/znum)) * CFrame.new(0, -1 * (l.Size.Y/2), 0)
- elseif i > 1 then
- local llight = lights[i - 1]
- l.CFrame = llight.CFrame * CFrame.Angles(math.random(-(math.pi/xnum), math.pi/xnum), 0, math.random(-(math.pi/znum), math.pi/znum)) * CFrame.new(0, -1 * (l.Size.Y/2), 0)
- end
- l.Parent = workspace
- l.Touched:connect(function(part) struned(part, l) end)
- coroutine.resume(coroutine.create(function()
- repeat
- l.Transparency = l.Transparency + 0.02
- wait()
- until l.Transparency >= 1
- l:remove()
- end))
- end
- end
- for i = 1, 100 do
- game.Lighting.Brightness = game.Lighting.Brightness - 0.01
- wait(0.05)
- end
- game.Lighting.Brightness = 0
- local cloud = Instance.new("Part")
- cloud.Name = "StrunCloud"
- cloud.Size = Vector3.new(1, 1, 1)
- cloud.Anchored = true
- cloud.CanCollide = false
- cloud.BrickColor = BrickColor.new("Black")
- cloud.Transparency = 1
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.Scale = Vector3.new(math.random(100, 150), math.random(50, 100), math.random(100, 150))
- mesh.MeshId = "www.roblox.com/asset/?id=1095708"
- mesh.Parent = cloud
- for i = 1, (math.random(4, 8)) do
- local newc = cloud:clone()
- newc.Parent = workspace
- game:GetService("Debris"):AddItem(newc, 300)
- table.insert(clouds, newc)
- newc.CFrame = CFrame.new(p.Character.Torso.Position + Vector3.new(math.random(-250, 250), math.random(150, 200), math.random(-250, 250)))
- coroutine.resume(coroutine.create(function()
- repeat
- newc.Transparency = newc.Transparency - 0.01
- wait()
- until newc.Transparency <= 0.2
- newc.Transparency = 0.2
- end))
- end
- for i = 1, (math.random(7, 15)) do
- if skygo == true then break end
- local s = Instance.new("Sound")
- game:GetService("Debris"):AddItem(s, 5)
- s.Name = "Lighting"
- s.SoundId = "rbxasset://sounds/HalloweenLightning.wav"
- s.Pitch = (math.random(10, 15) * 0.1)
- s.PlayOnRemove = true
- s.Looped = false
- s.Parent = workspace
- wait(0.5)
- s:play()
- for i = 1, #clouds do
- lightning(clouds[i])
- end
- game.Lighting.Brightness = 1
- wait(0.001)
- game.Lighting.Brightness = 0
- s:remove()
- wait(math.random(3, 6))
- end
- wait(2)
- for i = 1, #clouds do
- coroutine.resume(coroutine.create(function()
- repeat
- clouds[i].Transparency = clouds[i].Transparency + 0.01
- wait(0.05)
- until clouds[i].Transparency >= 1
- clouds[i]:remove()
- end))
- end
- for i = 1, 110 do
- game.Lighting.Brightness = game.Lighting.Brightness + 0.01
- wait(0.01)
- end
- skygo = true
- game.Lighting.Brightness = 1
- elseif string.find(msg, "fo krah diin") and go == true then
- go = false
- for i = 1, 50 do
- fus = Instance.new("Part")
- fus.formFactor = "Custom"
- fus.Size = Vector3.new(0.5, 0.5, 0.5)
- fus.TopSurface = "Smooth"
- fus.BottomSurface = "Smooth"
- fus.Anchored = false
- fus.CanCollide = false
- fus.BrickColor = BrickColor.new("Institutional white")
- fus.Transparency = 0.6
- fus.Reflectance = 0.5
- fus.CFrame = p.Character.Head.CFrame * CFrame.new(math.random(-15, 15)*0.1, math.random(-15, 15)*0.1, -4)
- fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150
- local f = Instance.new("Fire")
- f.Name = "FusFire"
- f.Size = fus:GetMass()
- f.Heat = 0
- f.Color = Color3.new(1, 1, 1)
- f.SecondaryColor = Color3.new(1, 1, 1)
- f.Parent = fus
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "Sphere"
- mesh.Parent = fus
- local bp = Instance.new("BodyPosition")
- bp.position = fus.Position
- bp.maxForce = Vector3.new(0, math.huge, 0)
- bp.Parent = fus
- fus.Parent = workspace
- fus.Touched:connect(function(part) foed(part, fus) end)
- game:Ge4Service("Debris"):AddItem(fus, 15)
- end
- go = true
- elseif string.find(msg, "laas yah nir") then
- for i = 1, 30 do
- for a, b in pairs(game.Players:children()) do
- if b.Character ~= nil then
- if (p.Character.Torso.Position - b.Character.Torso.Position).magnitude <= 100 and b ~= p then
- if b.Character.Torso:findFirstChild("LaasFire") == nil then
- local f = Instance.new("Fire", b.Character.Torso)
- f.Name = "LaasFire"
- f.Size = b.Character.Torso:GetMass()*2
- f.Color = Color3.new(0, 0, 0)
- f.SecondaryColor = Color3.new(1, 1, 1)
- end
- elseif (p.Character.Torso.Position - b.Character.Torso.Position).magnitude > 100 then
- if b.Character.Torso:findFirstChild("LaasFire") ~= nil then
- b.Character.Torso.LaasFire:remove()
- end
- end
- end
- end
- wait(1)
- end
- for a, b in pairs(game.Players:children()) do
- if b.Character.Torso:findFirstChild("LaasFire") ~= nil then
- b.Character.Torso.LaasFire:remove()
- end
- end
- elseif string.find(msg, "zun haal viik") and go == true then
- go = false
- fus = Instance.new("Part")
- fus.formFactor = "Custom"
- fus.Size = Vector3.new(1, 1, 4)
- fus.TopSurface = "Smooth"
- fus.BottomSurface = "Smooth"
- fus.Anchored = false
- fus.CanCollide = false
- fus.BrickColor = BrickColor.new("Lime green")
- fus.Transparency = 0.6
- fus.Reflectance = 0.5
- fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4)
- fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -200
- local f = Instance.new("Fire")
- f.Name = "FusFire"
- f.Size = fus:GetMass()
- f.Heat = 0
- f.Color = Color3.new(1, 1, 1)
- f.SecondaryColor = Color3.new(1, 1, 1)
- f.Parent = fus
- local mesh = In3tance.new("SpecialMesh")
- mesh.MeshType = "Sphere"
- mesh.Parent = fus
- local bp = Instance.new("BodyPosition")
- bp.position = p.Character.Head.Position
- bp.maxForce = Vector3.new(0, math.huge, 0)
- bp.Parent = fus
- fus.Paren4 = workspace
- fus.Touched:connect(function(part) zuned(part, fus) end)
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- for i = 1, 9 do
- wait(0.01)
- local cf = fus.CFrame
- fus.Size = fus.Size + Vector3.new(1, 1, -1)
- f.Size = fus:GetMass()/2
- fus.CFrame = cf
- end
- wait(3)
- for i = 1, 40 do
- fus.Transparency = fus.Transparency + 0.1
- f.Size = f.Size - (fus:GetMass()/40)
- wait(0.1)
- end
- wait()
- fus.Transparency = 1
- f:remove()
- fus:remove()
- go = true
- end))
- game:GetService("Debris"):AddItem(fus, 15)
- elseif string.find(msg, "krii lun aus") and go == true then
- go = false
- fus = Instance.new("Part")
- fus.formFactor = "Custom"
- fus.Size = Vector3.new(1, 1, 4)
- fus.TopSurface = "Smooth"
- fus.BottomSurface = "Smooth"
- fus.Anchored = false
- fus.CanCollide = false
- fus.BrickColor = BrickColor.new("Bright purple")
- fus.Transparency = 0.6
- fus.Reflectance = 0.5
- fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4)
- fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150
- local f = Instance.new("Fire")
- f.Name = "FusFire"
- f.Size = fus:GetMass()
- f.Heat = 0
- f.Color = Color3.new(0, 0, 0)
- f.SecondaryColor = Color3.new(0, 0, 0)
- f.Parent = fus
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "Sphere"
- mesh.Parent = fus
- local bp = Instance.new("BodyPosition")
- bp.position = p.Character.Head.Position
- bp.maxForce = Vector3.new(0, math.huge, 0)
- bp.Parent = fus
- fus.Parent = workspace
- fus.Touched:connect(function(part) kriied(part, fus) end)
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- for i = 1, 19 do
- wait(0.01)
- local cf = fus.CFrame
- fus.Size = fus.Size + Vector3.new(1, 1, -1)
- f.Size = fus:GetMass()/2
- fus.CFrame = cf
- end
- wait(3)
- for i = 1, 40 do
- fus.Transparency = fus.Transparency + 0.1
- f.Size = f.Size - (fus:GetMass()/40)
- wait(0.1)
- end
- wait()
- fus.Transparency = 1
- f:remove()
- fus:remove()
- go = true
- end))
- game:GetService("Debris"):AddItem(fus, 15)
- elseif string.find(msg, "tiid klo ul") then
- for a, b in pairs(game.Players:children()) do
- if b.Character ~= nil and b ~= p then
- for c, d in pairs(b.Character:children()) do
- if d.className == "Part" then
- if d.Anchored == false then
- local cf = nil
- if d.Name == "Torso" then
- cf = d.CFrame
- end
- d.Anchored = true
- coroutine.resume(coroutine.create(function()
- wait(10)
- if d ~= nil then
- d.Anchored = false
- d.CFrame = cf
- end
- end))
- end
- elseif d.className == "Hat" then
- if d.Handle.Anchored == false then
- d.Handle.Anchored = true
- coroutine.resume(coroutine.create(function()
- wait(10)
- if d ~= nil then
- if d.Handle ~= nil then
- d.Handle.Anchored = false
- end
- end
- end))
- end
- end
- end
- end
- end
- elseif string.find(msg, "faas ru maar") and go == true then
- go = false
- fus = Instance.new("Part")
- fus.formFactor = "Custom"
- fus.Size = Vector3.new(1, 1, 4)
- fus.TopSurface = "Smooth"
- fus.BottomSurface = "Smooth"
- fus.Anchored = false
- fus.CanCollide = false
- fus.BrickColor = BrickColor.new("Really black")
- fus.Transparency = 0.6
- fus.Reflectance = 0.5
- fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4)
- fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150
- local f = Instance.new("Fire")
- f.Name = "FusFire"
- f.Size = fus:GetMass()
- f.Heat = 0
- f.Color = Color3.new(0, 0, 0)
- f.SecondaryColor = Color3.new(0, 0, 0)
- f.Parent = fus
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "Sphere"
- mesh.Parent = fus
- local bp = Instance.new("BodyPosition")
- bp.position = p.Character.Head.Position
- bp.maxForce = Vector3.new(0, math.huge, 0)
- bp.Parent = fus
- fus.Parent = workspace
- fus.Touched:connect(function(part) faased(part) end)
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- for i = 1, 19 do
- wait(0.01)
- local cf = fus.CFrame
- fus.Size = fus.Size + Vector3.new(1, 1, -1)
- f.Size = fus:GetMass()/2
- fus.CFrame = cf
- end
- wait(3)
- for i = 1, 40 do
- fus.Transparency = fus.Transparency + 0.1
- f.Size = f.Size - (fus:GetMass()/40)
- wait(0.1)
- end
- wait()
- fus.Transparency = 1
- f:remove()
- fus:remove()
- go = true
- end))
- game:GetService("Debris"):AddItem(fus, 15)
- elseif string.find(msg, "toor bah yol") and skygo == true then
- skygo = false
- local clouds = {}
- function meteor(cloud)
- local cf = CFrame.new(cloud.Position + Vector3.new(math.random(-10, 10), 20, math.random(-10, 10)))
- local m = Instance.new("Part")
- m.Name = "FusRock"
- m.Shape = "Ball"
- m.formFactor = "Symmetric"
- m.Anchored = false
- m.CanCollide = false
- m.TopSurface = "Smooth"
- m.BottomSurface = "Smooth"
- local size = math.random(10, 20)
- m.Size = Vector3.new(size, size, size)
- m.BrickColor = BrickColor.new("Bright red")
- m.Reflectance = 0.4
- m.CFrame = cf
- Instance.new("Fire", m).Size = m:GetMass()
- m.Velocity = Vector3.new(0, -50, 0)
- m.Parent = workspace
- game:GetService("Debris"):AddItem(m, 30)
- m.Touched:connect(function(part) toored(part, m) end)
- end
- for i = 1, 100 do
- game.Lighting.Brightness = game.Lighting.Brightness - 0.01
- wait(0.05)
- end
- game.Lighting.Brightness = 0
- local cloud = Instance.new("Part")
- cloud.Name = "ToorCloud"
- cloud.Size = Vector3.new(1, 1, 1)
- cloud.Anchored = true
- cloud.CanCollide = false
- cloud.BrickColor = BrickColor.new("Black")
- cloud.Transparency = 1
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.Scale = Vector3.new(math.random(100, 150), math.random(50, 100), math.random(100, 150))
- mesh.MeshId = "www.roblox.com/asset/?id=1095708"
- mesh.Parent = cloud
- for i = 1, (math.random(4, 8)) do
- local newc = cloud:clone()
- newc.Parent = workspace
- game:GetService("Debris"):AddItem(newc, 180)
- table.insert(clouds, newc)
- newc.CFrame = CFrame.new(p.Character.Torso.Position + Vector3.new(math.random(-250, 250), math.random(150, 200), math.random(-250, 250)))
- coroutine.resume(coroutine.create(function()
- repeat
- newc.Transparency = newc.Transparency - 0.01
- wait()
- until newc.Transparency <= 0.2
- newc.Transparency = 0.2
- end))
- end
- for launch = 1, math.random(20, 30) do
- if skygo == true then break end
- wait(math.random(2, 4))
- meteor(clouds[math.random(1, #clouds)])
- end
- wait(1)
- for c = 1, #clouds do
- coroutine.resume(coroutine.create(function()
- repeat
- clouds[c].Transparency = clouds[c].Transparency + 0.01
- wait()
- until clouds[c].Transparency >= 1
- clouds[c].Transparency = 1
- clouds[c]:remove()
- end))
- end
- repeat
- game.Lighting.Brightness = game.Lighting.Brightness + 0.01
- wait(0.01)
- until game.Lighting.Brightness >= 1
- game.Lighting.Brightness = 1
- skygo = true
- elseif string.find(msg, "joor zah frul") and go == true then
- go = false
- fus = Instance.new("Part")
- fus.formFactor = "Custom"
- fus.Size = Vector3.new(1, 1, 4)
- fus.TopSurface = "Smooth"
- fus.BottomSurface = "Smooth"
- fus.Anchored = false
- fus.CanCollide = false
- fus.BrickColor = BrickColor.new("Bright yellow")
- fus.Transparency = 0.7
- fus.Reflectance = 0.5
- fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4)
- fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150
- local f = Instance.new("Sparkles")
- f.Name = "FusSparkles"
- f.SparkleColor = Color3.new(0, 0, 0)
- f.Parent = fus
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "Sphere"
- mesh.Parent = fus
- local bp = Instance.new("BodyPosition")
- bp.position = p.Character.Head.Position
- bp.maxForce = Vector3.new(0, math.huge, 0)
- bp.Parent = fus
- fus.Parent = workspace
- fus.Touched:connect(function(part) joored(part, fus) end)
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- for i = 1, 19 do
- wait(0.01)
- local cf = fus.CFrame
- fus.Size = fus.Size + Vector3.new(1, 1, -1)
- fus.CFrame = cf
- end
- wait(3)
- for i = 1, 40 do
- fus.Transparency = fus.Transparency + 0.1
- wait(0.1)
- end
- wait()
- fus.Transparency = 1
- f:remove()
- fus:remove()
- go = true
- end))
- game:GetService("Debris"):AddItem(fus, 15)
- elseif string.find(msg, "kaan drem ov") and go == true then
- go = false
- fus = Instance.new("Part")
- fus.formFactor = "Custom"
- fus.Size = Vector3.new(1, 1, 4)
- fus.TopSurface = "Smooth"
- fus.BottomSurface = "Smooth"
- fus.Anchored = false
- fus.CanCollide = false
- fus.BrickColor = BrickColor.new("White")
- fus.Transparency = 0.7
- fus.Reflectance = 0.5
- fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4)
- fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150
- local f = Instance.new("Sparkles")
- f.Name = "FusSparkles"
- f.SparkleColor = Color3.new(1, 1, 1)
- f.Parent = fus
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "Sphere"
- mesh.Parent = fus
- local bp = Instance.new("BodyPosition")
- bp.position = p.Character.Head.Position
- bp.maxForce = Vector3.new(0, math.huge, 0)
- bp.Parent = fus
- fus.Parent = workspace
- fus.Touched:connect(function(part) kaaned(part) end)
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- for i = 1, 19 do
- wait(0.01)
- local cf = fus.CFrame
- fus.Size = fus.Size + Vector3.new(1, 1, -1)
- fus.CFrame = cf
- end
- wait(3)
- for i = 1, 40 do
- fus.Transparency = fus.Transparency + 0.1
- wait(0.1)
- end
- wait()
- fus.Transparency = 1
- f:remove()
- fus:remove()
- go = true
- end))
- game:GetService("Debris"):AddItem(fus, 15)
- elseif string.find(msg, "ven mul riik") and skygo == true then
- skygo = false
- local l = game.Lighting
- l.FogEnd = 1000
- coroutine.resume(coroutine.create(function()
- repeat
- l.FogEnd = l.FogEnd - 3
- wait()
- until l.FogEnd < 50
- wait(10)
- repeat
- l.FogEnd = l.FogEnd + 5
- wait()
- until l.FogEnd > 5000
- l.FogEnd = 10000
- skygo = true
- end))
- elseif string.find(msg, "lok vah koor") and skygo == false and go == true then
- skygo = true
- --Not changing go because this is an instantaneous reaction.
- coroutine.resume(coroutine.create(function()
- local b = Instance.new("Part")
- b.Shape = "Ball"
- b.formFactor = "Symmetric"
- b.Size = Vector3.new(1, 1, 1)
- b.CFrame = p.Character.Torso.CFrame
- b.TopSurface = "Smooth"
- b.BottomSurface = "Smooth"
- b.Anchored = true
- b.CanCollide = false
- b.Name = "LokBall"
- b.BrickColor = BrickColor.new("White")
- b.Parent = p.Character
- game:GetService("Debris"):AddItem(b, 20)
- repeat
- b.Size = b.Size + Vector3.new(1, 1, 1)
- b.CFrame = p.Character.Torso.CFrame
- b.Transparency = b.Transparency + 1/29
- wait()
- until b.Size.x == 30
- b:remove()
- end))
- local l = game.Lighting
- coroutine.resume(coroutine.create(function()
- repeat
- l.FogEnd = l.FogEnd + 5
- wait()
- until l.FogEnd > 5000
- l.FogEnd = 10000
- end))
- elseif string.find(msg, "nahl daal vus") and go == true then
- go = false
- fus = Instance.new("Part")
- fus.formFactor = "Custom"
- fus.Size = Vector3.new(2, 2, 4)
- fus.TopSurface = "Smooth"
- fus.BottomSurface = "Smooth"
- fus.Anchored = false
- fus.CanCollide = false
- fus.BrickColor = BrickColor.new("Bright green")
- fus.Transparency = 0.7
- fus.Reflectance = 0.5
- fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4)
- fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150
- local f = Instance.new("Sparkles")
- f.Name = "FusSparkles"
- f.SparkleColor = Color3.new(1, 1, 1)
- f.Parent = fus
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "Sphere"
- mesh.Parent = fus
- local bp = Instance.new("BodyPosition")
- bp.position = p.Character.Head.Position
- bp.maxForce = Vector3.new(0, math.huge, 0)
- bp.Parent = fus
- fus.Parent = workspace
- fus.Touched:connect(function(part) nahled(part) end)
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- for i = 1, 19 do
- wait(0.01)
- local cf = fus.CFrame
- fus.Size = fus.Size + Vector3.new(1, 1, -1)
- fus.CFrame = cf
- end
- wait(3)
- for i = 1, 40 do
- fus.Transparency = fus.Transparency + 0.1
- wait(0.1)
- end
- wait()
- fus.Transparency = 1
- f:remove()
- fus:remove()
- go = true
- end))
- game:GetService("Debris"):AddItem(fus, 15)
- elseif string.find(msg, "bex") and go == true then
- go = false
- fus = Instance.new("Part")
- fus.formFactor = "Custom"
- fus.Size = Vector3.new(1, 1, 4)
- fus.TopSurface = "Smooth"
- fus.BottomSurface = "Smooth"
- fus.Anchored = false
- fus.CanCollide = false
- fus.BrickColor = BrickColor.new("White")
- fus.Transparency = 0.7
- fus.Reflectance = 0.5
- fus.CFrame = p.Character.Head.CFrame * CFrame.new(0, 0, -4)
- fus.Velocity = (p.Character.Head.Position - fus.Position).unit * -150
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "Sphere"
- mesh.Parent = fus
- local bp = Instance.new("BodyPosition")
- bp.position = p.Character.Head.Position
- bp.maxForce = Vector3.new(0, math.huge, 0)
- bp.Parent = fus
- fus.Parent = workspace
- fus.Touched:connect(function(part) bexed(part) end)
- coroutine.resume(coroutine.create(function()
- wait(1)
- for i = 1, 40 do
- fus.Transparency = fus.Transparency + 0.1
- wait(0.1)
- end
- wait()
- fus.Transparency = 1
- fus:remove()
- go = true
- end))
- game:GetService("Debris"):AddItem(fus, 15)
- end
- end)
- function bexed(part)
- if part.Parent then
- if part.Name == "Door" then
- local d = part:clone()
- coroutine.resume(coroutine.create(function()
- repeat
- part.Transparency = part.Transparency + 0.05
- wait()
- until part.Transparency >= 1
- part.Anchored = true
- part.CanCollide = false
- wait(3)
- repeat
- part.Transparency = part.Transparency - 0.05
- wait()
- until part.Transparency <= d.Transparency
- part.Transparency = d.Transparency
- if d.CanCollide == true then
- part.CanCollide = true
- end
- if d.Anchored == true then
- part.Anchored = d.Anchored
- end
- end))
- end
- end
- end
- function nahled(part)
- if workspace:findFirstChild("Base") ~= nil then
- if part.Parent then
- if part.Parent:findFirstChild("Humanoid") ~= nil and part.Parent:findFirstChild("Torso") ~= nil and part.Parent ~= p.Character then
- part.Parent.Torso.CFrame = workspace.Base.CFrame * CFrame.new(0, 5, 0)
- end
- end
- end
- end
- function kaaned(part)
- if part.Parent then
- if part.Parent:findFirstChild("Humanoid") ~= nil and part.Parent:findFirstChild("Torso") ~= nil and part.Parent ~= p.Character then
- if part.Parent:findFirstChild("Kaaned") == nil then
- local k = Instance.new("IntValue", part.Parent)
- k.Name = "Kaaned"
- game:GetService("Debris"):AddItem(k, 2)
- local hum = part.Parent.Humanoid
- local speed = hum.WalkSpeed
- coroutine.resume(coroutine.create(function()
- hum.WalkSpeed = 0
- wait(10)
- hum.WalkSpeed = speed
- end))
- end
- end
- end
- end
- function joored(part, shout)
- shout.Anchored = false
- shout.CanCollide = false
- if part.Parent then
- if part.Parent:findFirstChild("Humanoid") ~= nil and part.Parent:findFirstChild("Torso") ~= nil and part.Parent ~= p.Character then
- if part.Parent:findFirstChild("Joored") == nil then
- local j = Instance.new("IntValue", part.Parent)
- j.Name = "Joored"
- game:GetService("Debris"):AddItem(j, 2)
- local hum = part.Parent.Humanoid
- tag(hum)
- hum.Parent:BreakJoints()
- for a, b in pairs(hum.Parent:children()) do
- if b.className == "Part" then
- b.Velocity = (p.Character.Torso.Position - b.Position).unit * -50
- local f = Instance.new("Fire", b)
- f.Color = Color3.new(0, 0, 0)
- f.SecondaryColor = Color3.new(0, 0, 0)
- f.Heat = 0
- f.Size = ":GetMass()"
- local bf = Instance.new("BodyVelocity")
- bf.Parent = b
- bf.P = 196*b:GetMass()
- bf.maxForce = Vector3.new(0, 196*b:GetMass(), 0)
- bf.velocity = Vector3.new(0, 196*b:GetMass(), 0)
- elseif b.className == "Hat" then
- local b = b.Handle
- b.Velocity = (p.Character.Torso.Position - b.Position).unit * -50
- local f = Instance.new("Fire", b)
- f.Color = Color3.new(0, 0, 0)
- f.SecondaryColor = Color3.new(0, 0, 0)
- f.Heat = 0
- f.Size = 3
- local bf = Instance.new("BodyVelocity")
- bf.Parent = b
- bf.P = 196*b:GetMass()
- bf.maxForce = Vector3.new(0, 196*b:GetMass(), 0)
- bf.velocity = Vector3.new(0, 196*b:GetMass(), 0)
- elseif b.className == "ForceField" then
- b:remove()
- local e = Instance.new("Explosion", hum.Parent.Torso)
- e.BlastRadius = 1
- e.BlastPressure = 1
- e.position = hum.Parent.Torso.Position
- end
- end
- end
- end
- end
- end
- function toored(part, m)
- if part.Name ~= "FusRock" and part.Name ~= "ToorCloud" and part.CanCollide == true then
- m.Anchored = true
- m.CanCollide = true
- if m:findFirstChild("Touched") == nil then
- Instance.new("IntValue", m).Name = "Touched"
- m.CFrame = CFrame.new(m.Position.x, part.Position.y, m.Position.z)
- end
- local e = Instance.new("Explosion")
- e.BlastPressure = 50000
- e.BlastRadius = 15
- e.Position = m.Position
- e.Parent = m
- e.Hit:connect(function(hit)
- if hit.Parent then
- if hit.Parent:findFirstChild("Humanoid") ~= nil then
- tag(hit.Parent.Humanoid)
- end
- end
- end)
- end
- end
- function faased(part)
- if part.Parent then
- if part.Parent:findFirstChild("Humanoid") ~= nil and part.Parent:findFirstChild("Torso") ~= nil then
- if part.Parent:findFirstChild("Faased") == nil then
- local f = Instance.new("IntValue", part.Parent)
- f.Name = "Faased"
- game:GetService("Debris"):AddItem(f, 2)
- local hum = part.Parent.Humanoid
- local speed = hum.WalkSpeed --Speed prior to fleeing
- hum.WalkSpeed = speed * -1
- game:GetService("Chat"):Chat(hum.Parent.Head, "Ahh!!!", "Red")
- for i = 1, 10 do
- hum:MoveTo(hum.Parent.Torso.Position + Vector3.new(math.random(-30, 30), 0, math.random(-30, 20)), hum.Parent.Torso)
- wait(math.random(1, 2))
- end
- hum.WalkSpeed = speed
- hum:MoveTo(hum.Parent.Torso.Position, hum.Parent.Torso)
- end
- end
- end
- end
- function struned(part, lightning)
- if part.Parent then
- if part.Parent:findFirstChild("Humanoid") ~= nil then
- local hum = part.Parent.Humanoid
- tag(part.Parent.Humanoid)
- local e = Instance.new("Explosion")
- e.position = part.Position
- e.BlastPressure = 35000
- e.BlastRadius = 2
- e.Parent = part
- hum:TakeDamage(math.huge)
- for a, b in pairs(hum.Parent:children()) do
- if b.className == "Part" then
- Instance.new("Fire", part).Size = part:GetMass()
- end
- end
- end
- end
- end
- function kriied(part, shout)
- if part.Parent then
- if part.Parent == p.Character then return end
- if part.Parent:findFirstChild("Humanoid") ~= nil and part.Parent:findFirstChild(p.Name.. "Kriied") == nil then
- Instance.new("IntValue", part.Parent).Name = p.Name.. "Kriied"
- local hum = part.Parent.Humanoid
- hum.MaxHealth = hum.MaxHealth - 75
- hum.Health = hum.MaxHealth
- for i = 1, 60 do
- tag(part.Parent.Humanoid)
- hum:TakeDamage(1.5)
- wait(1)
- end
- hum.MaxHealth = hum.MaxHealth + 75
- end
- end
- end
- function zuned(part, shout)
- if part.Parent == p.Character then return end
- if part.Parent then
- if part.Parent:findFirstChild("Humanoid") ~= nil then
- for a, b in pairs(part.Parent:children()) do
- if b.className == "Tool" then
- if b:findFirstChild("Handle") ~= nil then
- b.Parent = workspace
- wait()
- b.Handle.Velocity = (b.Handle.Position - p.Character.Torso.Position).unit * -100
- repeat
- shout.Size = shout.Size - Vector3.new(1, 1, 1)
- wait(0.1)
- until shout.Shout.Size == Vector3.new(1, 1, 1)
- shout:remove()
- end
- end
- end
- end
- end
- end
- function foed(part, shout)
- if part.Parent == p.Character then return end
- if part.Parent:findFirstChild("Humanoid") ~= nil then
- local hum = part.Parent.Humanoid
- hum.Sit = true
- hum:TakeDamage(7.5)
- if hum.Parent:findFirstChild(p.Name.. "Foed") == nil then
- hum.WalkSpeed = 8
- local foer = Instance.new("IntValue", workspace)
- foer.Name = p.Name.. "Foed"
- game:GetService("Debris"):AddItem(foer, 2)
- wait(5)
- hum.WalkSpeed = 16
- hum.Sit = false
- end
- shout:remove()
- end
- end
- function yoled(part)
- if part.Parent == p.Character then return end
- if part.Parent:findFirstChild("Humanoid") ~= nil then
- local f = Instance.new("Fire", part)
- f.Size = part:GetMass()
- f.Heat = 100
- game:GetService("Debris"):AddItem(f, 10)
- if part:findFirstChild(p.Name.. "Yoled") == nil then
- local tag = Instance.new("IntValue")
- tag.Name = p.Name.. "Yoled"
- tag.Parent = part
- game:GetService("Debris"):AddItem(tag, 2)
- end
- tag(part.Parent.Humanoid)
- part.Parent.Humanoid:TakeDamage(7.5)
- end
- end
- function lized(part)
- if part.Parent then
- if part.Parent == p.Character then return end
- if part.Parent:findFirstChild("Humanoid") ~= nil then
- if part.Parent:findFirstChild("Lized") ~= nil then return end
- local Lizvictim = Instance.new("IntValue")
- Lizvictim.Name = "Lized"
- Lizvictim.Parent = part.Parent
- game:GetService("Debris"):AddItem(Lizvictim, 10)
- part.Parent.Animate.Disabled = true
- part.Parent.Humanoid.PlatformStand = true
- local speed = part.Parent.Humanoid.WalkSpeed
- part.Parent.Humanoid.WalkSpeed = 0
- wait(0.01)
- part.Parent.Torso.Velocity = (fus.Position - part.Parent.Torso.Position).unt * -50
- tag(part.Parent.Humanoid)
- part.Parent.Humanoid:TakeDamage(part.Parent.Humanoid.MaxHealth/2)
- for a, b in pairs(part.Parent:children()) do
- if b:findFirstChild("Fire") ~= nil then
- b.Fire:remove()
- end
- local frost = Instance.new("Part")
- frost.Name = "Frost"
- frost.formFactor = "Custom"
- frost.BrickColor = BrickColor.new("Pastel blue-green")
- frost.Reflectance = 0.5
- frost.Transparency = 0.6
- frost.Anchored = false
- frost.CanCollide = true
- if b.className == "Part" then
- frost.Size = b.Size + Vector3.new(0.5, 0.5, 0.5)
- local w = Instance.new("Weld")
- w.Part0 = b
- w.Part1 = frost
- w.Parent = frost
- frost.Parent = part.Parent
- game:GetService("Debris"):AddItem(frost, 10)
- end
- end
- wait(10)
- part.Parent.Humanoid.PlatformStand = false
- part.Parent.Animate.Disabled = false
- part.Parent.Humanoid.WalkSpeed = speed
- end
- end
- end
- function fused(part)
- if part.Parent then
- if part.Parent == p.Character then return end
- if part.Parent:findFirstChild("Humanoid") ~= nil then
- if part.Parent:findFirstChild(p.Name.. "Fused") ~= nil then return end
- local fusvictim = Instance.new("IntValue")
- fusvictim.Name = p.Name.. "Fused"
- fusvictim.Parent = part.Parent
- game:GetService("Debris"):AddItem(fusvictim, 2)
- part.Parent.Humanoid.Sit = true
- tag(part.Parent.Humanoid)
- part.Parent.Humanoid:TakeDamage(part.Parent.Humanoid.MaxHealth/4)
- for a, b in pairs(part.Parent:children()) do
- if b.className == "Part" then
- b.Velocity = fus.Velocity
- elseif b.className == "Hat" then
- b.Handle.Velocity = fus.Velocity
- end
- end
- wait(2)
- part.Parent.Humanoid.Sit = false
- elseif part.Anchored == false and part.Parent:findFirstChild("Humanoid") == nil then
- part.Velocity = fus.Velocity
- end
- end
- end
- function tag(victim)
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = p
- creator_tag.Name = "creator"
- creator_tag.Parent = victim
- game:GetService("Debris"):AddItem(creator_tag, 1)
- end
- --[Skyrim Shouting Rules.]]--
- function chatfunc(text)
- local chat = coroutine.wrap(function()
- if char:FindFirstChild("TalkingBillBoard") ~= nil then
- char:FindFirstChild("TalkingBillBoard"):Destroy()
- end
- local naeeym2 = Instance.new("BillboardGui",char)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Adornee = char.Head
- naeeym2.Name = "TalkingBillBoard"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "Fantasy"
- tecks2.TextSize = 30
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = Color3.new(.6,0,0)
- tecks2.TextStrokeColor3 = Color3.new(0,0,0)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- local tecks3 = Instance.new("TextLabel",naeeym2)
- tecks3.BackgroundTransparency = 1
- tecks3.BorderSizePixel = 0
- tecks3.Text = ""
- tecks3.Font = "Fantasy"
- tecks3.TextSize = 30
- tecks3.TextStrokeTransparency = 0
- tecks3.TextColor3 = Color3.new(0,0,0)
- tecks3.TextStrokeColor3 = Color3.new(1,1,1)
- tecks3.Size = UDim2.new(1,0,0.5,0)
- for i = 1,string.len(text),1 do
- tecks2.Text = string.sub(text,1,i)
- tecks3.Text = string.sub(text,1,i)
- talksound:Play()
- wait(0.01)
- end
- wait(2)
- for i = 1, 50 do
- swait()
- tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
- tecks2.Rotation = tecks2.Rotation - .8
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks2.TextTransparency = tecks2.TextTransparency + .04
- tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
- tecks3.Rotation = tecks2.Rotation + .8
- tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks3.TextTransparency = tecks2.TextTransparency + .04
- end
- naeeym2:Destroy()
- end)
- chat()
- end
- function onChatted(msg)
- chatfunc(msg)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement