Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --natsu
- local asin = math.asin
- local atan2 = math.atan2
- local rad = math.rad
- local sin = math.sin
- local abs = math.abs
- local ceil = math.ceil
- local function getAngles(cf)
- local sx,sy,sz,m00,m01,m02,m10,m11,m12,m20,m21,m22 = cf:components()
- return atan2(-m12,m22),asin(m02),atan2(-m01,m00)
- end
- Lerp = {
- Number = function(C1,C2,inc)
- return C1 + (C2 - C1) * inc
- end;
- CFrame = function(a,b,m)
- local c,d={a:components()},{b:components()}
- table.foreach(c,function(a,b)c[a]=c[a]+(d[a]-c[a])*m end)
- return CFrame.new(unpack(c))
- end;
- }
- local function genWeld(a,b)
- local w = Instance.new("Weld",a)
- w.Part0 = a
- w.Part1 = b
- return w
- end
- Weld = function(p0,p1,x,y,z,rx,ry,rz,par)
- local w = Instance.new('Motor',par or p0)
- w.Part0 = p0
- w.Part1 = p1
- w.C1 = CFrame.new(x,y,z)*CFrame.Angles(rx,ry,rz)
- return w
- end
- anglespeed = 1
- yeet = 0
- count = 0
- angle = 0
- speed = 1
- local plr=game.Players.LocalPlayer
- local chr=plr.Character
- local torso=chr.Torso
- local flameclr = Color3.new(0,0,0)
- local mouse=plr:GetMouse()
- local running = false
- local Neck = genWeld(chr.Torso,chr.Head)
- Neck.C0 = CFrame.new(0,1,0)
- Neck.C1 = CFrame.new(0,-0.5,0)
- local LeftShoulder = genWeld(chr.Torso,chr['Left Arm'])
- LeftShoulder.C0 = CFrame.new(-1,0.5,0)
- LeftShoulder.C1 = CFrame.new(0.5,0.5,0)
- RightShoulder = genWeld(chr.Torso,chr['Right Arm'])
- RightShoulder.C0 = CFrame.new(1,0.5,0)
- RightShoulder.C1 = CFrame.new(-0.5,0.5,0)
- local LeftHip = genWeld(chr.Torso,chr['Left Leg'])
- LeftHip.C0 = CFrame.new(-1,-1,0)
- LeftHip.C1 = CFrame.new(-0.5,1,0)
- local RightHip = genWeld(chr.Torso,chr['Right Leg'])
- RightHip.C0 = CFrame.new(1,-1,0)
- RightHip.C1 = CFrame.new(0.5,1,0)
- local RootJoint = genWeld(chr.HumanoidRootPart,chr.Torso)
- RootJoint.C0 = CFrame.new(0,0,0) * CFrame.Angles(-math.pi/2,0,math.pi)
- RootJoint.C1 = CFrame.new(0,0,0) * CFrame.Angles(-math.pi/2,0,math.pi)
- local function newLerpTo(weld)
- return {
- Weld = weld; -- The weld that will lerp
- To = weld.C0; -- Where it will lerp to; a CFrame
- Cache = weld.C0; -- Cache of original position; it helps when making anim keyframes
- Speed = 0.1; -- Speed of lerp. 0.1 or 0.2 is best
- }
- end
- LerpTo = {
- Neck = newLerpTo(Neck);
- LeftArm = newLerpTo(LeftShoulder);
- RightArm = newLerpTo(RightShoulder);
- LeftLeg = newLerpTo(LeftHip);
- RightLeg = newLerpTo(RightHip);
- RootJoint = newLerpTo(RootJoint);
- }
- local makeflame = function(part,heat,size)
- flame = Instance.new("Fire",part)
- flame.Heat=heat
- flame.Size=size
- end
- local rf = Instance.new("Part",chr)
- rf.CanCollide = false
- rf.Transparency=1
- rf.FormFactor="Custom"
- rf.Size=Vector3.new(1,1,1)
- rf.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= plr.Name then
- hit.Parent.Humanoid:TakeDamage(10)
- end
- end)
- makeflame(rf,0,5)
- Weld(rf,chr['Right Arm'],0,-.75,0,0,0,0,rf)
- local lf = Instance.new("Part",chr)
- lf.CanCollide = false
- lf.Transparency=1
- lf.FormFactor="Custom"
- lf.Size=Vector3.new(1,1,1)
- lf.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= plr.Name then
- hit.Parent.Humanoid:TakeDamage(10)
- end
- end)
- makeflame(lf,0,5)
- Weld(lf,chr['Left Arm'],0,-.75,0,0,0,0,rf)
- for _, child in pairs(chr:GetChildren()) do
- if child.ClassName == 'CharacterMesh' then
- child:Destroy()
- for _, child in pairs(chr:GetChildren()) do
- if child.ClassName == 'Hat' then
- child:Destroy()
- end
- end
- end
- end
- for i,v in pairs(chr:GetChildren()) do
- if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("Hat") then
- v:Destroy()
- end
- end
- local ab = Instance.new("Decal")
- ab.Parent = chr.Torso
- ab.Texture = "http://www.roblox.com/asset/?id=200264388"
- ---Start Of Shirt---
- local r = Instance.new("Part")
- r.Parent = chr
- r.FormFactor = "Custom"
- r.Size = Vector3.new(0.6, 1.81, 1.01)
- r.BottomSurface = "Smooth"
- r.TopSurface = "Smooth"
- r.BrickColor = BrickColor.new("Black")
- local wr = Instance.new("Weld")
- wr.Parent = r
- wr.Part0 = chr["Torso"]
- wr.Part1 = r
- wr.C0 = CFrame.new(0.8, 0.1, 0) *CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local r2 = Instance.new("Part")
- r2.Parent = chr
- r2.FormFactor = "Custom"
- r2.Size = Vector3.new(0.6, 1.81, 1.01)
- r2.BottomSurface = "Smooth"
- r2.TopSurface = "Smooth"
- r2.BrickColor = BrickColor.new("Black")
- local wr2 = Instance.new("Weld")
- wr2.Parent = r2
- wr2.Part0 = chr["Torso"]
- wr2.Part1 = r2
- wr2.C0 = CFrame.new(-0.8, 0.1, 0) *CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local s = Instance.new("Part")
- s.Parent = chr
- s.FormFactor = "Custom"
- s.Size = Vector3.new(0.2, 1.85, 0.55)
- s.BottomSurface = "Smooth"
- s.TopSurface = "Smooth"
- s.BrickColor = BrickColor.new("Bright orange")
- local ws = Instance.new("Weld")
- ws.Parent = s
- ws.Part0 = chr["Torso"]
- ws.Part1 = s
- ws.C0 = CFrame.new(0.4, 0.1, -0.25) *CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local s2 = Instance.new("Part")
- s2.Parent = chr
- s2.FormFactor = "Custom"
- s2.Size = Vector3.new(0.2, 1.85, 0.55)
- s2.BottomSurface = "Smooth"
- s2.TopSurface = "Smooth"
- s2.BrickColor = BrickColor.new("Bright orange")
- local ws2 = Instance.new("Weld")
- ws2.Parent = s2
- ws2.Part0 = chr["Torso"]
- ws2.Part1 = s2
- ws2.C0 = CFrame.new(-0.4, 0.1, -0.25) *CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local s3 = Instance.new("Part")
- s3.Parent = chr
- s3.FormFactor = "Custom"
- s3.Size = Vector3.new(0.65, 0.2, 1.05)
- s3.BottomSurface = "Smooth"
- s3.TopSurface = "Smooth"
- s3.BrickColor = BrickColor.new("Bright orange")
- local ws3 = Instance.new("Weld")
- ws3.Parent = s3
- ws3.Part0 = chr["Torso"]
- ws3.Part1 = s3
- ws3.C0 = CFrame.new(0.8, -0.725, 0) *CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local s4 = Instance.new("Part")
- s4.Parent = chr
- s4.FormFactor = "Custom"
- s4.Size = Vector3.new(0.65, 0.2, 1.05)
- s4.BottomSurface = "Smooth"
- s4.TopSurface = "Smooth"
- s4.BrickColor = BrickColor.new("Bright orange")
- local ws4 = Instance.new("Weld")
- ws4.Parent = s4
- ws4.Part0 = chr["Torso"]
- ws4.Part1 = s4
- ws4.C0 = CFrame.new(-0.8, -0.725, 0) *CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local rb = Instance.new("Part")
- rb.Parent = chr
- rb.FormFactor = "Custom"
- rb.Size = Vector3.new(1, 1.81, 0.55)
- rb.BottomSurface = "Smooth"
- rb.TopSurface = "Smooth"
- rb.BrickColor = BrickColor.new("Black")
- local wrb = Instance.new("Weld")
- wrb.Parent = rb
- wrb.Part0 = chr["Torso"]
- wrb.Part1 = rb
- wrb.C0 = CFrame.new(0, 0.1, 0.23) *CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local sb = Instance.new("Part")
- sb.Parent = chr
- sb.FormFactor = "Custom"
- sb.Size = Vector3.new(1, 0.2, 0.55)
- sb.BottomSurface = "Smooth"
- sb.TopSurface = "Smooth"
- sb.BrickColor = BrickColor.new("Bright orange")
- local wsb = Instance.new("Weld")
- wsb.Parent = sb
- wsb.Part0 = chr["Torso"]
- wsb.Part1 = sb
- wsb.C0 = CFrame.new(0, -0.725, 0.25) *CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local b = Instance.new("Part")
- b.Parent = chr
- b.FormFactor = "Custom"
- b.Size = Vector3.new(2.02, 0.2, 1.05)
- b.BottomSurface = "Smooth"
- b.TopSurface = "Smooth"
- b.BrickColor = BrickColor.new("Brown")
- local wb = Instance.new("Weld")
- wb.Parent = b
- wb.Part0 = chr["Torso"]
- wb.Part1 = b
- wb.C0 = CFrame.new(0, -0.925, 0) *CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local t = Instance.new("Part")
- t.Transparency = 1
- t.Parent = chr
- t.FormFactor = "Custom"
- t.Size = Vector3.new(0.3, 0.5, 0.5)
- t.BottomSurface = "Smooth"
- t.TopSurface = "Smooth"
- t.BrickColor = BrickColor.new("Brown")
- local wt = Instance.new("Weld")
- wt.Parent = t
- wt.Part0 = chr["Right Arm"]
- wt.Part1 = t
- wt.C0 = CFrame.new(0.4, 0.6, 0) *CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local td = Instance.new("Decal")
- td.Parent = t
- td.Face = "Right"
- td.Texture = "http://www.roblox.com/asset/?id=200254167"
- ---Start Of Pants---
- local pp = Instance.new("Part")
- pp.Locked = true
- pp.Name = "pp"
- pp.Parent = chr
- pp.FormFactor = "Custom"
- pp.Size = Vector3.new (1.04, 0.2, 1.05)
- pp.BrickColor = BrickColor.new ("Black")
- pp.Material = "Neon"
- pp.TopSurface = "Smooth"
- pp.BottomSurface = "Smooth"
- pp.CanCollide = false
- local ppw = Instance.new("Weld")
- ppw.Parent = chr
- ppw.Part0 = pp.Parent["Right Leg"]
- ppw.Part1 = pp
- ppw.C0 = CFrame.new(0, -0.901, 0) *CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local pq = Instance.new("Part")
- pq.Locked = true
- pq.Name = "pq"
- pq.Parent = chr
- pq.FormFactor = "Custom"
- pq.Size = Vector3.new (1.04, 0.2, 1.05)
- pq.BrickColor = BrickColor.new ("Black")
- pq.Material = "Neon"
- pq.TopSurface = "Smooth"
- pq.BottomSurface = "Smooth"
- pq.CanCollide = false
- local pqw = Instance.new("Weld")
- pqw.Parent = chr
- pqw.Part0 = pq.Parent["Left Leg"]
- pqw.Part1 = pq
- pqw.C0 = CFrame.new(0, -0.901, 0) *CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local pr = Instance.new("Part")
- pr.Locked = true
- pr.Name = "pr"
- pr.Parent = chr
- pr.FormFactor = "Custom"
- pr.Size = Vector3.new (1.04, 0.2, 0.23)
- pr.BrickColor = BrickColor.new ("Black")
- pr.Material = "Neon"
- pr.TopSurface = "Smooth"
- pr.BottomSurface = "Smooth"
- pr.CanCollide = false
- local prw = Instance.new("Weld")
- prw.Parent = chr
- prw.Part0 = pr.Parent["Right Leg"]
- prw.Part1 = pr
- prw.C0 = CFrame.new(0, -0.801, -0.23) *CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local ps = Instance.new("Part")
- ps.Locked = true
- ps.Name = "ps"
- ps.Parent = chr
- ps.FormFactor = "Custom"
- ps.Size = Vector3.new (1.04, 0.2, 0.23)
- ps.BrickColor = BrickColor.new ("Black")
- ps.Material = "Neon"
- ps.TopSurface = "Smooth"
- ps.BottomSurface = "Smooth"
- ps.CanCollide = false
- local psw = Instance.new("Weld")
- psw.Parent = chr
- psw.Part0 = ps.Parent["Left Leg"]
- psw.Part1 = ps
- psw.C0 = CFrame.new(0, -0.801, -0.23) *CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local pt = Instance.new("Part")
- pt.Locked = true
- pt.Name = "pt"
- pt.Parent = chr
- pt.FormFactor = "Custom"
- pt.Size = Vector3.new (1.04, 0.2, 0.4)
- pt.BrickColor = BrickColor.new ("Black")
- pt.Material = "Neon"
- pt.TopSurface = "Smooth"
- pt.BottomSurface = "Smooth"
- pt.CanCollide = false
- local ptw = Instance.new("Weld")
- ptw.Parent = chr
- ptw.Part0 = pt.Parent["Right Leg"]
- ptw.Part1 = pt
- ptw.C0 = CFrame.new(0, -0.601, -0.32) *CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local pu = Instance.new("Part")
- pu.Locked = true
- pu.Name = "pu"
- pu.Parent = chr
- pu.FormFactor = "Custom"
- pu.Size = Vector3.new (1.04, 0.2, 0.4)
- pu.BrickColor = BrickColor.new ("Black")
- pu.Material = "Neon"
- pu.TopSurface = "Smooth"
- pu.BottomSurface = "Smooth"
- pu.CanCollide = false
- local puw = Instance.new("Weld")
- puw.Parent = chr
- puw.Part0 = pu.Parent["Left Leg"]
- puw.Part1 = pu
- puw.C0 = CFrame.new(0, -0.601, -0.32) *CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local sk = Instance.new("Part")
- sk.Parent = chr
- sk.FormFactor = "Custom"
- sk.Size = Vector3.new(1.01, 1.01, 1.01)
- sk.BottomSurface = "Smooth"
- sk.TopSurface = "Smooth"
- sk.BrickColor = BrickColor.new("Black")
- local wsk = Instance.new("Weld")
- wsk.Parent = sk
- wsk.Part0 = chr["Right Leg"]
- wsk.Part1 = sk
- wsk.C0 = CFrame.new(0, 0.5, 0) *CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local sk2 = Instance.new("Part")
- sk2.Parent = chr
- sk2.FormFactor = "Custom"
- sk2.Size = Vector3.new(1.01, 1.01, 1.01)
- sk2.BottomSurface = "Smooth"
- sk2.TopSurface = "Smooth"
- sk2.BrickColor = BrickColor.new("Black")
- local wsk2 = Instance.new("Weld")
- wsk2.Parent = sk2
- wsk2.Part0 = chr["Left Leg"]
- wsk2.Part1 = sk2
- wsk2.C0 = CFrame.new(0, 0.5, 0) *CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local sk3 = Instance.new("Part")
- sk3.Parent = chr
- sk3.FormFactor = "Custom"
- sk3.Size = Vector3.new(1.05, 0.2, 1.05)
- sk3.BottomSurface = "Smooth"
- sk3.TopSurface = "Smooth"
- sk3.BrickColor = BrickColor.new("Bright orange")
- local wsk3 = Instance.new("Weld")
- wsk3.Parent = sk3
- wsk3.Part0 = chr["Right Leg"]
- wsk3.Part1 = sk3
- wsk3.C0 = CFrame.new(0, 0.05, 0) *CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local sk4 = Instance.new("Part")
- sk4.Parent = chr
- sk4.FormFactor = "Custom"
- sk4.Size = Vector3.new(1.05, 0.2, 1.05)
- sk4.BottomSurface = "Smooth"
- sk4.TopSurface = "Smooth"
- sk4.BrickColor = BrickColor.new("Bright orange")
- local wsk4 = Instance.new("Weld")
- wsk4.Parent = sk4
- wsk4.Part0 = chr["Left Leg"]
- wsk4.Part1 = sk4
- wsk4.C0 = CFrame.new(0, 0.05, 0) *CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local sk5 = Instance.new("Part")
- sk5.Parent = chr
- sk5.FormFactor = "Custom"
- sk5.Size = Vector3.new(0.2, 0.9, 0.55)
- sk5.BottomSurface = "Smooth"
- sk5.TopSurface = "Smooth"
- sk5.BrickColor = BrickColor.new("Bright orange")
- local wsk5 = Instance.new("Weld")
- wsk5.Parent = sk5
- wsk5.Part0 = chr["Right Leg"]
- wsk5.Part1 = sk5
- wsk5.C0 = CFrame.new(-0.43, 0.57, -0.25) *CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local sk6 = Instance.new("Part")
- sk6.Parent = chr
- sk6.FormFactor = "Custom"
- sk6.Size = Vector3.new(0.2, 0.9, 0.55)
- sk6.BottomSurface = "Smooth"
- sk6.TopSurface = "Smooth"
- sk6.BrickColor = BrickColor.new("Bright orange")
- local wsk6 = Instance.new("Weld")
- wsk6.Parent = sk6
- wsk6.Part0 = chr["Left Leg"]
- wsk6.Part1 = sk6
- wsk6.C0 = CFrame.new(0.43, 0.57, -0.25) *CFrame.fromEulerAnglesXYZ(0, 0, 0)
- ---hair---
- local h = Instance.new("Part")
- h.Parent = chr
- h.FormFactor = "Custom"
- h.Size = Vector3.new(0.3, 0.5, 0.5)
- h.BottomSurface = "Smooth"
- h.TopSurface = "Smooth"
- h.BrickColor = BrickColor.new("Brown")
- local wh = Instance.new("Weld")
- wh.Parent = h
- wh.Part0 = chr["Head"]
- wh.Part1 = h
- wh.C0 = CFrame.new(0, 0.3, 0.2) *CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local mh = Instance.new("SpecialMesh")
- mh.TextureId = "http://www.roblox.com/asset/?id=41068173"
- mh.MeshId = "http://www.roblox.com/asset/?id=62246019"
- mh.Parent = h
- local anim = true
- local function updateanims()
- if anim==true then
- if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
- anglespeed = 1/3
- LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(sin(angle)*0.05,0,0)
- LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,0,0)
- LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(0),rad(0),rad(25))
- LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(0,0,rad(-25))
- LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(0,0,abs(sin(angle))*0.2)
- LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(0,0,-abs(sin(angle))*0.2)
- end
- if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 2 and running == false then
- anglespeed = 1.5
- LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,0,math.sin(angle)*0.05)
- LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,0,0)
- LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(0,0,rad(25))
- LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(0,0,rad(-25))
- LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(-sin(angle)*.8,0,0)
- LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(sin(angle)*.8,0,0)
- end
- if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 2 and running == true then
- anglespeed = 1.5
- LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(rad(45),0,math.sin(angle)*0.05)
- LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(math.pi/5,0,0)
- LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(-rad(45),0,rad(25))
- LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(-rad(45),0,rad(-25))
- LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(-sin(angle)*.8,0,0)
- LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(sin(angle)*.8,0,0)
- end
- end
- end
- attacking = false
- mouse.Button1Down:connect(function()
- if anim == true and attacking == false then
- anim = false
- attacking = true
- LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(90),rad(0),rad(0))
- wait(.5)
- LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(90),rad(0),rad(90))
- wait(.5)
- anim = true
- attacking = false
- end
- end)
- roar = function()
- if anim == true and attacking == false then
- anim = false
- attacking = true
- LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(rad(25),0,0)
- LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(math.pi/-5,0,0)
- LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(-45),rad(-45),rad(45))
- LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(rad(-45),rad(45),rad(-45))
- LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(rad(-45),rad(0),rad(0))
- LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(rad(-45),rad(0),rad(0))
- wait(.5)
- LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(rad(0),0,0)
- LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(rad(0),0,0)
- LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(135),rad(45),rad(-25))
- LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(rad(135),rad(-45),rad(25))
- LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(rad(0),rad(0),rad(0))
- LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(rad(0),rad(0),rad(0))
- wait(.5)
- for i = 1,25 do
- wait()
- part = Instance.new("Part",chr)
- part.CanCollide=false
- part.Transparency=1
- part.FormFactor="Custom"
- part.Size=Vector3.new(2,2,.2)
- part.Anchored = true
- part.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= plr.Name then
- hit.Parent.Humanoid:TakeDamage(50)
- end
- end)
- makeflame(part,0,i)
- part.CFrame = chr.Head.CFrame*CFrame.new(0,0,-i+-i/2)
- game.Debris:AddItem(part,5)
- end
- wait(.5)
- attacking = false
- anim = true
- end
- end
- local blaze = function()
- if attacking == false and anim == true then
- attacking = true
- anim = false
- LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.new(0,0,10)
- LerpTo.RightArm.To = LerpTo.RightArm.Cache*CFrame.Angles(rad(90),rad(0),rad(-45))
- LerpTo.LeftArm.To = LerpTo.LeftArm.Cache*CFrame.Angles(rad(90),rad(0),rad(45))
- wait(.5)
- shoot = Instance.new("Part",chr)
- shoot.Size=Vector3.new(30,30,30)
- shoot.CanCollide=false
- shoot.Transparency=1
- shoot.CFrame=chr.Torso.CFrame*CFrame.new(0,0,-2.5)
- makeflame(shoot,0,30)
- shoot.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= plr.Name then
- hit.Parent.Humanoid:TakeDamage(50)
- end
- end)
- x=Instance.new("Part",chr)
- x.CanCollide=false
- x.Transparency=1
- x.Position = mouse.Hit.p
- bp = Instance.new("BodyPosition",shoot)
- bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- bp.position = x.Position.Unit*80
- wait(.5)
- game.Debris:AddItem(Shoot,.5)
- game.Debris:AddItem(x,.5)
- LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.new(0,0,0)
- anim = true
- attacking = false
- end
- end
- local spin = function()
- if attacking == false and anim == true then
- anim = false
- attacking = true
- LerpTo.RightArm.To=LerpTo.RightArm.Cache*CFrame.Angles(0,0,rad(90))
- LerpTo.LeftArm.To=LerpTo.LeftArm.Cache*CFrame.Angles(0,0,rad(-90))
- LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,0,rad(270))
- wait(.1)
- LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,0,rad(180))
- wait(.1)
- LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,0,rad(90))
- wait(.1)
- LerpTo.RootJoint.To=LerpTo.RootJoint.Cache*CFrame.Angles(0,0,rad(0))
- wait(.1)
- attacking = false
- anim = true
- end
- end
- local spike = function()
- anim = false
- attacking = true
- LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(rad(25),0,0)
- LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(math.pi/-5,0,0)
- LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(-45),rad(-45),rad(45))
- LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(rad(-45),rad(45),rad(-45))
- LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(rad(-45),rad(0),rad(0))
- LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(rad(-45),rad(0),rad(0))
- local asd = Instance.new("Part",chr)
- asd.Transparency=1
- asd.Size=Vector3.new(30,30,30)
- asd.Anchored=true
- asd.CanCollide=false
- asd.CFrame=chr.Torso.CFrame
- makeflame(asd,0,30)
- asd.Touched:connect(function(hit)
- if hit.Parent.Name~=plr.Name and hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:BreakJoints()
- end
- end)
- wait(5)
- asd:Destroy()
- anim = true
- attacking = false
- end
- mouse.KeyDown:connect(function(key)
- if key == "q" then
- roar()
- elseif key == "e" then
- blaze()
- elseif key == "r" then
- spin()
- elseif key == "t" then
- spike()
- elseif key == "0" then
- running = true
- chr.Humanoid.WalkSpeed = 50
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key == "0" then
- running = false
- chr.Humanoid.WalkSpeed=16
- end
- end)
- Spawn(function()
- while wait()do
- angle = (angle % 100) + anglespeed/10 -- no matter whut it has to be in a loop or its on exticy
- for i,v in pairs(chr:GetChildren()) do
- if v:IsA("Part") and v:FindFirstChild("Fire") then
- v.Fire.Color=flameclr
- v.Fire.SecondaryColor=flameclr
- end
- end
- end
- end)
- meo=0
- sdeb=false
- game:service'RunService'.RenderStepped:connect(function()
- meo=meo+1
- for _,v in pairs(LerpTo) do
- v.Weld.C0 = Lerp.CFrame(v.Weld.C0,v.To,v.Speed)end
- updateanims()
- end)
- p = game.Players.LocalPlayer
- char = p.Character
- local char = p.Character
- torso = char.Torso
- neck = char.Torso.Neck
- hum = char.Humanoid
- Player = game:GetService("Players").LocalPlayer
- Character = Player.Character
- tors = Character.Torso
- root = Character.HumanoidRootPart
- lleg = Character["Left Leg"]
- hed = Character.Head
- rleg = Character["Right Leg"]
- rarm = Character["Right Arm"]
- larm = Character["Left Arm"]
- ypcall(function()
- for i,v in pairs(Character:children()) do
- if v:IsA("Hat") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Hair") then
- v:Destroy()
- end
- end
- end)
- CV="Hot pink"
- local txt = Instance.new("BillboardGui", char)
- txt.Adornee = char .Head
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Highway"
- text.TextStrokeColor3 = BrickColor.new("Really black").Color
- v=Instance.new("Part")
- v.Name = "ColorBrick"
- v.Parent=p.Character
- v.FormFactor="Symmetric"
- v.Anchored=true
- v.CanCollide=false
- v.BottomSurface="Smooth"
- v.TopSurface="Smooth"
- v.Size=Vector3.new(10,5,3)
- v.Transparency=1
- v.CFrame=char.Torso.CFrame
- v.BrickColor=BrickColor.new(CV)
- v.Transparency=1
- text.TextColor3 = BrickColor.new("Really Black").Color
- v.Shape="Block"
- text.Text = "The Immortal god"
- hed.face.Texture = "http://www.roblox.com/asset/?id=0"
- hed.Transparency = 1
- rleg.Transparency = 1
- rarm.Transparency = 1
- larm.Transparency = 1
- lleg.Transparency = 1
- tors.Transparency = 1
- Player = game:GetService("Players").LocalPlayer
- Character = Player.Character
- rarm = Character["Right Arm"]
- larm = Character["Left Arm"]
- vt = Vector3.new
- bc = BrickColor.new
- wit = bc("Smokey grey").Color
- local prth = Instance.new("Part",Character)
- prth.Size = vt(1.25,1.25,1.25)
- prth.CanCollide = false
- prth.Material = "Neon"
- prth.Transparency = 0.5
- prth.BrickColor = bc("Smokey grey")
- local wldh = Instance.new("Weld",Character)
- wldh.Part0 = hed
- wldh.Part1 = prth
- local prtrm = Instance.new("Part",Character)
- prtrm.Size = vt(2.1,2.1,1.1)
- prtrm.CanCollide = false
- prtrm.Transparency = 0.5
- prtrm.Material = "Neon"
- prtrm.BrickColor = bc("Smokey grey")
- local wldm = Instance.new("Weld",Character)
- wldm.Part0 = root
- wldm.Part1 = prtrm
- local prtr = Instance.new("Part",Character)
- prtr.Size = vt(1.1,2.1,1.1)
- prtr.CanCollide = false
- prtr.Transparency = 0.5
- prtr.Material = "Neon"
- prtr.BrickColor = bc("Smokey grey")
- local prtrl = Instance.new("Part",Character)
- prtrl.Size = vt(1.1,2.1,1.1)
- prtrl.CanCollide = false
- prtrl.Transparency = 0.5
- prtrl.Material = "Neon"
- prtrl.BrickColor = bc("Smokey grey")
- local eff = Instance.new("ParticleEmitter",prtr)
- eff.LightEmission = 1
- eff.Texture = "rbxassetid://284205403"
- eff.Color = ColorSequence.new(wit)
- eff.Size = NumberSequence.new(0.5,1)
- eff.Acceleration = vt(0,25,0)
- eff.Speed = NumberRange.new(-5)
- eff.LockedToPart = false
- eff.Transparency = NumberSequence.new(0.95)
- eff.Lifetime = NumberRange.new(0.5)
- eff.Rate = 100000
- eff.VelocitySpread = 25
- local wld = Instance.new("Weld",Character)
- wld.Part0 = rarm
- wld.Part1 = prtr
- local wldl = Instance.new("Weld",Character)
- wldl.Part0 = rleg
- wldl.Part1 = prtrl
- local prtr2 = Instance.new("Part",Character)
- prtr2.Size = vt(1.1,2.1,1.1)
- prtr2.CanCollide = false
- prtr2.Transparency = 0.5
- prtr2.Material = "Neon"
- prtr2.BrickColor = bc("Deep orange")
- local prtrl2 = Instance.new("Part",Character)
- prtrl2.Size = vt(1.1,2.1,1.1)
- prtrl2.CanCollide = false
- prtrl2.Transparency = 0.5
- prtrl2.Material = "Neon"
- prtrl2.BrickColor = bc("Smokey grey")
- local eff2 = Instance.new("ParticleEmitter",prtr2)
- eff2.LightEmission = 1
- eff2.Texture = "rbxassetid://284205403"
- eff2.Color = ColorSequence.new(wit)
- eff2.Size = NumberSequence.new(0.5,1)
- eff2.Acceleration = vt(0,25,0)
- eff2.Speed = NumberRange.new(-5)
- eff2.LockedToPart = false
- eff2.Transparency = NumberSequence.new(0.95)
- eff2.Lifetime = NumberRange.new(0.5)
- eff2.Rate = 100000
- eff2.VelocitySpread = 25
- local wld2 = Instance.new("Weld",Character)
- wld2.Part0 = larm
- wld2.Part1 = prtr2
- local wldl2 = Instance.new("Weld",Character)
- wldl2.Part0 = lleg
- wldl2.Part1 = prtrl2
- local mouse = game.Players.LocalPlayer:GetMouse()
- tors = game.Players.LocalPlayer.Character.Torso
- vt = Vector3.new
- bc = BrickColor.new
- local Effect = Instance.new("Part",game.Lighting)
- Effect.BrickColor = bc("Smokey grey")
- Effect.Transparency = 1
- Effect.Anchored = true
- Effect.CanCollide = false
- Effect.Material = "Neon"
- Effect.Shape = "Ball"
- Effect.Size = vt(5,5,5)
- local fire1 = Instance.new("Fire",Effect)
- fire1.Name = "Fire"
- fire1.Heat = 0
- fire1.Size = 30
- fire1.SecondaryColor = bc("Really black").Color
- fire1.Color = bc("Deep orange").Color
- local fire2 = Instance.new("Fire",Effect)
- fire2.Name = "Fire2"
- fire2.Heat = 0
- fire2.Size = 25
- fire2.SecondaryColor = bc("Really black").Color
- fire2.Color = bc("Neon orange").Color
- function Explode(rad,par)
- local expart = Instance.new("Part",script.Parent)
- local expart2 = Instance.new("Part",script.Parent)
- local snd = Instance.new("Sound",expart)
- snd.SoundId = "rbxassetid://258057783"
- snd.Volume = 2.5
- local partMesh = Instance.new("SpecialMesh",expart)
- partMesh.MeshType = "Sphere"
- local partMesh2 = Instance.new("SpecialMesh",expart2)
- partMesh2.MeshType = "Sphere"
- local expld = Instance.new("Explosion", script.Parent)
- expld.BlastRadius = rad
- expld.Position = par.Position
- partMesh.Scale = vt(rad,rad,rad)
- expart.Size = vt(1,1,1)*1.5
- expart.Transparency = 0.5
- expart.Anchored = true
- expart.Material = "Neon"
- expart.BrickColor = bc("Smokey grey")
- expart.CFrame = par.CFrame
- partMesh2.Scale = vt(rad,rad,rad)
- expart2.Size = vt(1.15,1.15,1.15)*1.5
- expart2.Transparency = 0.5
- expart2.Anchored = true
- expart2.Material = "Neon"
- expart2.BrickColor = bc("Bright orange")
- expart2.CFrame = par.CFrame
- snd:Play()
- for i = 0, 100 do
- expart.Transparency = expart.Transparency + 0.005
- partMesh.Scale = partMesh.Scale + vt(0.25,0.25,0.25)
- expart.CFrame = expart.CFrame
- expart2.Transparency = expart.Transparency + 0.005
- partMesh2.Scale = partMesh2.Scale + vt(0.25,0.25,0.25)
- expart2.CFrame = expart.CFrame
- wait(0)
- end
- snd.Parent = nil
- expart.Parent = nil
- expart2.Parent = nil
- expld.Parent = nil
- end
- function Explode2(rad,par)
- local expart = Instance.new("Part",script.Parent)
- local expart2 = Instance.new("Part",script.Parent)
- local snd = Instance.new("Sound",expart)
- snd.SoundId = "rbxassetid://165969964"
- snd.Volume = 3
- local partMesh = Instance.new("SpecialMesh",expart)
- partMesh.MeshType = "Sphere"
- local partMesh2 = Instance.new("SpecialMesh",expart2)
- partMesh2.MeshType = "Sphere"
- local expld = Instance.new("Explosion", script.Parent)
- expld.BlastRadius = rad
- expld.Position = par.Position
- partMesh.Scale = vt(rad,rad,rad)
- expart.Size = vt(1,1,1)*1.5
- expart.Transparency = 0.5
- expart.Anchored = true
- expart.Material = "Neon"
- expart.BrickColor = bc("Smokey grey")
- expart.CFrame = par.CFrame
- partMesh2.Scale = vt(rad,rad,rad)
- expart2.Size = vt(1.15,1.15,1.15)*1.5
- expart2.Transparency = 0.5
- expart2.Anchored = true
- expart2.Material = "Neon"
- expart2.BrickColor = bc("Bright orange")
- expart2.CFrame = par.CFrame
- snd:Play()
- for i = 0, 100 do
- expart.Transparency = expart.Transparency + 0.005
- partMesh.Scale = partMesh.Scale + vt(0.25,0.25,0.25)
- expart.CFrame = expart.CFrame
- expart2.Transparency = expart.Transparency + 0.005
- partMesh2.Scale = partMesh2.Scale + vt(0.25,0.25,0.25)
- expart2.CFrame = expart.CFrame
- wait(0)
- end
- snd.Parent = nil
- expart.Parent = nil
- expart2.Parent = nil
- expld.Parent = nil
- end
- mouse.KeyDown:connect(function(k)
- k = k:lower()
- if k == "q" then
- local spart = Effect:Clone()
- spart.Parent = game.Players.LocalPlayer.Character
- spart.Transparency = 0
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*5
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*15
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*25
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*35
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*45
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*55
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*65
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*75
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*85
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*95
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*105
- spart.Transparency = 1
- spart.Fire2:Destroy()
- spart.Fire:Destroy()
- Explode(25,spart)
- spart:Destroy()
- end
- if k == "e" then
- local spart = Effect:Clone()
- spart.Parent = game.Players.LocalPlayer.Character
- spart.Transparency = 0
- spart.Anchored = false
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*0
- spart.Position = spart.Position + vt(0,100,0)
- spart.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*150
- wait(1)
- spart.Transparency = 1
- spart.Fire2:Destroy()
- spart.Fire:Destroy()
- Explode2(75,spart)
- spart:Destroy()
- end
- if k == "r" then
- local ff = Instance.new("ForceField",game.Players.LocalPlayer.Character)
- game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*275
- wait(0.75)
- game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*-165
- Explode(30,game.Players.LocalPlayer.Character.Torso)
- wait(0.5)
- ff:Destroy()
- end
- if k == "f" then
- local ff = Instance.new("ForceField",game.Players.LocalPlayer.Character)
- for i = 0, 10 do
- game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,10,0)
- wait(0)
- end
- for i = 0, 5 do
- game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,1,0)
- wait(0)
- end
- game.Players.LocalPlayer.Character.Torso.Anchored = true
- wait(1.5)
- game.Players.LocalPlayer.Character.Torso.Anchored = false
- for i = 0, 10 do
- game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,-1,0)
- wait(0)
- end
- wait(0.25)
- Explode2(62.5,game.Players.LocalPlayer.Character.Torso)
- wait(0.5)
- ff:Destroy()
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- part = nil
- bp = nil
- particles = nil
- function clerp(a,b,c,d)
- for i = 0,d,.01 do
- a.CFrame = CFrame.new(b:lerp(c,i))
- wait()
- end
- end
- function slerp(a2,b2,c2,d2)
- for i2 = 0,d2,.01 do
- a2.CFrame = CFrame.new(b2:lerp(c2,i2))
- wait()
- end
- end
- mouse.KeyDown:connect(function(key)
- if key == "e" and plr.Character.Parent == workspace then
- plr.Character.Parent = workspace.Camera
- plr.Character.Archivable = true
- Instance.new("ForceField",plr.Character).Visible = false
- for y,t in pairs(plr.Character:GetChildren()) do
- if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
- t.Transparency = 0.5
- if t.Name == "Head" and t:FindFirstChild("face") then
- t.face.Transparency = 1
- end
- elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
- t.Handle.Transparency = 1
- end
- end
- elseif key == "z" and plr.Character.Parent == workspace.Camera and part == nil then
- plr.Character.Torso.CFrame = CFrame.new(Vector3.new(mouse.hit.p.X,mouse.hit.p.Y+1.5,mouse.hit.p.Z),plr.Character.Torso.CFrame.p)
- elseif key == "x" and plr.Character.Parent == workspace.Camera and part == nil then
- if plr.Character.Torso.Anchored == true then
- for y,t in pairs(plr.Character:GetChildren()) do
- if t:IsA("Part") then
- t.Anchored = false
- end
- end
- else
- for y,t in pairs(plr.Character:GetChildren()) do
- if t:IsA("Part") then
- t.Anchored = true
- end
- end
- end
- elseif key == "c" and plr.Character.Parent == workspace.Camera and part ~= nil then
- local clone = part:Clone()
- clone.Parent = workspace
- clone.Anchored = false
- clone:ClearAllChildren()
- clone.CanCollide = true
- bp.Parent = clone
- particles.Parent = clone
- if part.Parent:FindFirstChildOfClass("Humanoid") then
- part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false
- end
- part:Destroy()
- part = clone
- elseif key == "t" and plr.Character.Parent == workspace.Camera and part == nil then
- plr.Character.Parent = workspace
- plr.Character.Archivable = false
- plr.Character:FindFirstChildOfClass("ForceField"):Remove()
- for y,t in pairs(plr.Character:GetChildren()) do
- if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
- t.Transparency = 0
- if t.Name == "Head" and t:FindFirstChild("face") then
- t.face.Transparency = 0
- end
- elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
- t.Handle.Transparency = 0
- end
- end
- end
- end)
- mouse.Button1Down:connect(function()
- if plr.Character.Parent == workspace.Camera then
- if mouse ~= nil then
- if mouse.Target ~= nil then
- part = mouse.Target
- bp = Instance.new("BodyPosition",part)
- bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- bp.Position = part.Position
- particles = Instance.new("ParticleEmitter",part)
- particles.Color = ColorSequence.new(Color3.new(0,0,0))
- particles.Size = NumberSequence.new(1)
- particles.Texture = "rbxassetid://292289455"
- particles.VelocitySpread = 360
- particles.Speed = NumberRange.new(0)
- particles.RotSpeed = NumberRange.new(0)
- particles.Rotation = NumberRange.new(0)
- particles.Rate = 250
- particles.Lifetime = NumberRange.new(.2,.4)
- particles.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(.12,.688,0),NumberSequenceKeypoint.new(.891,.887,0),NumberSequenceKeypoint.new(1,1,0)})
- dwn = true
- end
- end
- while dwn == true do
- wait()
- bp.Position = mouse.hit.p
- if part then
- if part.Parent:FindFirstChildOfClass("Humanoid") then
- part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
- end
- end
- end
- end
- end)
- mouse.Button1Up:connect(function()
- dwn = false
- if part then if part.Parent:FindFirstChildOfClass("Humanoid") then part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false end part = nil end
- if bp then bp:Destroy() end
- if particles then particles:Destroy() end
- end)
- base = Instance.new("ScreenGui",plr.PlayerGui)
- bbg = Instance.new("BillboardGui",plr.Character.Head)
- bbg.Size = UDim2.new(0,200,0,50)
- bbg.StudsOffset = Vector3.new(0,3,0)
- bbgTl = Instance.new("TextLabel",bbg)
- bbgTl.BackgroundTransparency = 1
- bbgTl.Size = UDim2.new(10,0,1,0)
- bbgTl.Position = UDim2.new(-4.5,0,0,0)
- bbgTl.Font = "Code"
- bbgTl.Text = " "
- bbgTl.TextSize = 25
- bbgTl.TextStrokeColor3 = Color3.new(1,1,1)
- bbgTl.TextColor3 = Color3.new(201,201,201)
- bbgTl.TextStrokeTransparency = 0
- bbgTl.TextWrapped = true
- plr.Chatted:connect(function(msg)
- bbgTl.Text = msg
- wait(5)
- if bbgTl.Text == msg then
- bbgTl.Text = " "
- end
- end)
- touchCounter = 0
- while wait() do
- if plr.Character.Parent == workspace.Camera then
- local c = plr.Character:Clone()
- c:MakeJoints()
- for y,t in pairs(c:GetChildren()) do
- if t:IsA("Part") then
- t.CanCollide = false
- t.Anchored = true
- t.Transparency = 0.8
- t.TopSurface = "Smooth"
- t.BottomSurface = "Smooth"
- t.RightSurface = "Smooth"
- t.LeftSurface = "Smooth"
- t.FrontSurface = "Smooth"
- t.BackSurface = "Smooth"
- t.BrickColor = BrickColor.new("grey")
- if t.Name == "Head" and t:FindFirstChild("face") then
- t.face:Remove()
- elseif t.Name == "Torso" and t:FindFirstChild("roblox") then
- t.roblox:Remove()
- elseif t.Name == "HumanoidRootPart" then
- t:Remove()
- end
- else
- t:Remove()
- end
- end
- c.Parent = workspace
- game.Debris:AddItem(c,.05)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement