SHOW:
|
|
- or go back to the newest paste.
1 | - | function clerp(c1,c2,al) |
1 | + | wt = 0.05 s = script it = Instance.new v3 = Vector3.new c3 = Color3.new ud = UDim2.new cf = CFrame.new ca = CFrame.Angles pi = math.pi rd = math.rad |
2 | - | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} |
2 | + | bc = BrickColor.new ab = math.abs de = math.deg ts = tostring tn = tonumber ti = table.insert tr = table.remove |
3 | - | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} |
3 | + | cr = coroutine.resume cc = coroutine.create |
4 | - | for i,v in pairs(com1) do |
4 | + | asset = "http://www.roblox.com/asset/?id=" |
5 | - | com1[i] = v+(com2[i]-v)*al |
5 | + | sr = string.reverse sl = string.lower su = string.upper |
6 | - | end |
6 | + | Serv = {} Serv.p = game:GetService(sr("sreyalP")) Serv.l = game:GetService(sr("gnithgiL")) |
7 | - | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) |
7 | + | Serv.is = game:GetService(sr("ecivreStresnI")) if game:findFirstChild(sr("revreSkrowteN")) then Serv.ns = game:GetService(sr("revreSkrowteN")) else NetworkServer = nil end |
8 | Serv.sg = game:GetService(sr("iuGretratS")) Serv.sp = game:GetService(sr("kcaPretratS")) Serv.d = game:GetService(sr("sirbeD")) | |
9 | - | |
9 | + | Decs = {} |
10 | - | plr = game:service'Players'.LocalPlayer |
10 | + | Decs.Crack = "49173398" Decs.Cloud = "1095708" Decs.Spike = "1033714" Decs.Rock = "1290033" Decs.Crown = "1323306" |
11 | - | char = plr.Character |
11 | + | function ft(tablez,item) if not tablez or not item then return nil end for i=1,#tablez do if tablez[i] == item then return i end end return nil end |
12 | - | mouse = plr:GetMouse() |
12 | + | function re(par,obj) if type(par) ~= "userdata" or type(obj) ~= "string" then return nil end if par:findFirstChild(obj) then par[obj]:Remove() end end |
13 | - | humanoid = char:findFirstChild("Humanoid") |
13 | + | function pa(pa,sh,x,y,z,c,a,tr,re,bc2) local fp = nil if sh ~= "Wedge" and sh ~= "CornerWedge" then fp = it("Part",pa) fp.Shape = sh fp.formFactor = "Custom" elseif sh == "Wedge" then fp = it("WedgePart",pa) fp.formFactor = "Custom" |
14 | - | torso = char:findFirstChild("Torso") |
14 | + | elseif sh == "CornerWedge" then fp = it("CornerWedgePart",pa) end fp.Size = v3(x,y,z) fp.CanCollide = c fp.Anchored = false fp.BrickColor = bc(bc2) fp.Transparency = tr fp.Reflectance = re fp.BottomSurface = 0 |
15 | - | head = char.Head |
15 | + | fp.TopSurface = 0 fp.CFrame = t.CFrame + Vector3.new(0,50,0) fp.Velocity = Vector3.new(0,10,0) fp:BreakJoints() return fp end |
16 | - | ra = char:findFirstChild("Right Arm") |
16 | + | function clearit(tab) for xx=1,#tab do tab[xx]:Remove() end end |
17 | - | la = char:findFirstChild("Left Arm") |
17 | + | function weld(pa,p0,p1,x,y,z,a,b,c) local fw = it("Weld",pa) fw.Part0 = p0 fw.Part1 = p1 fw.C0 = cf(x,y,z) *ca(a,b,c) return fw end |
18 | - | rl = char:findFirstChild("Right Leg") |
18 | + | function spm(ty,pa,ss) local sp = it("SpecialMesh",pa) sp.MeshType = ty sp.Scale = Vector3.new(ss,ss,ss) end function mbm(pa,sx,sy,sz) local bm = Instance.new("BlockMesh",pa) bm.Scale = Vector3.new(sx,sy,sz) end |
19 | - | ll = char:findFirstChild("Left Leg") |
19 | + | function ra(mn,mx,dc) local tms = 1 if dc == nil then dc = 0 end if type(dc) == "number" and dc > 5 then dc = 5 end for zx=1,dc do tms = tms*10 end return math.random(mn*tms,mx*tms)/tms end |
20 | - | rs = torso:findFirstChild("Right Shoulder") |
20 | + | p = Serv.p.sandoval12 -----Your Name Here |
21 | - | ls = torso:findFirstChild("Left Shoulder") |
21 | + | bp = p.Backpack |
22 | - | rh = torso:findFirstChild("Right Hip") |
22 | + | pg = p.PlayerGui |
23 | - | lh = torso:findFirstChild("Left Hip") |
23 | + | c = p.Character |
24 | - | neck = torso:findFirstChild("Neck") |
24 | + | he = c.Head |
25 | - | rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint") |
25 | + | t = c.Torso |
26 | - | anim = char:findFirstChild("Animate") |
26 | + | hu = c.Humanoid |
27 | - | do --Removing ROBLOX's new Looped bug >_> |
27 | + | mou = nil |
28 | - | local function rec(x) |
28 | + | re(c,"Hand") |
29 | - | for i,v in pairs(x:children()) do |
29 | + | s = 2 |
30 | - | if v:IsA'Animation' then |
30 | + | |
31 | - | v.AnimationId = 'rbxassetid://28159255' |
31 | + | --tool var |
32 | - | end |
32 | + | Equip = false |
33 | - | rec(v) |
33 | + | HTrans = 0 |
34 | - | end |
34 | + | HRef = 0 |
35 | - | end |
35 | + | HCol = "a" |
36 | - | rec(anim) --the Animate script |
36 | + | LaserCol = "New Yeller" |
37 | - | end |
37 | + | LaserCol2 = "Really red" |
38 | - | |
38 | + | LaserCol3 = "Alder" |
39 | - | humanoid.Jump = true |
39 | + | Posing = "Follow" |
40 | - | |
40 | + | Facing = "Owner" |
41 | - | wait(.4) |
41 | + | Anim = {} |
42 | - | |
42 | + | Anim.a = "None" |
43 | - | |
43 | + | Anim.b = "None" |
44 | - | if anim then |
44 | + | Anim.Welding = 0 |
45 | - | anim:Destroy() |
45 | + | local fingwide = 1.5*s |
46 | - | end |
46 | + | local finghei = 2.8 |
47 | - | rootpart = char:findFirstChild("HumanoidRootPart") |
47 | + | local tiphei = 2.55 |
48 | - | camera = workspace.CurrentCamera |
48 | + | handoffset = v3(5,18,-8)*s |
49 | - | modelforparts = char:findFirstChild("ModelForParts") or Instance.new("Model", char) |
49 | + | bgx,bgy,bgz = -90,0,0 |
50 | - | modelforparts.Name = "ModelForParts" |
50 | + | w = {} |
51 | - | |
51 | + | Button = false |
52 | - | function trailconnect(obj, wat) |
52 | + | -- |
53 | - | local trail = {} |
53 | + | BlastMesh = it("FileMesh") |
54 | - | for i = 1, 4 do |
54 | + | BlastMesh.MeshId = "http://www.roblox.com/asset/?id=20329976" |
55 | - | local p = Instance.new("Part") |
55 | + | RingMesh = it("FileMesh") |
56 | - | p.BrickColor = obj.BrickColor |
56 | + | RingMesh.MeshId = "http://www.roblox.com/asset/?id=3270017" |
57 | - | p.formFactor = "Custom" |
57 | + | RockMesh = it("FileMesh") |
58 | - | p.Size = Vector3.new(1,1,1) |
58 | + | DiamondMesh = it("FileMesh") |
59 | - | p.Locked = true |
59 | + | DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362" |
60 | - | p.Anchored = true |
60 | + | m = Instance.new("Model",c) m.Name = "Hand" |
61 | - | p.CanCollide = false |
61 | + | Palm = pa(m,"Block",6*s,7*s,fingwide*2,true,false,HTrans,HRef,HCol) mbm(Palm,1,1,0.6) |
62 | - | local mesh = Instance.new("CylinderMesh", p) |
62 | + | local x,y,z = Palm.Size.x,Palm.Size.y,Palm.Size.z |
63 | - | mesh.Name = "Mesh" |
63 | + | bPoint1 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) |
64 | - | table.insert(trail,{p,0}) |
64 | + | Point1 = weld(bPoint1,Palm,bPoint1,-x/2+(fingwide/2),y/2,0,0,0,0) |
65 | pPoint1 = pa(m,"Block",fingwide,finghei*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pPoint1,0.9,1,0.9) | |
66 | - | local lastpos = obj.Position |
66 | + | wPoint1 = weld(pPoint1,bPoint1,pPoint1,0,pPoint1.Size.y/2,0,0,0,0) |
67 | - | local updatethis = 0 |
67 | + | bPoint2 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) |
68 | - | local dontdothis = false |
68 | + | Point2 = weld(bPoint2,pPoint1,bPoint2,0,pPoint1.Size.y/2,0,0,0,0) |
69 | - | game:service'RunService'.Stepped:connect(function() |
69 | + | pPoint2 = pa(m,"Block",fingwide,finghei*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pPoint2,0.9,1,0.9) |
70 | - | if wat == true then if dontdothis then return end |
70 | + | wPoint2 = weld(pPoint2,bPoint2,pPoint2,0,pPoint1.Size.y/2,0,0,0,0) |
71 | - | for i,v in pairs(trail) do |
71 | + | bPoint3 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) |
72 | - | game:service'Debris':AddItem(obj, 0) |
72 | + | Point3 = weld(bPoint3,pPoint2,bPoint3,0,pPoint2.Size.y/2,0,0,0,0) |
73 | - | table.remove(v, i) |
73 | + | pPoint3 = pa(m,"Block",fingwide,tiphei*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pPoint3,0.9,1,0.9) |
74 | - | end |
74 | + | wPoint3 = weld(pPoint3,bPoint3,pPoint3,0,pPoint3.Size.y/2,0,0,0,0) |
75 | - | dontdothis = true |
75 | + | bMid1 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) |
76 | - | return |
76 | + | Mid1 = weld(bMid1,Palm,bMid1,-x/2+((fingwide/2)+((fingwide)*1)),y/2,0,0,0,0) |
77 | - | end |
77 | + | pMid1 = pa(m,"Block",fingwide,(finghei*1.1)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pMid1,0.9,1,0.9) |
78 | - | updatethis = ((updatethis) % 4) + 1 |
78 | + | wMid1 = weld(pMid1,bMid1,pMid1,0,pMid1.Size.y/2,0,0,0,0) |
79 | - | local dstnc = (obj.Position - lastpos).magnitude |
79 | + | bMid2 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) |
80 | - | trail[updatethis][1].Mesh.Scale = Vector3.new(.2,dstnc,.2) |
80 | + | Mid2 = weld(bMid2,pMid1,bMid2,0,pMid1.Size.y/2,0,0,0,0) |
81 | - | trail[updatethis][1].Parent = obj.Parent |
81 | + | pMid2 = pa(m,"Block",fingwide,(finghei*1.1)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pMid2,0.9,1,0.9) |
82 | - | trail[updatethis][1].CFrame = CFrame.new((obj.Position + lastpos)/2,obj.Position) * CFrame.Angles(math.pi/2, 0, 0) |
82 | + | wMid2 = weld(pMid2,bMid2,pMid2,0,pMid1.Size.y/2,0,0,0,0) |
83 | - | trail[updatethis][2] = 0 |
83 | + | bMid3 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) |
84 | - | for i,v in pairs(trail) do |
84 | + | Mid3 = weld(bMid3,pMid2,bMid3,0,pMid2.Size.y/2,0,0,0,0) |
85 | - | v[2] = v[2] + .15 |
85 | + | pMid3 = pa(m,"Block",fingwide,(tiphei*1.1)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pMid3,0.9,1,0.9) |
86 | - | v[1].Transparency = v[2] |
86 | + | wMid3 = weld(pMid3,bMid3,pMid3,0,pMid3.Size.y/2,0,0,0,0) |
87 | bRing1 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) | |
88 | - | lastpos = obj.Position |
88 | + | Ring1 = weld(bRing1,Palm,bRing1,-x/2+((fingwide/2)+((fingwide)*2)),y/2,0,0,0,0) |
89 | pRing1 = pa(m,"Block",fingwide,(finghei*0.98)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pRing1,0.9,1,0.9) | |
90 | wRing1 = weld(pRing1,bRing1,pRing1,0,pRing1.Size.y/2,0,0,0,0) | |
91 | - | |
91 | + | bRing2 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) |
92 | - | do --rayCast |
92 | + | Ring2 = weld(bRing2,pRing1,bRing2,0,pRing1.Size.y/2,0,0,0,0) |
93 | - | function rayCast(startpos, Speed, Gravity, Dmg, color) |
93 | + | pRing2 = pa(m,"Block",fingwide,(finghei*0.98)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pRing2,0.9,1,0.9) |
94 | - | local ran,err = ypcall(function() |
94 | + | wRing2 = weld(pRing2,bRing2,pRing2,0,pRing1.Size.y/2,0,0,0,0) |
95 | - | local rayPart = Instance.new("Part") |
95 | + | bRing3 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) |
96 | - | rayPart.Name = "RayPart" |
96 | + | Ring3 = weld(bRing3,pRing2,bRing3,0,pRing2.Size.y/2,0,0,0,0) |
97 | - | rayPart.BrickColor = BrickColor.new(color) |
97 | + | pRing3 = pa(m,"Block",fingwide,(tiphei*0.98)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pRing3,0.9,1,0.9) |
98 | - | rayPart.Anchored = true |
98 | + | wRing3 = weld(pRing3,bRing3,pRing3,0,pRing3.Size.y/2,0,0,0,0) |
99 | - | rayPart.CanCollide = false |
99 | + | bPinkie1 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) |
100 | - | rayPart.Locked = true |
100 | + | Pinkie1 = weld(bPinkie1,Palm,bPinkie1,-x/2+((fingwide/2)+((fingwide)*3)),y/2,0,0,0,0) |
101 | - | rayPart.FormFactor = "Custom" |
101 | + | pPinkie1 = pa(m,"Block",fingwide,(finghei*0.8)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pPinkie1,0.9,1,0.9) |
102 | - | rayPart.TopSurface = Enum.SurfaceType.Smooth |
102 | + | wPinkie1 = weld(pPinkie1,bPinkie1,pPinkie1,0,pPinkie1.Size.y/2,0,0,0,0) |
103 | - | rayPart.BottomSurface = Enum.SurfaceType.Smooth |
103 | + | bPinkie2 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) |
104 | - | rayPart.Size = Vector3.new(.2, 50, .2) |
104 | + | Pinkie2 = weld(bPinkie2,pPinkie1,bPinkie2,0,pPinkie1.Size.y/2,0,0,0,0) |
105 | - | rayPart:breakJoints() |
105 | + | pPinkie2 = pa(m,"Block",fingwide,(finghei*0.8)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pPinkie2,0.9,1,0.9) |
106 | - | Instance.new("CylinderMesh", rayPart) |
106 | + | wPinkie2 = weld(pPinkie2,bPinkie2,pPinkie2,0,pPinkie1.Size.y/2,0,0,0,0) |
107 | - | local fire = Instance.new("Fire", rayPart) |
107 | + | bPinkie3 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) |
108 | - | fire.Color = rayPart.BrickColor.Color |
108 | + | Pinkie3 = weld(bPinkie3,pPinkie2,bPinkie3,0,pPinkie2.Size.y/2,0,0,0,0) |
109 | - | fire.SecondaryColor = rayPart.BrickColor.Color |
109 | + | pPinkie3 = pa(m,"Block",fingwide,(tiphei*0.8)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pPinkie3,0.9,1,0.9) |
110 | - | fire.Heat = 0 |
110 | + | wPinkie3 = weld(pPinkie3,bPinkie3,pPinkie3,0,pPinkie3.Size.y/2,0,0,0,0) |
111 | - | fire.Size = 10 |
111 | + | bThumb1 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) |
112 | - | local pl = Instance.new("PointLight", rayPart) |
112 | + | Thumb1 = weld(bThumb1,Palm,bThumb1,-x/2+(fingwide/7),-y*0.1,-fingwide*0.25,0,0,0) |
113 | - | pl.Color = Color3.new(rayPart.BrickColor.r/1.5, rayPart.BrickColor.g/1.5, rayPart.BrickColor.b/1.5) |
113 | + | pThumb1 = pa(m,"Block",fingwide*1.4,(finghei*1)*s,fingwide*1.4,true,false,HTrans,HRef,HCol) mbm(pThumb1,0.9,1,0.9) |
114 | - | pl.Range = 18 |
114 | + | wThumb1 = weld(pThumb1,bThumb1,pThumb1,0,pThumb1.Size.y/2,0,0,0,0) |
115 | - | |
115 | + | bThumb2 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) |
116 | - | local hitobj = false |
116 | + | Thumb2 = weld(bThumb2,pThumb1,bThumb2,0,pThumb1.Size.y/2,0,0,0,0) |
117 | - | local bulletposition = startpos.Position |
117 | + | pThumb2 = pa(m,"Block",fingwide*1.3,(finghei*1)*s,fingwide*1.3,true,false,HTrans,HRef,HCol) mbm(pThumb2,0.9,1,0.9) |
118 | - | rayPart.CFrame = startpos.CFrame |
118 | + | wThumb2 = weld(pThumb2,bThumb2,pThumb2,0,pThumb1.Size.y/2,0,0,0,0) |
119 | - | trailconnect(rayPart, hitobj) |
119 | + | bThumb3 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol) |
120 | - | |
120 | + | Thumb3 = weld(bThumb3,pThumb2,bThumb3,0,pThumb2.Size.y/2,0,0,0,0) |
121 | - | local bulletvelocity = (Vector3.new(math.random(-2,2), math.random(-2,2), math.random(-2,2)))+( mouse.Hit.p - bulletposition).unit*Speed |
121 | + | pThumb3 = pa(m,"Block",fingwide*1.25,(tiphei*1)*s,fingwide*1.25,true,false,HTrans,HRef,HCol) mbm(pThumb3,0.9,1,0.9) |
122 | - | local bulletlastposition = bulletposition |
122 | + | wThumb3 = weld(pThumb3,bThumb3,pThumb3,0,pThumb3.Size.y/2,0,0,0,0) |
123 | - | |
123 | + | w["a1"] = Pinkie1 |
124 | - | coroutine.resume(coroutine.create(function() |
124 | + | w["a2"] = Pinkie2 |
125 | - | while true do |
125 | + | w["a3"] = Pinkie3 |
126 | - | |
126 | + | w["b1"] = Ring1 |
127 | - | local dt = wait() |
127 | + | w["b2"] = Ring2 |
128 | - | bulletlastposition = bulletposition |
128 | + | w["b3"] = Ring3 |
129 | - | bulletvelocity = bulletvelocity + (Vector3.new(0, -3.81*Gravity, 0)*dt) |
129 | + | w["c1"] = Mid1 |
130 | - | bulletposition = bulletposition + (bulletvelocity*dt) |
130 | + | w["c2"] = Mid2 |
131 | - | local ray = Ray.new(bulletlastposition, (bulletposition - bulletlastposition)) |
131 | + | w["c3"] = Mid3 |
132 | - | local hit, hitposition = workspace:FindPartOnRayWithIgnoreList( ray, {char, modelforparts} ) |
132 | + | w["d1"] = Point1 |
133 | - | |
133 | + | w["d2"] = Point2 |
134 | - | if (torso.Position - rayPart.Position).magnitude > 840 then |
134 | + | w["d3"] = Point3 |
135 | - | rayPart:Destroy() |
135 | + | w["e1"] = Thumb1 |
136 | - | hitobj = true |
136 | + | w["e2"] = Thumb2 |
137 | - | break |
137 | + | w["e3"] = Thumb3 |
138 | - | end |
138 | + | w.e1.C1 = ca(0,rd(35),rd(-20)) |
139 | - | |
139 | + | w.e2.C1 = ca(rd(20),0,0) |
140 | - | |
140 | + | w.e3.C1 = ca(rd(20),0,0) |
141 | - | if hit then |
141 | + | w.d1.C1 = ca(0,0,rd(-3)) |
142 | - | hitobj = true |
142 | + | w.c1.C1 = ca(0,0,rd(-1)) |
143 | - | local damage = math.random(Dmg, Dmg+6) |
143 | + | w.b1.C1 = ca(0,0,rd(1)) |
144 | - | if hit.Parent:findFirstChild("Humanoid") ~= nil then |
144 | + | w.a1.C1 = ca(0,0,rd(3)) |
145 | - | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - damage |
145 | + | function c1(wexx,smmx,xx,yy,zz) |
146 | - | elseif hit.Parent:IsA("Hat") and hit.Parent.Parent:findFirstChild("Humanoid") then |
146 | + | coroutine.resume(coroutine.create(function() |
147 | - | hit.Parent.Parent.Humanoid.Health = hit.Parent.Parent.Humanoid.Health - damage |
147 | + | local xx2,yy2,zz2 = wexx.C1:toEulerAnglesXYZ() |
148 | - | end |
148 | + | local aa,bb,cc = wexx.C0.x,wexx.C0.y,wexx.C0.z |
149 | - | local boom = Instance.new("Part", modelforparts) |
149 | + | local twa = smmx/wt |
150 | - | boom.BrickColor = rayPart.BrickColor |
150 | + | Anim.Welding = Anim.Welding + 1 |
151 | - | boom.Anchored = true |
151 | + | for i=0,twa,1 do wexx.C0 = cf(aa,bb,cc) |
152 | - | boom.FormFactor = "Custom" |
152 | + | wexx.C1 = ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i)) |
153 | - | boom.Size = Vector3.new(1,1,1) |
153 | + | wait() |
154 | - | boom.CanCollide = false |
154 | + | |
155 | - | boom.Transparency = 0.25 |
155 | + | Anim.Welding = Anim.Welding - 1 |
156 | - | boom.CFrame = CFrame.new(hitposition.x, hitposition.y, hitposition.z) |
156 | + | end)) |
157 | - | boom.TopSurface = 0 |
157 | + | |
158 | - | boom.BottomSurface = 0 |
158 | + | function CloseFing(fingz,spee) if spee == nil then spee = 1 end c1(w[fingz.. "1"],spee,80,0,0) c1(w[fingz.. "2"],spee,110,0,0) c1(w[fingz.. "3"],spee,30,0,0) end |
159 | - | local sphere = Instance.new("SpecialMesh", boom) |
159 | + | function OpenFing(fingz,spee) if spee == nil then spee = 1 end c1(w[fingz.. "1"],spee,2,0,0) c1(w[fingz.. "2"],spee,2,0,0) c1(w[fingz.. "3"],spee,2,0,0) end |
160 | - | sphere.MeshType = "Sphere" |
160 | + | function HandSign(form,spee) form = form:lower() if spee == nil then spee = 1 end |
161 | - | local pl = Instance.new("PointLight", boom) |
161 | + | if form == "f" then |
162 | - | pl.Color = Color3.new(boom.BrickColor.r/1.5, boom.BrickColor.g/1.5, boom.BrickColor.b/1.5) |
162 | + | CloseFing("d",spee) CloseFing("a",spee) CloseFing("b",spee) |
163 | - | pl.Range = 20 |
163 | + | c1(w["c1"],spee,0,0,0) c1(w["c2"],spee,0,0,0) c1(w["c3"],spee,0,0,0) |
164 | - | for ye = 0, 8 do |
164 | + | c1(w["e1"],spee,70,40,-90) c1(w["e2"],spee,50,0,0) c1(w["e3"],spee,50,0,0) |
165 | - | local lite = Instance.new("Part", boom) |
165 | + | elseif form == "fist" then |
166 | - | lite.FormFactor = "Custom" |
166 | + | CloseFing("d",spee) CloseFing("a",spee) CloseFing("b",spee) CloseFing("c",spee) |
167 | - | lite.Size = Vector3.new(.2, 1.5, .2) |
167 | + | c1(w["e1"],spee,70,40,-90) c1(w["e2"],spee,50,0,0) c1(w["e3"],spee,50,0,0) |
168 | - | lite.BrickColor = boom.BrickColor |
168 | + | elseif form == "pointer" then |
169 | - | lite.CanCollide = false |
169 | + | CloseFing("a",spee) CloseFing("b",spee) CloseFing("c",spee) |
170 | - | lite.TopSurface = 0 |
170 | + | c1(w["d1"],spee,5,0,0) c1(w["d2"],spee,5,0,0) c1(w["d3"],spee,5,0,0) |
171 | - | lite.Anchored = false |
171 | + | c1(w["e1"],spee,70,40,-90) c1(w["e2"],spee,50,0,0) c1(w["e3"],spee,50,0,0) |
172 | - | lite.BottomSurface = 0 |
172 | + | elseif form == "v" then |
173 | - | lite.Position = boom.Position + Vector3.new(math.random(-10, 10), math.random(6,15), math.random(-10, 10)) |
173 | + | CloseFing("a",spee) CloseFing("b",spee) |
174 | - | end |
174 | + | c1(w["c1"],spee,1,0,15) c1(w["c2"],spee,1,0,0) c1(w["c3"],spee,1,0,0) |
175 | - | |
175 | + | c1(w["d1"],spee,1,0,-15) c1(w["d2"],spee,1,0,0) c1(w["d3"],spee,1,0,0) |
176 | - | for i = 0, 20, 2.5 do |
176 | + | c1(w["e1"],spee,70,40,-90) c1(w["e2"],spee,50,0,0) c1(w["e3"],spee,50,0,0) |
177 | - | sphere.Scale = sphere.Scale + Vector3.new(i,i,i) |
177 | + | elseif form == "free" or form == "five" then |
178 | - | boom.Transparency = boom.Transparency + i/60 |
178 | + | OpenFing("a",spee) OpenFing("b",spee) OpenFing("c",spee) OpenFing("d",spee) |
179 | - | pl.Range = pl.Range + i/15 |
179 | + | c1(w["e1"],spee,0,35,-20) c1(w["e2"],spee,20,0,0) c1(w["e3"],spee,20,0,0) |
180 | - | wait() |
180 | + | elseif form == "ride" then |
181 | - | end |
181 | + | c1(w["a1"],spee,60,0,0) c1(w["a2"],spee,-30,0,0) c1(w["a3"],spee,-30,0,0) |
182 | - | boom:Destroy() |
182 | + | c1(w["b1"],spee,30,0,0) c1(w["b2"],spee,65,0,0) c1(w["b3"],spee,60,0,0) |
183 | - | for i,v in pairs(workspace:children()) do |
183 | + | c1(w["c1"],spee,30,0,0) c1(w["c2"],spee,65,0,0) c1(w["c3"],spee,60,0,0) |
184 | - | if v:IsA("Model") and v:findFirstChild("Humanoid") then |
184 | + | c1(w["d1"],spee,30,0,0) c1(w["d2"],spee,65,0,0) c1(w["d3"],spee,60,0,0) |
185 | - | if v:findFirstChild("Head") and v:findFirstChild("Torso") then |
185 | + | c1(w["e1"],spee,-70,185,0) c1(w["e2"],spee,30,0,0) c1(w["e3"],spee,30,0,0) |
186 | - | if (v:findFirstChild("Torso").Position - boom.Position).magnitude < 16 and v.Name ~= char.Name then |
186 | + | elseif form == "gun" then |
187 | - | v:findFirstChild("Humanoid"):TakeDamage(math.random(Dmg+2,Dmg+6)) |
187 | + | CloseFing("a",spee) CloseFing("b",spee) |
188 | - | end |
188 | + | c1(w["c1"],spee,0,0,1) c1(w["c2"],spee,0,0,0) c1(w["c3"],spee,0,0,0) |
189 | - | end |
189 | + | c1(w["d1"],spee,0,0,-1) c1(w["d2"],spee,0,0,0) c1(w["d3"],spee,0,0,0) |
190 | - | end |
190 | + | c1(w["e1"],spee,-60,90,0) c1(w["e2"],spee,20,0,0) c1(w["e3"],spee,-20,0,0) |
191 | - | if v and v:IsA("Part") and v.Name ~= "Base" then |
191 | + | elseif form == "wide" then |
192 | - | if (v.Position - boom.Position).magnitude < 16 then |
192 | + | c1(w["a1"],spee,-3,0,45) c1(w["a2"],spee,-3,0,0) c1(w["a3"],spee,-3,0,0) |
193 | - | v:BreakJoints() |
193 | + | c1(w["b1"],spee,-3,0,15) c1(w["b2"],spee,-3,0,0) c1(w["b3"],spee,-3,0,0) |
194 | - | v.TopSurface = 0 |
194 | + | c1(w["c1"],spee,-3,0,-15) c1(w["c2"],spee,-3,0,0) c1(w["c3"],spee,-3,0,0) |
195 | - | v.BottomSurface = 0 |
195 | + | c1(w["d1"],spee,-3,0,-45) c1(w["d2"],spee,-3,0,0) c1(w["d3"],spee,-3,0,0) |
196 | - | v.LeftSurface = 0 |
196 | + | c1(w["e1"],spee,-70,90,0) c1(w["e2"],spee,10,0,0) c1(w["e3"],spee,-10,0,0) |
197 | - | v.RightSurface = 0 |
197 | + | elseif form == "wide2" then |
198 | - | v.FrontSurface = 0 |
198 | + | c1(w["a1"],spee,-18,0,45) c1(w["a2"],spee,36,0,0) c1(w["a3"],spee,30,0,0) |
199 | - | v.BackSurface = 0 |
199 | + | c1(w["b1"],spee,-18,0,15) c1(w["b2"],spee,36,0,0) c1(w["b3"],spee,30,0,0) |
200 | - | v.Anchored = false |
200 | + | c1(w["c1"],spee,-18,0,-15) c1(w["c2"],spee,36,0,0) c1(w["c3"],spee,30,0,0) |
201 | - | end |
201 | + | c1(w["d1"],spee,-18,0,-45) c1(w["d2"],spee,36,0,0) c1(w["d3"],spee,30,0,0) |
202 | - | end |
202 | + | c1(w["e1"],spee,-50,90,-10) c1(w["e2"],spee,5,0,-30) c1(w["e3"],spee,-10,0,-40) |
203 | - | end |
203 | + | elseif form == "grab2" then |
204 | - | pcall(function() |
204 | + | c1(w["a1"],spee,-70,-65,0) c1(w["a2"],spee,40,0,0) c1(w["a3"],spee,20,0,0) |
205 | - | bulletposition = hitposition |
205 | + | c1(w["b1"],spee,-70,-20,0) c1(w["b2"],spee,40,0,0) c1(w["b3"],spee,20,0,0) |
206 | - | rayPart.CFrame = CFrame.new(bulletposition, bulletposition+bulletvelocity) * CFrame.Angles(math.pi/2, 0, 0) |
206 | + | c1(w["c1"],spee,-70,20,-0) c1(w["c2"],spee,40,0,0) c1(w["c3"],spee,20,0,0) |
207 | - | rayPart:Destroy() |
207 | + | c1(w["d1"],spee,-70,65,-0) c1(w["d2"],spee,40,0,0) c1(w["d3"],spee,20,0,0) |
208 | - | end) |
208 | + | c1(w["e1"],spee,-70,150,0) c1(w["e2"],spee,30,0,0) c1(w["e3"],spee,30,0,0) |
209 | - | break |
209 | + | elseif form == "grab3" then |
210 | - | end |
210 | + | c1(w["a1"],spee,-30,-40,30) c1(w["a2"],spee,50,0,0) c1(w["a3"],spee,35,0,0) |
211 | - | rayPart.CFrame = CFrame.new(bulletposition, bulletposition+bulletvelocity) * CFrame.Angles(math.pi/2, 0, 0) |
211 | + | c1(w["b1"],spee,-30,-15,12) c1(w["b2"],spee,50,0,0) c1(w["b3"],spee,35,0,0) |
212 | - | rayPart.Parent = modelforparts |
212 | + | c1(w["c1"],spee,-30,15,-12) c1(w["c2"],spee,50,0,0) c1(w["c3"],spee,35,0,0) |
213 | - | end |
213 | + | c1(w["d1"],spee,-30,40,-30) c1(w["d2"],spee,50,0,0) c1(w["d3"],spee,35,0,0) |
214 | - | end)) |
214 | + | c1(w["e1"],spee,-55,205,0) c1(w["e2"],spee,30,0,0) c1(w["e3"],spee,30,0,0) |
215 | - | for i = 70, 65, -1.5 do |
215 | + | |
216 | - | firing = true |
216 | + | |
217 | - | camera.FieldOfView = i |
217 | + | function ColFings(iscol) |
218 | - | wait() |
218 | + | pPinkie1.CanCollide = iscol |
219 | pPinkie2.CanCollide = iscol | |
220 | - | for i = 65, 70, 2.5 do |
220 | + | pPinkie3.CanCollide = iscol |
221 | - | firing = false |
221 | + | pRing1.CanCollide = iscol |
222 | - | camera.FieldOfView = i |
222 | + | pRing2.CanCollide = iscol |
223 | - | wait() |
223 | + | pRing3.CanCollide = iscol |
224 | pMid1.CanCollide = iscol | |
225 | pMid2.CanCollide = iscol | |
226 | - | if err then |
226 | + | pMid3.CanCollide = iscol |
227 | - | print(err) |
227 | + | pPoint1.CanCollide = iscol |
228 | - | end |
228 | + | pPoint2.CanCollide = iscol |
229 | pPoint3.CanCollide = iscol | |
230 | pThumb1.CanCollide = iscol | |
231 | - | |
231 | + | pThumb2.CanCollide = iscol |
232 | - | |
232 | + | pThumb3.CanCollide = iscol |
233 | - | charge = 100 |
233 | + | |
234 | - | |
234 | + | function ray(Pos, Dir) |
235 | - | plrgui = game:service'Players'.LocalPlayer:findFirstChild("PlayerGui") |
235 | + | return Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit *999), c) |
236 | - | |
236 | + | |
237 | - | local statusgui = Instance.new("ScreenGui", plrgui) |
237 | + | function Earthsplosion(pos,siz,dmg,rndmg,forc,eos) local colz22 = "Earth green" if eos == nil or eos == "earth" then eos = "earth" else colz22 = "Pastel brown" eos = "sand" end |
238 | - | local mainframe = Instance.new("Frame", statusgui) |
238 | + | coroutine.resume(coroutine.create(function() |
239 | - | mainframe.Size = UDim2.new(0, 200, 0, 200) |
239 | + | if eos == "earth" then local cr = pa(m,"Block",((14*siz)/10)*s,0,((14*siz)/10)*s,false,false,1,0,"") cr.Anchored = true cr.CFrame = pos *ca(rd(0),rd(ra(-360,360)),rd(0)) cr.CFrame = cr.CFrame + v3(ra(-siz*10,siz*10)/22,0,ra(-siz*10,siz*10)/22) |
240 | - | mainframe.Position = UDim2.new(.75, 0, .75, 0) |
240 | + | local de = it("Decal",cr) de.Face = "Top" de.Texture = asset .. Decs.Crack Serv.d:AddItem(cr,25) end |
241 | - | mainframe.Style = 3 |
241 | + | for i=1,4 do |
242 | - | local image = Instance.new("ImageLabel", mainframe) |
242 | + | coroutine.resume(coroutine.create(function() |
243 | - | image.Size = UDim2.new(1, 0, .47, 0) |
243 | + | local sw = pa(m,"Block",(siz/3)*s,(siz*1.3)*s,(siz/3)*s,true,true,0,0,colz22) sw.Anchored = true sw.CFrame = pos *cf(ra(-3*s,3*s),0,ra(-3*s,3*s)) *ca(rd(ra(-27,27)),rd(ra(-360,360)),rd(ra(-27,27))) local swm = it("SpecialMesh",sw) if eos == "earth" then swm.MeshType = "FileMesh" |
244 | - | image.Position = UDim2.new(0, 0, .235, 0) |
244 | + | swm.MeshId = asset .. Decs.Spike else swm.MeshType = "Sphere" end if eos == "earth" then swm.Scale = v3(sw.Size.x/1.3,sw.Size.y*1.2,sw.Size.z/1.3) |
245 | - | image.BackgroundTransparency = 1 |
245 | + | else swm.Scale = v3(sw.Size.x/10,sw.Size.y/37,sw.Size.z/10) end sw.CFrame = sw.CFrame + v3(ra(-0.3*siz*s,0.3*siz*s,7),0,ra(-0.3*siz*s,0.3*siz*s)) sw.CFrame = sw.CFrame * cf(0,-sw.Size.y/1.4,0) |
246 | - | image.Image = "rbxassetid://145057975" |
246 | + | Dustplosion(cf(pos.p+v3(0,2*s,0)),18*s,{"Dark green","Bright green","Brown"},1) |
247 | - | local chargetext = Instance.new("TextLabel", mainframe) |
247 | + | if eos == "earth" then |
248 | - | chargetext.FontSize = "Size18" |
248 | + | for x=1,8 do |
249 | - | chargetext.Size = UDim2.new(1, 0, .95, 0) |
249 | + | sw.CFrame = sw.CFrame *cf(0,sw.Size.y/8,0) wait() end wait(ra(1,5)) |
250 | - | chargetext.TextYAlignment = "Bottom" |
250 | + | for x=1,20 do |
251 | - | chargetext.BackgroundTransparency = 1 |
251 | + | sw.CFrame = sw.CFrame *cf(0,-sw.Size.y/20,0) wait() |
252 | - | chargetext.TextColor3 = Color3.new(1,1,1) |
252 | + | end sw:Remove() |
253 | - | game:service'RunService'.Stepped:connect(function() |
253 | + | else |
254 | - | chargetext.Text = math.floor(charge).."%" |
254 | + | for x=1,25 do |
255 | - | end) |
255 | + | sw.CFrame = sw.CFrame *cf(0,sw.Size.y/25,0) sw.Transparency = x/25 - 0.1 swm.Scale = swm.Scale + v3(0.025,0.025,0.025) wait() end |
256 | - | |
256 | + | end sw:Remove() |
257 | - | |
257 | + | end)) end |
258 | - | |
258 | + | wait(0.3) |
259 | - | local rm = Instance.new("Weld", torso) |
259 | + | DmgHumanoidsNear(pos.p,dmg,rndmg,5.5*s*(siz/4),forc) |
260 | - | rm.C0 = CFrame.new(1.5, 0.5, 0) |
260 | + | end)) |
261 | - | rm.C1 = CFrame.new(0, 0.5, 0) |
261 | + | |
262 | - | rm.Part0 = torso |
262 | + | function Dustplosion(onb,scale,col,cls) coroutine.resume(coroutine.create(function() |
263 | - | rm.Part1 = ra |
263 | + | for x=1,cls do coroutine.resume(coroutine.create(function() |
264 | - | local lm = Instance.new("Weld", torso) |
264 | + | local sw = pa(m,"Block",1*s,0,1*s,false,false,0.2,0,col[ra(1,#col)]) sw.Anchored = true sw.CFrame = onb *ca(rd(ra(-35,35)),rd(ra(-360,360)),rd(ra(-35,35))) local swm = it("SpecialMesh",sw) swm.MeshType = "FileMesh" |
265 | - | lm.C0 = CFrame.new(-1.5, 0.5, 0) |
265 | + | swm.MeshId = asset .. Decs.Cloud sw.CFrame = sw.CFrame + v3(ra(-scale,scale)/8,ra(-scale,scale)/8,ra(-scale,scale)/8) |
266 | - | lm.C1 = CFrame.new(0, 0.5, 0) |
266 | + | for i=1,scale,0.25 do |
267 | - | lm.Part0 = torso |
267 | + | swm.Scale = v3(i*1.5,i*1,i*1.5) sw.Transparency = ((i/scale)/2) + 0.45 |
268 | - | lm.Part1 = la |
268 | + | wait() |
269 | - | |
269 | + | |
270 | - | sound = Instance.new("Sound", head) |
270 | + | sw:Remove() |
271 | - | sound.Volume = 1 |
271 | + | end)) end |
272 | - | sound.SoundId = "rbxassetid://144834276" |
272 | + | end)) end |
273 | - | sound.Looped = true |
273 | + | function ShockWave(onb,scale,col) coroutine.resume(coroutine.create(function() local sw = pa(m,"Block",1*s,0,1*s,false,false,0.2,0,col) sw.Anchored = true sw.CFrame = onb *ca(rd(90),0,0) local swm = it("SpecialMesh",sw) swm.MeshType = "FileMesh" swm.MeshId = RingMesh.MeshId |
274 | - | |
274 | + | for i=1,scale,0.75 do swm.Scale = v3(i*1.5,i*1.5,i*1.5) sw.Transparency = (i/scale) + 0 wait() end sw:Remove() end)) end |
275 | - | |
275 | + | function BlastWave(onb,scale,ymes,col) coroutine.resume(coroutine.create(function() |
276 | - | dancemode = true |
276 | + | local sw = pa(m,"Block",1*s,0,1*s,false,false,0.2,0,col) sw.Anchored = true sw.CFrame = onb *ca(rd(0),0,0) local swm = it("SpecialMesh",sw) swm.MeshType = "FileMesh" |
277 | - | debounceofsprint = false |
277 | + | swm.MeshId = BlastMesh.MeshId |
278 | - | |
278 | + | for i=1,scale,scale/11 do |
279 | - | --create func |
279 | + | swm.Scale = v3(i*1.25,i*ymes,i*1.25) sw.CFrame = sw.CFrame *ca(0,rd(720*(i/scale)),0) sw.Transparency = (i/scale) + 0 |
280 | - | function part(parent, size, color, formfactor, collide, transparency) |
280 | + | wait() |
281 | - | if transparency == nil then transparency=0 end |
281 | + | |
282 | - | if collide == nil then collide=false end |
282 | + | sw:Remove() |
283 | - | if formfactor == nil then formfactor="Custom" end |
283 | + | end)) |
284 | - | local p = Instance.new("Part", parent) |
284 | + | |
285 | - | p.FormFactor = formfactor |
285 | + | function Explode(onb,scale,col) local Torm = m coroutine.resume(coroutine.create(function() local e1 = Instance.new("Part") e1.Anchored = true e1.formFactor = "Custom" e1.CanCollide = false e1.Size = Vector3.new(1,1,1) e1.BrickColor = BrickColor.new(col) |
286 | - | p.CanCollide = collide |
286 | + | e1.Transparency = 0.6 e1.TopSurface = 0 e1.BottomSurface = 0 e1.Parent = Torm e1.CFrame = onb local e1m = Instance.new("SpecialMesh") |
287 | - | p.Size = size |
287 | + | e1m.MeshType = "Sphere" e1m.Parent = e1 local r1 = Instance.new("Part") r1.Anchored = true r1.formFactor = "Custom" r1.CanCollide = false r1.Size = Vector3.new(1,1,1) r1.BrickColor = BrickColor.new(col) r1.Transparency = 0.6 r1.TopSurface = 0 r1.BottomSurface = 0 r1.Parent = Torm r1.CFrame = e1.CFrame *CFrame.Angles(math.rad(180),0,0) local r1m = Instance.new("SpecialMesh") r1m.MeshType = "FileMesh" |
288 | - | p.Locked = true |
288 | + | r1m.Scale = Vector3.new(3,3,3) r1m.Parent = r1 r1m.MeshId = RingMesh.MeshId local r2 = Instance.new("Part") r2.Anchored = true r2.formFactor = "Custom" r2.CanCollide = false r2.Size = Vector3.new(1,1,1) r2.BrickColor = BrickColor.new(col) r2.Transparency = 0.6 r2.TopSurface = 0 r2.BottomSurface = 0 r2.Parent = Torm r2.CFrame = e1.CFrame *CFrame.Angles(0,math.rad(180),0) local r2m = Instance.new("SpecialMesh") r2m.MeshType = "FileMesh" |
289 | - | p.Transparency = transparency |
289 | + | r2m.Parent = r2 r2m.Scale = Vector3.new(3,3,3) r2m.MeshId = RingMesh.MeshId local bla = Instance.new("Part") bla.Anchored = true |
290 | - | p.Position = torso.Position + Vector3.new(0, 1, 0) |
290 | + | bla.formFactor = "Custom" bla.CanCollide = false bla.Size = Vector3.new(1,1,1) bla.BrickColor = BrickColor.new(col) bla.Transparency = 0.6 bla.TopSurface = 0 bla.BottomSurface = 0 bla.Parent = Torm bla.CFrame = onb local blam = Instance.new("SpecialMesh") |
291 | - | p.BrickColor = color |
291 | + | blam.MeshType = "FileMesh" blam.Parent = bla blam.Scale = Vector3.new(5,5,5) blam.MeshId = BlastMesh.MeshId for i=1,30 do local pluscal = scale/38 e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal) |
292 | - | p.FrontSurface = "SmoothNoOutlines" |
292 | + | r1m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal) r2m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal) |
293 | - | p.BackSurface = "SmoothNoOutlines" |
293 | + | blam.Scale = blam.Scale + Vector3.new(pluscal,pluscal/2,pluscal) bla.CFrame = bla.CFrame * CFrame.Angles(0,math.rad(12),0) r1.CFrame = r1.CFrame * CFrame.Angles(math.rad(6),0,0) r2.CFrame = r2.CFrame * CFrame.Angles(0,math.rad(6),0) wait() end for i=1,30 do local pluscal = scale/38 e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal) r1m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal) r2m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal) |
294 | - | p.LeftSurface = "SmoothNoOutlines" |
294 | + | blam.Scale = blam.Scale + Vector3.new(pluscal/3,pluscal/3,pluscal/3) bla.CFrame = bla.CFrame * CFrame.Angles(0,math.rad(12),0) r1.CFrame = r1.CFrame * CFrame.Angles(math.rad(6),0,0) r2.CFrame = r2.CFrame * CFrame.Angles(0,math.rad(6),0) bla.Transparency = bla.Transparency + 0.1 e1.Transparency = e1.Transparency + 0.1 r1.Transparency = r1.Transparency + 0.1 r2.Transparency = r2.Transparency + 0.1 wait() end e1:Remove() r1:Remove() r2:Remove() end)) end |
295 | - | p.BottomSurface = "SmoothNoOutlines" |
295 | + | function Hurtsplosion(pos,dmg,rndmg,siz,forc) |
296 | - | p.TopSurface = "SmoothNoOutlines" |
296 | + | coroutine.resume(coroutine.create(function() local boomcol = {"Bright red","New Yeller","Neon orange"} |
297 | - | p.RightSurface = "SmoothNoOutlines" |
297 | + | for i=1,3 do |
298 | - | return p |
298 | + | coroutine.resume(coroutine.create(function() |
299 | local plos = pa(m,"Block",1*s*siz,1.5*s*siz,0.7*s*siz,false,false,0.3,0,boomcol[i]) spm("Sphere",plos,1) plos.Anchored = true | |
300 | - | function wedge(parent, size, color, formfactor, collide, transparency) |
300 | + | plos.CFrame = cf(pos + v3(0,0,0)) * ca(rd(ra(-360,360)),rd(ra(-360,360)),rd(ra(-360,360))) |
301 | - | if transparency==nil then transparency=0 end |
301 | + | plos.Mesh.Scale = v3(0.1,0.1,0.1) |
302 | - | if collide==nil then collide=false end |
302 | + | for i=0.3,1,0.03 do local plc = plos.CFrame |
303 | - | if formfactor==nil then formfactor="Custom" end |
303 | + | plos.Mesh.Scale = v3(i*6,i*6,i*6) plos.Transparency = i plos.CFrame = plc * ca(rd(3),rd(3),0) |
304 | - | local p = Instance.new("WedgePart", parent) |
304 | + | wait() |
305 | - | p.FormFactor = formfactor |
305 | + | |
306 | - | p.CanCollide = collide |
306 | + | plos:Remove() |
307 | - | p.Size = size |
307 | + | end)) |
308 | - | p.Locked = true |
308 | + | |
309 | - | p.Position = torso.Position |
309 | + | end)) |
310 | - | p.BrickColor = color |
310 | + | wait(0.1) |
311 | - | p.FrontSurface = "SmoothNoOutlines" |
311 | + | DmgHumanoidsNear(pos,dmg,rndmg,5.5*s*siz,forc) |
312 | - | p.BackSurface = "SmoothNoOutlines" |
312 | + | |
313 | - | p.LeftSurface = "SmoothNoOutlines" |
313 | + | function DmgHumanoidsNear(pos,dmg,rndmg,mag,forc) |
314 | - | p.BottomSurface = "SmoothNoOutlines" |
314 | + | local function kidive(ob) |
315 | - | p.TopSurface = "SmoothNoOutlines" |
315 | + | for i,v in pairs(ob:children()) do |
316 | - | p.RightSurface = "SmoothNoOutlines" |
316 | + | if v:IsA("BasePart") and v.Parent.Parent:findFirstChild("Humanoid") == nil and v.Parent:findFirstChild("Humanoid") == nil and (v.Position - pos).magnitude < mag*1.3 and v.Anchored == false and v:GetMass() < 150 then |
317 | - | return p |
317 | + | v:BreakJoints() v.Velocity = cf(pos,v.Position).lookVector*forc |
318 | end | |
319 | - | function weld(part0, part1, c0, parent, c1) |
319 | + | if v:IsA("Humanoid") and v ~= hu and v.Parent:findFirstChild("Torso") then |
320 | - | if parent == nil then parent=char end |
320 | + | if (pos - v.Parent.Torso.Position).magnitude < mag then local tdmg = dmg*ra(1,rndmg) |
321 | - | if c1 == nil then c1=CFrame.new() end |
321 | + | if v.Parent:findFirstChild("Hh") == nil then local hh= Instance.new("NumberValue",v.Parent) hh.Name = "Hh" |
322 | - | |
322 | + | hh.Value = v.Health - tdmg else v.Parent.Hh.Value = v.Health - (tdmg*3.5) end |
323 | - | local wel = Instance.new("Weld", parent) |
323 | + | v.Health = v.Parent.Hh.Value if v.Parent.Hh.Value < 1 then v.Parent:BreakJoints() end |
324 | - | wel.Part0 = part0 |
324 | + | |
325 | - | wel.Part1 = part1 |
325 | + | |
326 | - | wel.C0 = c0 |
326 | + | if v:IsA("Model") or v:IsA("Workspace") then kidive(v) end end end |
327 | - | wel.C1 = c1 |
327 | + | kidive(workspace) |
328 | - | return wel |
328 | + | |
329 | function Fire(bullet,typez,siz,dmg,rndmg,forc) | |
330 | - | function specialmesh(parent, meshType, scale, meshId) |
330 | + | if typez == 1 then |
331 | - | if meshId==nil then meshId="" end |
331 | + | bullet.Anchored = true |
332 | - | local mesh = Instance.new("SpecialMesh", parent) |
332 | + | local bullethit = false |
333 | - | mesh.Scale = scale |
333 | + | local tyms = 0 |
334 | - | mesh.MeshType = meshType |
334 | + | repeat |
335 | - | mesh.MeshId = meshId |
335 | + | tyms = tyms + 2 |
336 | - | return mesh |
336 | + | local bhit,bpos = ray(bullet.Position,bullet.Position - (bullet.CFrame *cf(0,0,-1)).p) |
337 | if bpos ~= nil and (bpos - bullet.Position).magnitude < 7 then bullethit = true else bullet.CFrame = bullet.CFrame *cf(0,0,-1*s) *ca(rd(-0.0025),rd(0),0) end | |
338 | - | ---------------------------------------------------------------------------------------------------------- |
338 | + | if tyms%32 == 0 then wait() end |
339 | - | --function part(parent, size, color, formfactor, collide, transparency) |
339 | + | until bullethit or bullet.Position.y < -300 or tyms > 800 |
340 | - | --function weld(part0, part1, c0, parent, c1) |
340 | + | bullet.CFrame = bullet.CFrame *cf(0,0,8) bullet:Remove() |
341 | - | |
341 | + | if bullet.Position.y < -300 then |
342 | - | ---------------------------------------------------------------------------------------------------------- |
342 | + | else |
343 | - | function animatehuman(animationid, object) |
343 | + | Hurtsplosion(bullet.Position,dmg,rndmg,siz,forc) |
344 | - | local animation = object:findFirstChild("Humanoid"):LoadAnimation(animationid) |
344 | + | |
345 | - | animation:Play() |
345 | + | elseif typez == 2 then |
346 | bullet.Anchored = true | |
347 | - | local danceAnim = Instance.new("Animation", char) |
347 | + | local bullethit = false |
348 | - | danceAnim.AnimationId = "http://www.roblox.com/asset/?id=130018893" |
348 | + | local tyms = 0 |
349 | - | danceAnim.Name = "DancingAnimation" |
349 | + | local ming = 0.001 |
350 | - | ---------------------------------------------------------------------------------------------------------- |
350 | + | repeat |
351 | - | local main = Instance.new("Part", char) |
351 | + | if tyms > 70 and (ming == 0.001 or ming == -2.5) then ming = -2.5 |
352 | - | main.FormFactor = "Custom" |
352 | + | local bpos = (bullet.CFrame *cf(0,0,-300)).p if (bpos - v3(Palm.Position.x,bpos.y,Palm.Position.z)).magnitude < 25*s then ming = 0 end |
353 | - | main.CanCollide = false |
353 | + | |
354 | - | main.Size = Vector3.new(.75, 1, 1.2) |
354 | + | tyms = tyms + 2 |
355 | - | main.Locked = true |
355 | + | local bhit,bpos = ray(bullet.Position,bullet.Position - (bullet.CFrame *cf(0,0,-1)).p) |
356 | - | main.BrickColor = BrickColor.new("Black") |
356 | + | if bpos ~= nil and (bpos - bullet.Position).magnitude < 7 then bullethit = true else bullet.CFrame = bullet.CFrame *cf(0,0,-0.5) *ca(rd(ming),rd(0),0) end |
357 | - | main.TopSurface = 0 |
357 | + | if tyms%16 == 0 then wait() end |
358 | - | main.BottomSurface = 0 |
358 | + | until bullethit or bullet.Position.y < -300 or tyms > 500 |
359 | - | main.Position = torso.Position |
359 | + | bullet.CFrame = bullet.CFrame *cf(0,0,8) bullet:Remove() |
360 | - | main:BreakJoints() |
360 | + | if bullet.Position.y < -300 then |
361 | - | local weld1 = weld(main, ra, CFrame.new(), char, CFrame.new(0, -.8, -.6)) |
361 | + | else |
362 | - | local speaker = Instance.new("Part", char) |
362 | + | Hurtsplosion(bullet.Position,dmg,rndmg,siz,forc) |
363 | - | speaker.FormFactor = "Custom" |
363 | + | |
364 | - | speaker.CanCollide = false |
364 | + | elseif typez == 3 then |
365 | - | speaker.Size = Vector3.new(1.5, .25, 1.4) |
365 | + | |
366 | - | speaker.Locked = true |
366 | + | |
367 | - | speaker.BrickColor = BrickColor.new("Black") |
367 | + | function ShortifiedAnim(theanim) |
368 | - | speaker.TopSurface = 0 |
368 | + | if theanim == "Beam" then |
369 | - | speaker.BottomSurface = 0 |
369 | + | local crom = pa(m,"Block",0,0,0,true,true,0.5,0,LaserCol3) local cromm = it("SpecialMesh",crom) cromm.MeshType = "FileMesh" cromm.MeshId = asset .. Decs.Crown |
370 | - | speaker.Position = torso.Position |
370 | + | cromm.Scale = v3(15*s,5*s,15*s) crom.Anchored = true --local cromw = weld(crom,Palm,crom,0,Palm.Size.y/3.6,-Palm.Size.z*1.8,rd(-90),0,0) |
371 | - | speaker:BreakJoints() |
371 | + | dias = {} loldiv = 360/8 for x=0,360,loldiv do |
372 | - | local weld2 = weld(speaker, main, CFrame.new(), char, CFrame.new(-.25, -1.7, .6)) |
372 | + | local dia = pa(m,"Block",0,0,0,false,false,0,0,LaserCol2) dia.Anchored = true local diam = it("SpecialMesh",dia) diam.MeshType = "FileMesh" diam.MeshId = DiamondMesh.MeshId |
373 | - | local speaker2 = Instance.new("Part", char) |
373 | + | diam.Scale = v3(3*s,9*s,3*s) table.insert(dias,dia) |
374 | - | speaker2.FormFactor = "Custom" |
374 | + | end Button = true coroutine.resume(coroutine.create(function() local tardz = 0 repeat wait() tardz = tardz+ 15 |
375 | - | speaker2.CanCollide = false |
375 | + | crom.CFrame = Palm.CFrame *ca(rd(-90),0,0) *cf(0,5.5*s,2*s) *ca(0,rd(tardz),0) |
376 | - | speaker2.Size = Vector3.new(1, .25, 2) |
376 | + | for rofl=1,#dias do dias[rofl].CFrame = crom.CFrame *ca(0,rd(rofl*loldiv),0) *cf(0,-19*s,0) *ca(rd(25),0,0) *cf(0,32*s,0) end |
377 | - | speaker2.Locked = true |
377 | + | until not Button for x2=0.5,1,0.05 do wait() crom.Transparency = x2 end end)) |
378 | - | speaker2.BrickColor = BrickColor.new("Black") |
378 | + | coroutine.resume(coroutine.create(function() for xk=1,0.5,-0.02 do wait() for i=1,#dias do dias[i].Transparency =xk end end end)) |
379 | - | speaker2.TopSurface = 0 |
379 | + | wait(1) local beamoffset = v3(0,0,0) |
380 | - | speaker2.BottomSurface = 0 |
380 | + | local b1 = pa(m,"Ball",10*s,10*s,10*s,false,false,0.1,0,LaserCol) b1.Anchored = true |
381 | - | speaker2.Position = torso.Position |
381 | + | local b2 = pa(m,"Block",10*s,1,10*s,false,false,0.1,0,LaserCol) b2.Anchored = true local b2m = it("CylinderMesh",b2) |
382 | - | speaker2:BreakJoints() |
382 | + | local b3 = pa(m,"Ball",10*s,10*s,10*s,false,false,0.1,0,LaserCol) b3.Anchored = true |
383 | - | local weld3 = weld(speaker2, main, CFrame.new(), char, CFrame.new(0, -1.7, -.2)) |
383 | + | local bpos = nil local bhit = nil local ts = 0 |
384 | - | local main2 = Instance.new("Part", char) |
384 | + | repeat beamoffset = v3(ra(-2*s,2*s),ra(-2*s,2*s),ra(-2*s,2*s)) ts = ts + 1 |
385 | - | main2.FormFactor = "Custom" |
385 | + | bhit,bpos = ray(Palm.Position,Palm.Position - (Palm.CFrame *cf(0,0,1)).p) |
386 | - | main2.CanCollide = false |
386 | + | if bhit == nil or (Palm.Position - bpos).magnitude > 1500 then break end |
387 | - | main2.Size = Vector3.new(.751, 1, .6) |
387 | + | b1.CFrame = Palm.CFrame *cf(0,3*s,-11*s) |
388 | - | main2.Locked = true |
388 | + | b3.CFrame = cf(bpos) local lenz = (b1.Position - b3.Position).magnitude |
389 | - | main2.BrickColor = BrickColor.new("Black") |
389 | + | b2.CFrame = cf(b1.Position,b3.Position) *ca(rd(90),0,0) *cf(0,-lenz/2,0) b2m.Scale = v3(1,lenz,1) |
390 | - | main2.TopSurface = 0 |
390 | + | b1.CFrame = b1.CFrame + beamoffset b2.CFrame = b2.CFrame + beamoffset b3.CFrame = b3.CFrame + beamoffset |
391 | - | main2.BottomSurface = 0 |
391 | + | if ts%10 == 0 then DmgHumanoidsNear(b3.Position,3,10,(14*s)+2,100) Explode(b3.CFrame*cf(0,b3.Size.y/3,0),25*s,LaserCol2) end |
392 | - | main2.Position = torso.Position |
392 | + | wait() until not Button or ts > 600 |
393 | - | main2:BreakJoints() |
393 | + | coroutine.resume(coroutine.create(function() for xk=0.1,1.1,0.08 do wait() b1.Transparency = xk b2.Transparency = xk b3.Transparency = xk end b1:Remove() b2:Remove() b3:Remove() end)) |
394 | - | local weld4 = weld(main2, ra, CFrame.new(), char, CFrame.new(0, 0, -.9)) |
394 | + | coroutine.resume(coroutine.create(function() for xk=0.5,1.1,0.02 do wait() for i=1,#dias do dias[i].Transparency =xk end end end)) |
395 | - | local main3 = Instance.new("Part", char) |
395 | + | wait(1) clearit(dias) crom:Remove() |
396 | - | main3.FormFactor = "Custom" |
396 | + | |
397 | - | main3.CanCollide = false |
397 | + | |
398 | - | main3.Size = Vector3.new(.751, 1.45, 1) |
398 | + | PalmLev = it("BodyPosition",Palm) |
399 | - | main3.Locked = true |
399 | + | PalmFace = it("BodyGyro",Palm) PalmFace.maxTorque = v3(0,0,0) |
400 | - | main3.BrickColor = BrickColor.new("Black") |
400 | + | coroutine.resume(coroutine.create(function() |
401 | - | main3.TopSurface = 0 |
401 | + | PalmLev.position = (t.CFrame *cf(handoffset)).p |
402 | - | main3.BottomSurface = 0 |
402 | + | local yspi = 0 |
403 | - | main3.Position = torso.Position |
403 | + | while true do yspi = yspi + 8 |
404 | - | main3:BreakJoints() |
404 | + | if Anim.a == "Gun" or Anim.a == "Ride" or Anim.a == "Pound" then |
405 | - | local weld5 = weld(main3, ra, CFrame.new(), char, CFrame.new(0, -1.6, -.9)) |
405 | + | Facing = "Mouse" bgx = -90 bgy = 90 bgz = 0 |
406 | - | local main4 = Instance.new("Part", char) |
406 | + | elseif Anim.a == "Fu" or Anim.a == "Fist" or Anim.a == "GroundGrip" then |
407 | - | main4.FormFactor = "Custom" |
407 | + | Facing = "Mouse" bgx = -90 bgy = 0 bgz = 0 |
408 | - | main4.CanCollide = false |
408 | + | elseif Anim.a == "Splat" or Anim.a == "Beam" then |
409 | - | main4.Size = Vector3.new(1, .76, 1) |
409 | + | Facing = "Mouse" bgx = 0 bgy = 0 bgz = 0 |
410 | - | Instance.new("CylinderMesh", main4) |
410 | + | elseif Anim.a == "None" then |
411 | - | main4.Locked = true |
411 | + | Facing = "Owner" bgx = -90 bgy = 0 bgz = 0 Posing = "Follow" |
412 | - | main4.BrickColor = BrickColor.new("Black") |
412 | + | elseif Anim.a == "Shower" then |
413 | - | main4.TopSurface = 0 |
413 | + | Facing = "None" bgx = 0 bgy = 0 bgz = 0 Posing = "TopOwner" |
414 | - | main4.BottomSurface = 0 |
414 | + | |
415 | - | main4.Position = torso.Position |
415 | + | if Posing == "Follow" then |
416 | - | main4:BreakJoints() |
416 | + | PalmLev.maxForce = v3(1/0,1/0,1/0) PalmLev.position = (t.CFrame *cf(handoffset) *cf(0,0,0)).p |
417 | - | local weld6 = weld(main4, main, CFrame.new(), char, CFrame.new(0, -.15, -.5)*CFrame.Angles(math.pi/2, 0, math.pi/2)) |
417 | + | elseif Posing == "TopOwner" then |
418 | - | local speaker3 = Instance.new("Part", char) |
418 | + | PalmLev.maxForce = v3(1/0,1/0,1/0) PalmLev.position = (t.CFrame *cf(0,12*s,0)).p |
419 | - | speaker3.FormFactor = "Custom" |
419 | + | |
420 | - | speaker3.CanCollide = false |
420 | + | if Facing == "Owner" then |
421 | - | speaker3.Size = Vector3.new(1.5, .5, 1.4) |
421 | + | PalmFace.maxTorque = v3(1/0,1/0,1/0) PalmFace.cframe = cf(Palm.Position,he.Position) *ca(rd(bgx),rd(bgy),rd(bgz)) |
422 | - | speaker3.Locked = true |
422 | + | elseif Facing == "Mouse" and mou ~= nil and Equip then |
423 | - | speaker3.BrickColor = BrickColor.new("Black") |
423 | + | if Anim.a == "Gun" or Anim.a == "Beam" or Anim.a == "Ride" or Anim.a == "GroundGrip" or Anim.a == "Fu" or Anim.a == "Pound" or Anim.a == "Splat" or Anim.a == "Fist" then |
424 | - | speaker3.TopSurface = 0 |
424 | + | if Anim.b == "None" or Anim.a == "Beam" or Anim.a == "Ride" then |
425 | - | speaker3.BottomSurface = 0 |
425 | + | PalmFace.cframe = cf(Palm.Position,mou.Hit.p) *ca(rd(bgx),rd(bgy),rd(bgz)) wait(0.05) |
426 | - | speaker3.Position = torso.Position |
426 | + | end end end |
427 | - | speaker3:BreakJoints() |
427 | + | wait(0.05) |
428 | - | local welds1 = weld(speaker3, main, CFrame.new(), char, CFrame.new(-.25, -2.2, .6)) |
428 | + | |
429 | - | local speaker4 = Instance.new("Part", char) |
429 | + | end)) |
430 | - | speaker4.FormFactor = "Custom" |
430 | + | function FireFinger(lasercol,ffingz,targ,typez,siz,dmg,rndmg,forc) coroutine.resume(coroutine.create(function() |
431 | - | speaker4.CanCollide = false |
431 | + | local laser = pa(m,"Block",fingwide*1.3,fingwide*1.3,fingwide*2.5,true,false,0,0,lasercol) spm("Sphere",laser,1+(siz/5.5)) laser.Name = "Projectile" |
432 | - | speaker4.Size = Vector3.new(1, .5, 2) |
432 | + | local lw = weld(laser,ffingz,laser,0,ffingz.Size.y/0.8 +(siz/2.5),0,rd(90),0,0) |
433 | - | speaker4.Locked = true |
433 | + | for i=1,0.4,-0.05 do laser.Transparency = i wait() end |
434 | - | speaker4.BrickColor = BrickColor.new("Black") |
434 | + | BlastWave(ffingz.CFrame*cf(0,ffingz.Size.y*1.3,0)*ca(0,0,0),ffingz.Size.x*1.6,1.8,LaserCol2) |
435 | - | speaker4.TopSurface = 0 |
435 | + | lw:Remove() laser.CFrame = cf(laser.Position,targ) |
436 | - | speaker4.BottomSurface = 0 |
436 | + | Fire(laser,typez,siz,dmg,rndmg,forc) |
437 | - | speaker4.Position = torso.Position |
437 | + | end)) |
438 | - | speaker4:BreakJoints() |
438 | + | |
439 | - | local welds2 = weld(speaker4, main, CFrame.new(), char, CFrame.new(0, -2.205, -.2)) |
439 | + | GrabWeld = it("Weld",m) |
440 | - | local speaker5 = Instance.new("Part", char) |
440 | + | Palm.Touched:connect(function(touch) |
441 | - | speaker5.FormFactor = "Custom" |
441 | + | if Anim.a == "Ride" and GrabWeld.Part1 == nil and touch.Parent:findFirstChild("Torso") and touch.Parent:findFirstChild("Humanoid") then |
442 | - | speaker5.CanCollide = false |
442 | + | local tor = touch.Parent.Torso touch.Parent.Humanoid.PlatformStand = true |
443 | - | speaker5.Size = Vector3.new(1.4, .4, 1.3) |
443 | + | GrabWeld.Part0 = Palm GrabWeld.Part1 = tor GrabWeld.C0 = cf(-3*s,4.5*s,-Palm.Size.x/2) GrabWeld.C1 = ca(0,rd(90),rd(-90)) *ca(0,rd(0),0) |
444 | - | speaker5.Locked = true |
444 | + | |
445 | - | speaker5.BrickColor = BrickColor.new("Black") |
445 | + | |
446 | - | speaker5.TopSurface = 0 |
446 | + | re(bp,"Hand") |
447 | - | speaker5.BottomSurface = 0 |
447 | + | hb = it("HopperBin",bp) hb.Name = "Hand" |
448 | - | speaker5.Position = torso.Position |
448 | + | hb.Selected:connect(function(mouse) mou = mouse Equip = true |
449 | - | speaker5:BreakJoints() |
449 | + | mouse.KeyDown:connect(function(k) k = k:lower() |
450 | - | local welds3 = weld(speaker5, main, CFrame.new(), char, CFrame.new(-.25, -2, .6)) |
450 | + | if Anim.a == "Ride" and k == "f" then FireFinger(LaserCol,pPinkie3,mouse.Hit.p,1,2.25,1,18,30) end |
451 | - | local speaker6 = Instance.new("Part", char) |
451 | + | if Anim.b ~= "None" or Anim.Welding ~= 0 then return end |
452 | - | speaker6.FormFactor = "Custom" |
452 | + | if Anim.a == "None" then |
453 | - | speaker6.CanCollide = false |
453 | + | if k == "f" then -- on anim on |
454 | - | speaker6.Size = Vector3.new(.9, .4, 1.9) |
454 | + | Anim.a = "Gun" HandSign("Gun",0.7) |
455 | - | speaker6.Locked = true |
455 | + | elseif k == "p" then |
456 | - | speaker6.BrickColor = BrickColor.new("Black") |
456 | + | Anim.a = "Fu" HandSign("f",1) |
457 | - | speaker6.TopSurface = 0 |
457 | + | elseif k == "g" then |
458 | - | speaker6.BottomSurface = 0 |
458 | + | Anim.a = "Fist" HandSign("fist",1) |
459 | - | speaker6.Position = torso.Position |
459 | + | elseif k == "c" then |
460 | - | speaker6:BreakJoints() |
460 | + | Anim.a = "Splat" HandSign("wide",1) |
461 | - | local welds4 = weld(speaker6, main, CFrame.new(), char, CFrame.new(0, -2, -.2)) |
461 | + | elseif k == "r" then |
462 | - | |
462 | + | Anim.a = "Ride" HandSign("ride",1) Posing = "None" |
463 | - | local support = Instance.new("Part", char) |
463 | + | elseif k == "v" then |
464 | - | support.FormFactor = "Custom" |
464 | + | Anim.a = "Shower" HandSign("grab2",1) PalmFace.cframe = cf(0,0,0) *ca(0,0,0) |
465 | - | support.CanCollide = false |
465 | + | elseif k == "b" then |
466 | - | support.Size = Vector3.new(.3, .4, .6) |
466 | + | Anim.a = "Pound" HandSign("fist",1) |
467 | - | support.Locked = true |
467 | + | elseif k == "x" then |
468 | - | support.BrickColor = BrickColor.new("Black") |
468 | + | Anim.a = "GroundGrip" HandSign("grab2",1) |
469 | - | support.TopSurface = 0 |
469 | + | elseif k == "z" then |
470 | - | support.BottomSurface = 0 |
470 | + | Anim.a = "Beam" HandSign("wide2",1) |
471 | - | support.Position = torso.Position |
471 | + | |
472 | - | support:BreakJoints() |
472 | + | else |
473 | - | local welds5 = weld(support, main, CFrame.new(), char, CFrame.new(0, -1.5, -.4)) |
473 | + | if k == "f" and Anim.a == "Gun" then -- on anim off |
474 | - | |
474 | + | Anim.a = "None" HandSign("five",0.8) |
475 | - | |
475 | + | elseif k == "p" and Anim.a == "Fu" then |
476 | - | debounce = false |
476 | + | Anim.a = "None" HandSign("five",0.8) |
477 | - | |
477 | + | elseif k == "g" and Anim.a == "Fist" then |
478 | - | function stopsound() |
478 | + | Anim.a = "None" HandSign("five",0.8) |
479 | - | if debounce then return end |
479 | + | elseif k == "c" and Anim.a == "Splat" then |
480 | - | if not sound.IsPlaying then return end |
480 | + | Anim.a = "None" HandSign("five",0.8) |
481 | - | sound:stop() |
481 | + | elseif k == "r" and Anim.a == "Ride" then |
482 | - | debounce = true |
482 | + | Anim.a = "None" HandSign("five",0.8) GrabWeld.Part0 = nil Anim.b = "None" Posing = "Follow" Facing = "Owner" |
483 | - | local dancebro = Instance.new("StringValue", game:service'Lighting') |
483 | + | if GrabWeld.Part1 ~= nil and GrabWeld.Part1.Parent:findFirstChild("Humanoid") ~= nil then GrabWeld.Part1.Parent.Humanoid.PlatformStand = false end GrabWeld.Part1 = nil |
484 | - | dancebro.Name = ('STOPDANCING'..plr.Name) |
484 | + | elseif k == "v" and Anim.a == "Shower" then |
485 | - | game:service'Debris':AddItem(dancebro, 1) |
485 | + | Anim.a = "None" HandSign("five",0.8) Posing = "Follow" Facing = "Owner" |
486 | - | coroutine.wrap(function() |
486 | + | elseif k == "b" and Anim.a == "Pound" then |
487 | - | while not sound.IsPlaying do |
487 | + | Anim.a = "None" HandSign("five",0.8) |
488 | - | if charge <= 100 then |
488 | + | elseif k == "x" and Anim.a == "GroundGrip" then |
489 | - | charge = charge + .1 |
489 | + | Anim.a = "None" HandSign("five",0.8) |
490 | - | wait() |
490 | + | elseif k == "z" and Anim.a == "Beam" then |
491 | - | elseif charge > 100 then |
491 | + | Anim.a = "None" HandSign("five",0.8) |
492 | - | charge = 100 |
492 | + | |
493 | - | break |
493 | + | |
494 | - | end |
494 | + | |
495 | - | end |
495 | + | mouse.Button1Down:connect(function() |
496 | - | end)() |
496 | + | if Anim.a == "None" or Anim.b ~= "None" then return end |
497 | - | wait(.1) |
497 | + | if Anim.a == "Gun" then |
498 | - | debounce = false |
498 | + | Anim.b = "Gun" FireFinger(LaserCol,pPoint3,mouse.Hit.p,1,2.25,1,10,60) FireFinger(LaserCol,pMid3,mouse.Hit.p,1,2.25) wait(1) Anim.b = "None" |
499 | elseif Anim.a == "Fu" then | |
500 | - | mouse.Button1Down:connect(function(mous) |
500 | + | Anim.b = "Fu" FireFinger(LaserCol,pMid3,mouse.Hit.p,1,3.65,2,14,95) wait(0.25) Anim.b = "None" |
501 | - | if debounceofsprint then return end |
501 | + | elseif Anim.a == "Fist" then |
502 | - | if sound.IsPlaying then return end |
502 | + | local bhit,bpos = ray(Palm.Position,Palm.Position - (Palm.CFrame *cf(0,-1,0)).p) |
503 | - | if debounce then return end |
503 | + | if bhit == nil or (Palm.Position - bpos).magnitude > 500 then return end |
504 | - | sound:play() |
504 | + | Anim.b = "Fist" Posing = "None" PalmFace.cframe = cf(Palm.Position,bpos) *ca(rd(-90),0,0) |
505 | - | for i = 70, 55, -.35 do |
505 | + | PalmLev.position = (Palm.CFrame *cf(0,-15*s,0)).p |
506 | - | if not sound.IsPlaying then debounce = true camera.FieldOfView = 70 return end |
506 | + | wait(0.45) |
507 | - | camera.FieldOfView = i |
507 | + | PalmLev.position = bpos + ((Palm.CFrame *cf(0,1*s,0)).p - Palm.Position) |
508 | - | wait() |
508 | + | local tz = 0 repeat wait() BlastWave(Palm.CFrame*ca(rd(180),0,0),8*s,3.5,HCol) tz = tz + wait() until (PalmLev.position - Palm.Position).magnitude < 8*s or tz > 1 |
509 | Explode(Palm.CFrame *cf(0,6*s,0) *ca(rd(180),0,0),15*s,ts(bhit.BrickColor)) | |
510 | - | for i = 65, 70, 2.5 do |
510 | + | DmgHumanoidsNear((Palm.CFrame *cf(0,8,0)).p,3,10,(12*s)+2,105) |
511 | - | if not sound.IsPlaying then debounce = true camera.FieldOfView = 70 return end |
511 | + | if not bhit.Anchored then PalmLev.position = (Palm.CFrame *cf(0,12*s,0)).p wait(0.5) end |
512 | - | camera.FieldOfView = i |
512 | + | wait(1) Posing = "Follow" Anim.b = "None" |
513 | - | wait() |
513 | + | elseif Anim.a == "Splat" then |
514 | if mouse.Target == nil and (Palm.Position - mouse.Hit.p).magnitude > 500 then return end local bpos = mouse.Hit.p | |
515 | - | if debounce then debounce = false return end |
515 | + | Anim.b = "Splat" Posing = "None" |
516 | - | if dancemode then |
516 | + | local ya,yb,yc = PalmFace.cframe:toEulerAnglesXYZ() PalmFace.cframe = cf(0,0,0) *ca(0,yb,0) *ca(rd(-90),0,0) PalmLev.position = bpos + v3(0,10*s,0) |
517 | - | for i,v in pairs(workspace:children()) do |
517 | + | local tz = 0 repeat wait() tz = tz + wait() until (PalmLev.position - Palm.Position).magnitude < 5*s or tz > 1.3 |
518 | - | if not sound.IsPlaying then break end |
518 | + | for i=-90,0,5 do |
519 | - | coroutine.wrap(function() |
519 | + | PalmLev.position = PalmLev.position + v3(0,2*s,0) PalmFace.cframe = cf(0,0,0) *ca(0,yb,0) *ca(rd(i),0,0) |
520 | - | if v:IsA("Model") and v:findFirstChild("Humanoid") and v.Name ~= char.Name and v:findFirstChild("ModelForParts") == nil and v:findFirstChild("Torso") and (v:findFirstChild("Torso").Position - head.Position).magnitude < 30 then |
520 | + | wait() |
521 | - | danceAnimClone = danceAnim:clone() |
521 | + | end wait(0.2) |
522 | - | danceAnimClone.Parent = v |
522 | + | for i=0,-100,-10 do |
523 | - | danceAnimClone.AnimationId = "http://www.roblox.com/asset/?id=130018893" |
523 | + | local lewd = i |
524 | - | wait() |
524 | + | if lewd < -50 then lewd = -95 end |
525 | - | NLS([[ |
525 | + | PalmLev.position = PalmLev.position - v3(0,4.7*s,0) PalmFace.cframe = cf(0,0,0) *ca(0,yb,0) *ca(rd(lewd),0,0) |
526 | - | function animatehuman(animationid, object) |
526 | + | wait() |
527 | - | local animation = object:findFirstChild("Humanoid"):LoadAnimation(animationid) |
527 | + | end wait(0.2) |
528 | - | animation:Play() |
528 | + | local cr = pa(m,"Block",16*s,0,16*s,false,false,1,0,"") cr.Anchored = true cr.CFrame = cf(bpos) *ca(0,rd(ra(-360,360)),0) |
529 | - | end |
529 | + | local de = it("Decal",cr) de.Face = "Top" de.Texture = asset .. Decs.Crack Serv.d:AddItem(cr,16) |
530 | - | while wait(.5) do |
530 | + | DmgHumanoidsNear((Palm.CFrame *cf(0,0,-1)).p,3,20,(15*s)+2,110) |
531 | - | if game:service'Lighting':findFirstChild("STOPDANCING]]..plr.Name..[[") and game:service'Lighting':findFirstChild("STOPDANCING]]..plr.Name..[["):IsA("StringValue") then game:service'Debris':AddItem(script.Parent:findFirstChild("DancingAnimation"), 5) break end |
531 | + | ShockWave(Palm.CFrame *ca(rd(90),0,0),25*s,LaserCol) |
532 | - | animatehuman(script.Parent:findFirstChild("DancingAnimation"), script.Parent) |
532 | + | wait(1) Posing = "Follow" Anim.b = "None" |
533 | - | end |
533 | + | elseif Anim.a == "Ride" and Button == false then |
534 | - | ]], v) |
534 | + | Posing = "None" Anim.b = "Ride" |
535 | - | end |
535 | + | Button = true |
536 | - | end)() |
536 | + | repeat PalmLev.position = (Palm.CFrame *cf(0,10,0)).p wait() until Button == false |
537 | - | end |
537 | + | Anim.b = "None" |
538 | elseif Anim.a == "Shower" and Button == false then | |
539 | - | coroutine.wrap(function() |
539 | + | Anim.b = "Shower" Button = true |
540 | - | while sound.IsPlaying do |
540 | + | repeat |
541 | - | if charge <= 1 then |
541 | + | local targz = Palm.Position + v3(0,20*s,0) |
542 | - | if debounce then break end |
542 | + | if ra(1,12) == 1 then FireFinger(LaserCol,pPinkie3,targz,2,4,1,18,55) end |
543 | - | if not sound.IsPlaying then break end |
543 | + | if ra(1,13) == 1 then FireFinger(LaserCol,pRing3,targz,2,4,1,18,60) end |
544 | - | sound:stop() |
544 | + | if ra(1,12) == 1 then FireFinger(LaserCol,pMid3,targz,2,4,1,18,65) end |
545 | - | debounce = true |
545 | + | if ra(1,13) == 1 then FireFinger(LaserCol,pPoint3,targz,2,4,1,18,70) end |
546 | - | chargetext.TextColor3 = Color3.new(1,0,0) |
546 | + | if ra(1,12) == 1 then FireFinger(LaserCol,pThumb3,targz,2,4,1,18,80) end |
547 | - | dancebro = Instance.new("StringValue", game:service'Lighting') |
547 | + | PalmFace.cframe = PalmFace.cframe *ca(0,rd(10),0) |
548 | - | dancebro.Name = ('STOPDANCING'..plr.Name) |
548 | + | wait() |
549 | - | game:service'Debris':AddItem(dancebro, 1) |
549 | + | until Button == false |
550 | - | coroutine.wrap(function() |
550 | + | Anim.b = "None" |
551 | - | repeat wait() until charge >= 10 |
551 | + | elseif Anim.a == "Pound" and Anim.b == "None" then Posing = "None" Anim.b = "Pound" |
552 | - | debounce = false |
552 | + | local bhit,bpos = ray(Palm.Position,Palm.Position - (Palm.CFrame *cf(0,-1,0)).p) |
553 | - | chargetext.TextColor3 = Color3.new(1,1,1) |
553 | + | if bhit == nil or (Palm.Position - bpos).magnitude > 500 then return end |
554 | - | end)() |
554 | + | PalmLev.position = bpos + v3(0,15*s,0) |
555 | - | coroutine.wrap(function() |
555 | + | local ya,yb,yc = PalmFace.cframe:toEulerAnglesXYZ() PalmFace.cframe = ca(ya,yb,yc) |
556 | - | while not sound.IsPlaying do |
556 | + | local tz = 0 repeat wait() tz = tz + wait() until (PalmLev.position - Palm.Position).magnitude < 5*s or tz > 1.3 wait(0.1) |
557 | - | if charge <= 100 then |
557 | + | for i=-90,-10,10 do |
558 | - | charge = charge + .1 |
558 | + | PalmFace.cframe = ca(ya,yb,yc) *ca(0,0,rd(i+90)) PalmLev.position = PalmLev.position + v3(0,2.5*s,0) |
559 | - | wait() |
559 | + | wait() end wait(0.25) local realcf = cf(v3(he.Position.x,0,he.Position.z),v3(Palm.Position.x,0,Palm.Position.z)) |
560 | - | elseif charge > 100 then |
560 | + | for i=-10,-90,-10 do |
561 | - | charge = 100 |
561 | + | PalmFace.cframe = ca(ya,yb,yc) *ca(0,0,rd(i+90)) PalmLev.position = PalmLev.position - v3(0,4*s,0) |
562 | - | break |
562 | + | wait() end PalmFace.cframe = realcf *ca(rd(-90),rd(90),0) wait(0.25) |
563 | - | end |
563 | + | local cr = pa(m,"Block",22*s,0,22*s,false,false,1,0,"") cr.Anchored = true cr.CFrame = cf(bpos) *ca(0,rd(ra(-360,360)),0) |
564 | - | end |
564 | + | local de = it("Decal",cr) de.Face = "Top" de.Texture = asset .. Decs.Crack Serv.d:AddItem(cr,16) |
565 | - | end)() |
565 | + | Dustplosion(Palm.CFrame *cf(2*s,0,0) *ca(rd(90),0,rd(90)),30*s,{"Dark green","Bright green","Brown"},3) |
566 | - | else |
566 | + | ShockWave(Palm.CFrame *cf(2*s,0,0) *ca(rd(90),0,rd(90)),20*s,ts(bhit.BrickColor)) |
567 | - | charge = charge - .08 |
567 | + | DmgHumanoidsNear((Palm.CFrame *cf(0,1,0)).p,1,20,(15*s)+2,90) wait(0.2) |
568 | - | wait() |
568 | + | local palmcf = cf(bpos) local earthsplos = ra(5,8) palmcf = Palm.CFrame *ca(0,rd(90),0) *ca(rd(-90),0,rd(0)) |
569 | - | end |
569 | + | for i=1,earthsplos do Earthsplosion(palmcf *cf(0,-2*s,((i*7)+7)*s),10,1,20,75) wait(0.1) end |
570 | - | end |
570 | + | Earthsplosion(palmcf *cf(0,-2*s,(((earthsplos+1)*7)+7)*s),16,2,25,75) |
571 | - | end)() |
571 | + | wait(1) Posing = "Follow" wait(0.25) Anim.b = "None" |
572 | - | coroutine.wrap(function() |
572 | + | elseif Anim.a == "GroundGrip" then Posing = "None" Anim.b = "GroundGrip" |
573 | - | local ran,err = ypcall(function() |
573 | + | local bhit,bpos = ray(Palm.Position,Palm.Position - (Palm.CFrame *cf(0,-1,0)).p) |
574 | - | while sound.IsPlaying and Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude <= 20 do |
574 | + | if bhit == nil or (Palm.Position - bpos).magnitude > 500 then return end |
575 | - | if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 20 then stopsound() break end |
575 | + | PalmLev.position = bpos + v3(0,27*s,0) ColFings(false) |
576 | - | if not sound.IsPlaying then break end |
576 | + | local tz = 0 repeat wait() tz = tz + wait() until (PalmLev.position - Palm.Position).magnitude < 8*s or tz > 1.3 wait(0.1) |
577 | - | rayCast(speaker, 1250, 0, 5, "Lavender") |
577 | + | local thepos = (Palm.CFrame *cf(0,-0.1*s,0)).p - Palm.Position |
578 | - | wait(.35) |
578 | + | PalmFace.cframe = cf(Palm.Position,bpos + thepos) *ca(rd(-90),0,0) |
579 | - | if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 20 then stopsound() break end |
579 | + | for i=27,1,-3 do PalmLev.position = bpos + v3(0,i*s,0) wait(0.07) end HandSign("grab3",0.4) wait(0.55) |
580 | - | if not sound.IsPlaying then break end |
580 | + | local ro = pa(m,"Ball",0,0,0,false,false,0,0,"Earth green") ro.Name = "Rock" local row = it("SpecialMesh",ro) row.MeshType = "FileMesh" row.MeshId = asset .. Decs.Rock |
581 | - | rayCast(speaker, 1250, 0, 5, "Pink") |
581 | + | local rowe = weld(ro,Palm,ro,0,Palm.Size.y,-Palm.Size.z*1.2,0,0,0) row.Scale = v3(9*s,10*s,9*s) |
582 | - | wait(.95) |
582 | + | coroutine.resume(coroutine.create(function() for xz=1,70,7 do PalmLev.position = bpos + v3(0,xz*s,0) wait(0.06) end end)) |
583 | - | if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 20 then stopsound() break end |
583 | + | wait(0.25) Dustplosion(cf(bpos),30*s,{"Dark green","Bright green","Brown"},3) local lolra = ra(-360,360) |
584 | - | if not sound.IsPlaying then break end |
584 | + | Earthsplosion(cf(bpos),25,1,20,125,"sand") for yyy=0,360,60 do coroutine.resume(coroutine.create(function() |
585 | - | rayCast(speaker, 1250, 0, 5, "Bright bluish green") |
585 | + | for zzz=1,4 do |
586 | - | wait(.55) |
586 | + | Earthsplosion(cf(bpos) *ca(0,rd(yyy+lolra),0) *cf(0,0,zzz*15*s),10,1,20,75) wait(0.14) |
587 | - | if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 20 then stopsound() break end |
587 | + | end wait(0.25) Earthsplosion(cf(bpos) *ca(0,rd(yyy+lolra),0) *cf(0,0,5*18*s),25,1,20,120) end)) end |
588 | - | if not sound.IsPlaying then break end |
588 | + | wait(0.3) HandSign("grab2",0.5) wait(0.75) Serv.d:AddItem(ro,20) rowe:Remove() ro.CanCollide = true local rocf = ro.CFrame ro.Size=v3(14*s,14*s,14*s) ro.CFrame = rocf wait(0.75) ColFings(true) Posing = "Follow" Anim.b = "None" |
589 | - | rayCast(speaker, 1250, 0, 5, "Pink") |
589 | + | elseif Anim.a == "Beam" and not Button and Anim.b == "None" then Anim.b = "Beam" |
590 | - | wait(.4) |
590 | + | ShortifiedAnim("Beam") wait(0.5) Anim.b = "None" |
591 | - | if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 20 then stopsound() break end |
591 | + | |
592 | - | if not sound.IsPlaying then break end |
592 | + | |
593 | - | rayCast(speaker, 1250, 0, 5, "Bright bluish green") |
593 | + | mouse.Button1Up:connect(function() |
594 | - | local pl = Instance.new("PointLight", torso) |
594 | + | Button = false |
595 | - | pl.Color = Color3.new(153/255/1.25, 102/255/1.25, 204/255/1.25) |
595 | + | |
596 | - | pl.Range = 30 |
596 | + | mouse.Move:connect(function() |
597 | - | pl.Brightness = 0.7 |
597 | + | |
598 | - | game:service'Debris':AddItem(pl, .3) |
598 | + | |
599 | - | wait(.45) |
599 | + | hb.Deselected:connect(function(mouse) |
600 | - | if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 20 then stopsound() break end |
600 | + | Equip = false |
601 | - | if not sound.IsPlaying then break end |
601 | + | |
602 | - | rayCast(speaker, 1250, 0, 5, "Lavender") |
602 | + | --lego |
603 | - | wait(.75) |
603 | + | game.Workspace.sandoval12.Humanoid.MaxHealth = math.huge -----Put your name where it says "YourNameHere" |
604 | - | end |
604 | + | print(lego) |