SHOW:
|
|
- or go back to the newest paste.
| 1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
| 2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 3 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 4 | local RealPlayer = Player | |
| 5 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
| |
| 6 | ||
| 7 | wait(1) | |
| 8 | ||
| 9 | ||
| 10 | --Ok go abuse this. I dare you. Anyways enjoy little brats. | |
| 11 | ||
| 12 | --[[ | |
| 13 | User: TheDarkRevenant | |
| 14 | Script: DSSJ3 | |
| 15 | Pass: CENSORED | |
| 16 | ||
| 17 | ]] | |
| 18 | ||
| 19 | local p = game.Players.LocalPlayer | |
| 20 | local char = p.Character | |
| 21 | local mouse = p:GetMouse() | |
| 22 | local larm = char["Left Arm"] | |
| 23 | local rarm = char["Right Arm"] | |
| 24 | local lleg = char["Left Leg"] | |
| 25 | local rleg = char["Right Leg"] | |
| 26 | local hed = char.Head | |
| 27 | local torso = char.Torso | |
| 28 | local hum = char.Humanoid | |
| 29 | local cam = game.Workspace.CurrentCamera | |
| 30 | local root = char.HumanoidRootPart | |
| 31 | local deb = false | |
| 32 | local shot = 0 | |
| 33 | local debris=game:service"Debris" | |
| 34 | local l = game:GetService("Lighting")
| |
| 35 | local rs = game:GetService("RunService").RenderStepped
| |
| 36 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
| |
| 37 | math.randomseed(os.time()) | |
| 38 | for i,v in pairs(char:children()) do | |
| 39 | if v:IsA("Hat") then
| |
| 40 | v:Destroy() | |
| 41 | end | |
| 42 | end | |
| 43 | for i,v in pairs (hed:GetChildren()) do | |
| 44 | if v:IsA("682640121") then
| |
| 45 | v:Destroy() | |
| 46 | end | |
| 47 | end | |
| 48 | ---------------------------------------------------- | |
| 49 | Debounces = {
| |
| 50 | CanAttack = true; | |
| 51 | NoIdl = false; | |
| 52 | Slashing = false; | |
| 53 | Slashed = false; | |
| 54 | RPunch = false; | |
| 55 | RPunched = false; | |
| 56 | LPunch = false; | |
| 57 | LPunched = false; | |
| 58 | } | |
| 59 | local Touche = {char.Name, }
| |
| 60 | ---------------------------------------------------- | |
| 61 | hed.face.Texture = "rbxassetid://34668268" | |
| 62 | char["Body Colors"].HeadColor = BrickColor.new("Pastel brown")
| |
| 63 | char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown")
| |
| 64 | char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown")
| |
| 65 | - | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=393374766" |
| 65 | + | |
| 66 | - | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=237836991" |
| 66 | + | |
| 67 | ypcall(function() | |
| 68 | char.Shirt:Destroy() | |
| 69 | char.Pants:Destroy() | |
| 70 | shirt = Instance.new("Shirt", char)
| |
| 71 | shirt.Name = "Shirt" | |
| 72 | pants = Instance.new("Pants", char)
| |
| 73 | pants.Name = "Pants" | |
| 74 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=439643510" | |
| 75 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=240061848" | |
| 76 | end) | |
| 77 | ---------------------------------------------------- | |
| 78 | function lerp(a, b, t) -- Linear interpolation | |
| 79 | return a + (b - a)*t | |
| 80 | end | |
| 81 | ||
| 82 | function slerp(a, b, t) --Spherical interpolation | |
| 83 | dot = a:Dot(b) | |
| 84 | if dot > 0.99999 or dot < -0.99999 then | |
| 85 | return t <= 0.5 and a or b | |
| 86 | else | |
| 87 | r = math.acos(dot) | |
| 88 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
| 89 | end | |
| 90 | end | |
| 91 | ||
| 92 | function matrixInterpolate(a, b, t) | |
| 93 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
| 94 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
| 95 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
| 96 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
| 97 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
| 98 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
| 99 | local t = v1:Dot(v2) | |
| 100 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
| 101 | return CFrame.new() | |
| 102 | end | |
| 103 | return CFrame.new( | |
| 104 | v0.x, v0.y, v0.z, | |
| 105 | v1.x, v1.y, v1.z, | |
| 106 | v2.x, v2.y, v2.z, | |
| 107 | v3.x, v3.y, v3.z) | |
| 108 | end | |
| 109 | ---------------------------------------------------- | |
| 110 | function genWeld(a,b) | |
| 111 | local w = Instance.new("Weld",a)
| |
| 112 | w.Part0 = a | |
| 113 | w.Part1 = b | |
| 114 | return w | |
| 115 | end | |
| 116 | function weld(a, b) | |
| 117 | local weld = Instance.new("Weld")
| |
| 118 | weld.Name = "W" | |
| 119 | weld.Part0 = a | |
| 120 | weld.Part1 = b | |
| 121 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 122 | weld.Parent = a | |
| 123 | return weld; | |
| 124 | end | |
| 125 | ---------------------------------------------------- | |
| 126 | function Lerp(c1,c2,al) | |
| 127 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 128 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 129 | for i,v in pairs(com1) do | |
| 130 | com1[i] = v+(com2[i]-v)*al | |
| 131 | end | |
| 132 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 133 | end | |
| 134 | ---------------------------------------------------- | |
| 135 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
| 136 | local wld = Instance.new("Weld", wp1)
| |
| 137 | wld.Part0 = wp0 | |
| 138 | wld.Part1 = wp1 | |
| 139 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 140 | end | |
| 141 | ---------------------------------------------------- | |
| 142 | function weld5(part0, part1, c0, c1) | |
| 143 | weeld=Instance.new("Weld", part0)
| |
| 144 | weeld.Part0=part0 | |
| 145 | weeld.Part1=part1 | |
| 146 | weeld.C0=c0 | |
| 147 | weeld.C1=c1 | |
| 148 | return weeld | |
| 149 | end | |
| 150 | ---------------------------------------------------- | |
| 151 | function HasntTouched(plrname) | |
| 152 | local ret = true | |
| 153 | for _, v in pairs(Touche) do | |
| 154 | if v == plrname then | |
| 155 | ret = false | |
| 156 | end | |
| 157 | end | |
| 158 | return ret | |
| 159 | end | |
| 160 | ---------------------------------------------------- | |
| 161 | newWeld(torso, larm, -1.5, 0.5, 0) | |
| 162 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 163 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
| 164 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 165 | newWeld(torso, hed, 0, 1.5, 0) | |
| 166 | newWeld(torso, lleg, -0.5, -1, 0) | |
| 167 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 168 | newWeld(torso, rleg, 0.5, -1, 0) | |
| 169 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 170 | newWeld(root, torso, 0, -1, 0) | |
| 171 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 172 | ---------------------------------------------------- | |
| 173 | z = Instance.new("Sound", char)
| |
| 174 | z.SoundId = "rbxassetid://695215875"--695215875 | |
| 175 | z.Looped = true | |
| 176 | z.Pitch = 1 | |
| 177 | z.Volume = 1 | |
| 178 | wait(.1) | |
| 179 | z:Play() | |
| 180 | ---------------------------------------------------- | |
| 181 | local Transforming = true | |
| 182 | hum.WalkSpeed = 0 | |
| 183 | local fx = Instance.new("Part",torso)
| |
| 184 | fx.Anchored = true | |
| 185 | fx.Material = "Neon" | |
| 186 | fx.CanCollide = false | |
| 187 | fx.Locked = true | |
| 188 | fx.Transparency = 1 | |
| 189 | fx.Material = "SmoothPlastic" | |
| 190 | fx.Size = Vector3.new(1,1,1) | |
| 191 | fx.TopSurface = "SmoothNoOutlines" | |
| 192 | fx.BottomSurface = "SmoothNoOutlines" | |
| 193 | fx.BrickColor = BrickColor.new("New Yeller")
| |
| 194 | fxm = Instance.new("SpecialMesh",fx)
| |
| 195 | fxm.MeshType = "Sphere" | |
| 196 | fxm.Scale = Vector3.new(1,1,1) | |
| 197 | for i = 1, 20 do rs:wait() | |
| 198 | fx.Transparency = fx.Transparency - (1/20) | |
| 199 | fx.CFrame = torso.CFrame | |
| 200 | fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5) | |
| 201 | rs:wait() | |
| 202 | end | |
| 203 | ---------------------------------------------------- | |
| 204 | local m = Instance.new("Model")
| |
| 205 | m.Name = "Hair" | |
| 206 | p1 = Instance.new("Part", m)
| |
| 207 | p1.BrickColor = BrickColor.new("New Yeller")
| |
| 208 | p1.FormFactor = Enum.FormFactor.Symmetric | |
| 209 | p1.Size = Vector3.new(1, 1, 1) | |
| 210 | p1.CFrame = CFrame.new(-2.49043155, 8.24595642, -3.40113306, -5.48362732e-006, -0.978699088, 0.205299795, 3.27825546e-007, -0.205299854, -0.978699148, 1, -5.28991222e-006, 1.48639083e-006) | |
| 211 | p1.CanCollide = false | |
| 212 | p1.Locked = true | |
| 213 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
| 214 | p1.TopSurface = Enum.SurfaceType.Smooth | |
| 215 | b1 = Instance.new("SpecialMesh", p1)
| |
| 216 | b1.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 217 | b1.TextureId = "" | |
| 218 | b1.MeshType = Enum.MeshType.FileMesh | |
| 219 | b1.Name = "Mesh" | |
| 220 | b1.VertexColor = Vector3.new(0, 0, 0) | |
| 221 | b1.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
| 222 | p2 = Instance.new("Part", m)
| |
| 223 | p2.BrickColor = BrickColor.new("Pastel brown")
| |
| 224 | p2.Transparency = 1 | |
| 225 | p2.Name = "Head" | |
| 226 | p2.FormFactor = Enum.FormFactor.Symmetric | |
| 227 | p2.Size = Vector3.new(2, 1, 1) | |
| 228 | p2.CFrame = CFrame.new(-1.70008016, 8.14794922, -3.40013027, 4.24603923e-006, 7.4505806e-008, -1, -1.50268988e-007, 1, 1.49011612e-008, 1.00000012, 6.79109462e-008, 4.23316806e-006) | |
| 229 | p2.CanCollide = false | |
| 230 | p2.Locked = true | |
| 231 | p2.TopSurface = Enum.SurfaceType.Smooth | |
| 232 | b2 = Instance.new("SpecialMesh", p2)
| |
| 233 | b2.MeshType = Enum.MeshType.Head | |
| 234 | b2.Name = "Mesh" | |
| 235 | b2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 236 | p3 = Instance.new("Part", m)
| |
| 237 | p3.BrickColor = BrickColor.new("New Yeller")
| |
| 238 | p3.FormFactor = Enum.FormFactor.Symmetric | |
| 239 | p3.Size = Vector3.new(2, 2, 2) | |
| 240 | p3.CFrame = CFrame.new(-1.70003617, 8.71796131, -3.4000442, 2.57710985e-006, 6.95607483e-008, -1.00000012, -1.20466638e-007, 1, 9.95640903e-009, 1.00000024, 3.81086345e-008, 2.56423846e-006) | |
| 241 | p3.CanCollide = false | |
| 242 | p3.Locked = true | |
| 243 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
| 244 | p3.TopSurface = Enum.SurfaceType.Smooth | |
| 245 | b3 = Instance.new("SpecialMesh", p3)
| |
| 246 | b3.MeshId = "http://www.roblox.com/asset/?id=16627529" | |
| 247 | b3.TextureId = "" | |
| 248 | b3.MeshType = Enum.MeshType.FileMesh | |
| 249 | b3.Name = "Mesh" | |
| 250 | b3.VertexColor = Vector3.new(0, 0, 0) | |
| 251 | b3.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995) | |
| 252 | p4 = Instance.new("Part", m)
| |
| 253 | p4.BrickColor = BrickColor.new("New Yeller")
| |
| 254 | p4.FormFactor = Enum.FormFactor.Symmetric | |
| 255 | p4.Size = Vector3.new(1, 1, 1) | |
| 256 | p4.CFrame = CFrame.new(-1.77981007, 8.84795475, -3.40016508, 5.79576135e-006, 7.9450956e-008, -1.00000012, -1.80071311e-007, 1, 1.98458743e-008, 1.00000024, 9.77132402e-008, 5.78289018e-006) | |
| 257 | p4.CanCollide = false | |
| 258 | p4.Locked = true | |
| 259 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
| 260 | p4.TopSurface = Enum.SurfaceType.Smooth | |
| 261 | b4 = Instance.new("SpecialMesh", p4)
| |
| 262 | b4.MeshId = "http://www.roblox.com/asset/?id=19326912" | |
| 263 | b4.TextureId = "" | |
| 264 | b4.MeshType = Enum.MeshType.FileMesh | |
| 265 | b4.Name = "Mesh" | |
| 266 | b4.VertexColor = Vector3.new(0, 0, 0) | |
| 267 | p5 = Instance.new("Part", m)
| |
| 268 | p5.BrickColor = BrickColor.new("New Yeller")
| |
| 269 | p5.FormFactor = Enum.FormFactor.Symmetric | |
| 270 | p5.Size = Vector3.new(1, 1, 1) | |
| 271 | p5.CFrame = CFrame.new(-1.70003772, 8.46796131, -3.40004301, -3.43517968e-007, 2.98088111e-007, -1, -1.00421907e-007, 1, 2.38484063e-007, 1.00000012, 1.80640072e-008, -3.56389592e-007) | |
| 272 | p5.CanCollide = false | |
| 273 | p5.Locked = true | |
| 274 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
| 275 | p5.TopSurface = Enum.SurfaceType.Smooth | |
| 276 | b5 = Instance.new("SpecialMesh", p5)
| |
| 277 | b5.MeshId = "http://www.roblox.com/asset/?id=45916884" | |
| 278 | b5.TextureId = "" | |
| 279 | b5.MeshType = Enum.MeshType.FileMesh | |
| 280 | b5.Name = "Mesh" | |
| 281 | b5.VertexColor = Vector3.new(0, 0, 0) | |
| 282 | b5.Scale = Vector3.new(1, 0.899999976, 1) | |
| 283 | p6 = Instance.new("Part", m)
| |
| 284 | p6.BrickColor = BrickColor.new("New Yeller")
| |
| 285 | p6.FormFactor = Enum.FormFactor.Symmetric | |
| 286 | p6.Size = Vector3.new(1, 1, 1) | |
| 287 | p6.CFrame = CFrame.new(-1.89967656, 8.58795834, -3.44990659, -5.81936433e-007, 5.36502284e-007, -0.99999994, -1.3998249e-007, 1, 4.76898265e-007, 1, 5.76247672e-008, -5.94808171e-007) | |
| 288 | p6.CanCollide = false | |
| 289 | p6.Locked = true | |
| 290 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
| 291 | p6.TopSurface = Enum.SurfaceType.Smooth | |
| 292 | b6 = Instance.new("SpecialMesh", p6)
| |
| 293 | b6.MeshId = "http://www.roblox.com/asset/?id=62246019" | |
| 294 | b6.TextureId = "" | |
| 295 | b6.MeshType = Enum.MeshType.FileMesh | |
| 296 | b6.Name = "Mesh" | |
| 297 | b6.VertexColor = Vector3.new(0, 0, 0) | |
| 298 | p7 = Instance.new("Part", m)
| |
| 299 | p7.BrickColor = BrickColor.new("New Yeller")
| |
| 300 | p7.FormFactor = Enum.FormFactor.Symmetric | |
| 301 | p7.Size = Vector3.new(1, 1, 1) | |
| 302 | p7.CFrame = CFrame.new(-1.89918542, 8.31796837, -3.50097537, -4.62727087e-007, 5.36502228e-007, -0.999999881, -1.39982518e-007, 1, 4.76898208e-007, 0.99999994, 5.76247459e-008, -4.75598938e-007) | |
| 303 | p7.CanCollide = false | |
| 304 | p7.Locked = true | |
| 305 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
| 306 | p7.TopSurface = Enum.SurfaceType.Smooth | |
| 307 | b7 = Instance.new("SpecialMesh", p7)
| |
| 308 | b7.MeshId = "http://www.roblox.com/asset/?id=76056263" | |
| 309 | b7.TextureId = "" | |
| 310 | b7.MeshType = Enum.MeshType.FileMesh | |
| 311 | b7.Name = "Mesh" | |
| 312 | b7.VertexColor = Vector3.new(0, 0, 0) | |
| 313 | p8 = Instance.new("Part", m)
| |
| 314 | p8.BrickColor = BrickColor.new("New Yeller")
| |
| 315 | p8.FormFactor = Enum.FormFactor.Symmetric | |
| 316 | p8.Size = Vector3.new(1, 1, 1) | |
| 317 | p8.CFrame = CFrame.new(-2.62433338, 7.66397905, -3.4010179, -1.17798254e-006, -0.805111349, 0.593123376, -2.5008859e-007, -0.593123615, -0.805111527, 0.999999881, -9.58229293e-007, 4.4941558e-007) | |
| 318 | p8.CanCollide = false | |
| 319 | p8.Locked = true | |
| 320 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
| 321 | p8.TopSurface = Enum.SurfaceType.Smooth | |
| 322 | b8 = Instance.new("SpecialMesh", p8)
| |
| 323 | b8.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 324 | b8.TextureId = "" | |
| 325 | b8.MeshType = Enum.MeshType.FileMesh | |
| 326 | b8.Name = "Mesh" | |
| 327 | b8.VertexColor = Vector3.new(0, 0, 0) | |
| 328 | b8.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
| 329 | p9 = Instance.new("Part", m)
| |
| 330 | p9.BrickColor = BrickColor.new("New Yeller")
| |
| 331 | p9.FormFactor = Enum.FormFactor.Symmetric | |
| 332 | p9.Size = Vector3.new(2, 1, 2) | |
| 333 | p9.CFrame = CFrame.new(-1.76505995, 8.56096649, -3.40065479, -9.73168881e-007, -0.0995008349, -0.995037436, -1.70322267e-007, 0.995037675, -0.0995009243, 1, 1.13823972e-007, -6.80968242e-007) | |
| 334 | p9.CanCollide = false | |
| 335 | p9.Locked = true | |
| 336 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
| 337 | p9.TopSurface = Enum.SurfaceType.Smooth | |
| 338 | b9 = Instance.new("SpecialMesh", p9)
| |
| 339 | b9.MeshId = "http://www.roblox.com/asset/?id=12259089" | |
| 340 | b9.TextureId = "" | |
| 341 | b9.MeshType = Enum.MeshType.FileMesh | |
| 342 | b9.Name = "Mesh" | |
| 343 | b9.VertexColor = Vector3.new(0, 0, 0) | |
| 344 | b9.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995) | |
| 345 | p10 = Instance.new("Part", m)
| |
| 346 | p10.BrickColor = BrickColor.new("New Yeller")
| |
| 347 | p10.FormFactor = Enum.FormFactor.Symmetric | |
| 348 | p10.Size = Vector3.new(1, 1, 1) | |
| 349 | p10.CFrame = CFrame.new(-2.0207715, 9.06097031, -3.39961624, -1.10652763e-006, -0.683569431, -0.729885519, -2.85231891e-007, 0.729885638, -0.68356967, 1.00000012, -3.22293062e-007, -8.40051371e-007) | |
| 350 | p10.CanCollide = false | |
| 351 | p10.Locked = true | |
| 352 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
| 353 | p10.TopSurface = Enum.SurfaceType.Smooth | |
| 354 | b10 = Instance.new("SpecialMesh", p10)
| |
| 355 | b10.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 356 | b10.TextureId = "" | |
| 357 | b10.MeshType = Enum.MeshType.FileMesh | |
| 358 | b10.Name = "Mesh" | |
| 359 | b10.VertexColor = Vector3.new(0, 0, 0) | |
| 360 | b10.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
| 361 | p11 = Instance.new("Part", m)
| |
| 362 | p11.BrickColor = BrickColor.new("New Yeller")
| |
| 363 | p11.FormFactor = Enum.FormFactor.Symmetric | |
| 364 | p11.Size = Vector3.new(1, 1, 1) | |
| 365 | p11.CFrame = CFrame.new(-2.16468835, 8.78595829, -3.40089417, -1.41617738e-006, -0.989475727, -0.144699216, -4.36450762e-007, 0.144699067, -0.989476085, 1.00000024, -9.47996682e-007, -7.38401468e-007) | |
| 366 | p11.CanCollide = false | |
| 367 | p11.Locked = true | |
| 368 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
| 369 | p11.TopSurface = Enum.SurfaceType.Smooth | |
| 370 | b11 = Instance.new("SpecialMesh", p11)
| |
| 371 | b11.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 372 | b11.TextureId = "" | |
| 373 | b11.MeshType = Enum.MeshType.FileMesh | |
| 374 | b11.Name = "Mesh" | |
| 375 | b11.VertexColor = Vector3.new(0, 0, 0) | |
| 376 | b11.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
| 377 | p12 = Instance.new("Part", m)
| |
| 378 | p12.BrickColor = BrickColor.new("New Yeller")
| |
| 379 | p12.FormFactor = Enum.FormFactor.Custom | |
| 380 | p12.Size = Vector3.new(1, 3.5, 1) | |
| 381 | p12.CFrame = CFrame.new(-3.74216318, 6.74288082, -3.40101933, -1.20476273e-006, -0.553697288, 0.832718134, -3.31002866e-007, -0.832718611, -0.553697169, 1.00000036, -8.7345768e-007, 3.69213154e-007) | |
| 382 | p12.CanCollide = false | |
| 383 | p12.Locked = true | |
| 384 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
| 385 | p12.TopSurface = Enum.SurfaceType.Smooth | |
| 386 | b12 = Instance.new("SpecialMesh", p12)
| |
| 387 | b12.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 388 | b12.TextureId = "" | |
| 389 | b12.MeshType = Enum.MeshType.FileMesh | |
| 390 | b12.Name = "Mesh" | |
| 391 | b12.VertexColor = Vector3.new(0, 0, 0) | |
| 392 | b12.Scale = Vector3.new(1, 3, 1.29999995) | |
| 393 | p13 = Instance.new("Part", m)
| |
| 394 | p13.BrickColor = BrickColor.new("New Yeller")
| |
| 395 | p13.FormFactor = Enum.FormFactor.Custom | |
| 396 | p13.Size = Vector3.new(1, 2, 1) | |
| 397 | p13.CFrame = CFrame.new(-3.32689047, 6.86741829, -3.40101862, -9.81709945e-007, -0.319307148, 0.947651446, -5.6545997e-007, -0.947651923, -0.31930691, 1.00000048, -8.39551717e-007, 1.79318391e-007) | |
| 398 | p13.CanCollide = false | |
| 399 | p13.Locked = true | |
| 400 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
| 401 | p13.TopSurface = Enum.SurfaceType.Smooth | |
| 402 | b13 = Instance.new("SpecialMesh", p13)
| |
| 403 | b13.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 404 | b13.TextureId = "" | |
| 405 | b13.MeshType = Enum.MeshType.FileMesh | |
| 406 | b13.Name = "Mesh" | |
| 407 | b13.VertexColor = Vector3.new(0, 0, 0) | |
| 408 | b13.Scale = Vector3.new(1, 3, 1.29999995) | |
| 409 | p14 = Instance.new("Part", m)
| |
| 410 | p14.BrickColor = BrickColor.new("New Yeller")
| |
| 411 | p14.FormFactor = Enum.FormFactor.Custom | |
| 412 | p14.Size = Vector3.new(1, 2, 1) | |
| 413 | p14.CFrame = CFrame.new(-3.02689028, 7.96740961, -3.40101862, -1.33478545e-006, -0.750354111, 0.661036491, -5.20037702e-008, -0.661037207, -0.750354171, 1.0000006, -6.31296757e-007, 2.01137496e-007) | |
| 414 | p14.CanCollide = false | |
| 415 | p14.Locked = true | |
| 416 | p14.BottomSurface = Enum.SurfaceType.Smooth | |
| 417 | p14.TopSurface = Enum.SurfaceType.Smooth | |
| 418 | b14 = Instance.new("SpecialMesh", p14)
| |
| 419 | b14.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 420 | b14.TextureId = "" | |
| 421 | b14.MeshType = Enum.MeshType.FileMesh | |
| 422 | b14.Name = "Mesh" | |
| 423 | b14.VertexColor = Vector3.new(0, 0, 0) | |
| 424 | b14.Scale = Vector3.new(1, 3, 1.29999995) | |
| 425 | p15 = Instance.new("Part", m)
| |
| 426 | p15.BrickColor = BrickColor.new("New Yeller")
| |
| 427 | p15.FormFactor = Enum.FormFactor.Custom | |
| 428 | p15.Size = Vector3.new(1, 2.5, 1) | |
| 429 | p15.CFrame = CFrame.new(-2.96531463, 7.75924349, -2.90101862, 0.342019022, -0.520305753, 0.782499552, -1.1920929e-007, -0.832718909, -0.553697407, 0.939693451, 0.189374983, -0.284806281) | |
| 430 | p15.CanCollide = false | |
| 431 | p15.Locked = true | |
| 432 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
| 433 | p15.TopSurface = Enum.SurfaceType.Smooth | |
| 434 | b15 = Instance.new("SpecialMesh", p15)
| |
| 435 | b15.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 436 | b15.TextureId = "" | |
| 437 | b15.MeshType = Enum.MeshType.FileMesh | |
| 438 | b15.Name = "Mesh" | |
| 439 | b15.VertexColor = Vector3.new(0, 0, 0) | |
| 440 | b15.Scale = Vector3.new(1, 3, 1.29999995) | |
| 441 | p16 = Instance.new("Part", m)
| |
| 442 | p16.BrickColor = BrickColor.new("New Yeller")
| |
| 443 | p16.FormFactor = Enum.FormFactor.Custom | |
| 444 | p16.Size = Vector3.new(1, 2.5, 1) | |
| 445 | p16.CFrame = CFrame.new(-2.96531439, 7.75924349, -3.80101967, -0.258820295, -0.534830391, 0.804343879, -1.78813934e-007, -0.832718968, -0.553697228, 0.96592629, -0.143308073, 0.215523779) | |
| 446 | p16.CanCollide = false | |
| 447 | p16.Locked = true | |
| 448 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
| 449 | p16.TopSurface = Enum.SurfaceType.Smooth | |
| 450 | b16 = Instance.new("SpecialMesh", p16)
| |
| 451 | b16.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 452 | b16.TextureId = "" | |
| 453 | b16.MeshType = Enum.MeshType.FileMesh | |
| 454 | b16.Name = "Mesh" | |
| 455 | b16.VertexColor = Vector3.new(0, 0, 0) | |
| 456 | b16.Scale = Vector3.new(1, 3, 1.29999995) | |
| 457 | p17 = Instance.new("Part", m)
| |
| 458 | p17.BrickColor = BrickColor.new("New Yeller")
| |
| 459 | p17.FormFactor = Enum.FormFactor.Custom | |
| 460 | p17.Size = Vector3.new(1, 2.4000001, 1) | |
| 461 | p17.CFrame = CFrame.new(-2.69075108, 7.07788849, -3.40101933, -1.13248825e-006, -0.319307148, 0.947651625, -1.1920929e-006, -0.947652161, -0.319306791, 1.0000006, -1.54972076e-006, 1.04308128e-007) | |
| 462 | p17.CanCollide = false | |
| 463 | p17.Locked = true | |
| 464 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
| 465 | p17.TopSurface = Enum.SurfaceType.Smooth | |
| 466 | b17 = Instance.new("SpecialMesh", p17)
| |
| 467 | b17.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 468 | b17.TextureId = "" | |
| 469 | b17.MeshType = Enum.MeshType.FileMesh | |
| 470 | b17.Name = "Mesh" | |
| 471 | b17.VertexColor = Vector3.new(0, 0, 0) | |
| 472 | b17.Scale = Vector3.new(1, 3, 1.29999995) | |
| 473 | p18 = Instance.new("Part", m)
| |
| 474 | p18.BrickColor = BrickColor.new("New Yeller")
| |
| 475 | p18.FormFactor = Enum.FormFactor.Custom | |
| 476 | p18.Size = Vector3.new(2, 2, 2) | |
| 477 | p18.CFrame = CFrame.new(-1.70003319, 8.71796608, -3.40004444, -2.37434961e-006, 1.78813934e-007, 1.00000036, -2.35242567e-007, 1.00000072, 3.27825546e-007, -1.0000006, 7.95440158e-009, -2.91315405e-006) | |
| 478 | p18.CanCollide = false | |
| 479 | p18.Locked = true | |
| 480 | p18.BottomSurface = Enum.SurfaceType.Smooth | |
| 481 | p18.TopSurface = Enum.SurfaceType.Smooth | |
| 482 | b18 = Instance.new("SpecialMesh", p18)
| |
| 483 | b18.MeshId = "http://www.roblox.com/asset/?id=16627529" | |
| 484 | b18.TextureId = "" | |
| 485 | b18.MeshType = Enum.MeshType.FileMesh | |
| 486 | b18.Name = "Mesh" | |
| 487 | b18.VertexColor = Vector3.new(0, 0, 0) | |
| 488 | b18.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995) | |
| 489 | w1 = Instance.new("Weld", p1)
| |
| 490 | w1.Name = "Head_Weld" | |
| 491 | w1.Part0 = p1 | |
| 492 | w1.C0 = CFrame.new(3.40111661, -0.744508088, 8.58160019, -5.48362732e-006, 3.27825546e-007, 1, -0.978699088, -0.205299854, -5.30481339e-006, 0.205299824, -0.978699148, 1.49011612e-006) | |
| 493 | w1.Part1 = p2 | |
| 494 | w1.C1 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006) | |
| 495 | w2 = Instance.new("Weld", p2)
| |
| 496 | w2.Name = "Part_Weld" | |
| 497 | w2.Part0 = p2 | |
| 498 | w2.C0 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006) | |
| 499 | w2.Part1 = p3 | |
| 500 | w2.C1 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006) | |
| 501 | w3 = Instance.new("Weld", p3)
| |
| 502 | w3.Name = "Part_Weld" | |
| 503 | w3.Part0 = p3 | |
| 504 | w3.C0 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006) | |
| 505 | w3.Part1 = p4 | |
| 506 | w3.C1 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006) | |
| 507 | w4 = Instance.new("Weld", p4)
| |
| 508 | w4.Name = "Part_Weld" | |
| 509 | w4.Part0 = p4 | |
| 510 | w4.C0 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006) | |
| 511 | w4.Part1 = p5 | |
| 512 | w4.C1 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007) | |
| 513 | w5 = Instance.new("Weld", p5)
| |
| 514 | w5.Name = "Part_Weld" | |
| 515 | w5.Part0 = p5 | |
| 516 | w5.C0 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007) | |
| 517 | w5.Part1 = p6 | |
| 518 | w5.C1 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007) | |
| 519 | w6 = Instance.new("Weld", p6)
| |
| 520 | w6.Name = "Part_Weld" | |
| 521 | w6.Part0 = p6 | |
| 522 | w6.C0 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007) | |
| 523 | w6.Part1 = p7 | |
| 524 | w6.C1 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007) | |
| 525 | w7 = Instance.new("Weld", p7)
| |
| 526 | w7.Name = "Part_Weld" | |
| 527 | w7.Part0 = p7 | |
| 528 | w7.C0 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007) | |
| 529 | w7.Part1 = p8 | |
| 530 | w7.C1 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007) | |
| 531 | w8 = Instance.new("Weld", p8)
| |
| 532 | w8.Name = "Part_Weld" | |
| 533 | w8.Part0 = p8 | |
| 534 | w8.C0 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007) | |
| 535 | w8.Part1 = p9 | |
| 536 | w8.C1 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007) | |
| 537 | w9 = Instance.new("Weld", p9)
| |
| 538 | w9.Name = "Part_Weld" | |
| 539 | w9.Part0 = p9 | |
| 540 | w9.C0 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007) | |
| 541 | w9.Part1 = p10 | |
| 542 | w9.C1 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007) | |
| 543 | w10 = Instance.new("Weld", p10)
| |
| 544 | w10.Name = "Part_Weld" | |
| 545 | w10.Part0 = p10 | |
| 546 | w10.C0 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007) | |
| 547 | w10.Part1 = p11 | |
| 548 | w10.C1 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007) | |
| 549 | w11 = Instance.new("Weld", p11)
| |
| 550 | w11.Name = "Part_Weld" | |
| 551 | w11.Part0 = p11 | |
| 552 | w11.C0 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007) | |
| 553 | w11.Part1 = p12 | |
| 554 | w11.C1 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007) | |
| 555 | w12 = Instance.new("Weld", p12)
| |
| 556 | w12.Name = "Part_Weld" | |
| 557 | w12.Part0 = p12 | |
| 558 | w12.C0 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007) | |
| 559 | w12.Part1 = p13 | |
| 560 | w12.C1 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007) | |
| 561 | w13 = Instance.new("Weld", p13)
| |
| 562 | w13.Name = "Part_Weld" | |
| 563 | w13.Part0 = p13 | |
| 564 | w13.C0 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007) | |
| 565 | w13.Part1 = p14 | |
| 566 | w13.C1 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007) | |
| 567 | w14 = Instance.new("Weld", p14)
| |
| 568 | w14.Name = "Part_Weld" | |
| 569 | w14.Part0 = p14 | |
| 570 | w14.C0 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007) | |
| 571 | w14.Part1 = p15 | |
| 572 | w14.C1 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775) | |
| 573 | w15 = Instance.new("Weld", p15)
| |
| 574 | w15.Name = "Part_Weld" | |
| 575 | w15.Part0 = p15 | |
| 576 | w15.C0 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775) | |
| 577 | w15.Part1 = p16 | |
| 578 | w15.C1 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928) | |
| 579 | w16 = Instance.new("Weld", p16)
| |
| 580 | w16.Name = "Part_Weld" | |
| 581 | w16.Part0 = p16 | |
| 582 | w16.C0 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928) | |
| 583 | w16.Part1 = p17 | |
| 584 | w16.C1 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007) | |
| 585 | w17 = Instance.new("Weld", p17)
| |
| 586 | w17.Name = "Part_Weld" | |
| 587 | w17.Part0 = p17 | |
| 588 | w17.C0 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007) | |
| 589 | w17.Part1 = p18 | |
| 590 | w17.C1 = CFrame.new(-3.40004683, -8.71796036, 1.70002675, -2.6504224e-006, -7.89943471e-008, -1, -2.47197018e-008, 1, -7.89942831e-008, 1, 2.47194887e-008, -2.6504224e-006) | |
| 591 | m.Parent = char | |
| 592 | m:MakeJoints() | |
| 593 | ---------------------------------------------------- | |
| 594 | local cor = Instance.new("Part", char.Hair)
| |
| 595 | cor.Name = "Link" | |
| 596 | cor.Locked = true | |
| 597 | cor.BottomSurface = 0 | |
| 598 | cor.CanCollide = false | |
| 599 | cor.Size = Vector3.new(1, 9, 1) | |
| 600 | cor.Transparency = 1 | |
| 601 | cor.TopSurface = 0 | |
| 602 | corw = Instance.new("Weld", cor)
| |
| 603 | corw.Part0 = hed | |
| 604 | corw.Part1 = cor | |
| 605 | corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 606 | corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 607 | weld1 = Instance.new("Weld", char.Hair)
| |
| 608 | weld1.Part0 = cor | |
| 609 | weld1.Part1 = char.Hair.Head | |
| 610 | weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 611 | ---------------------------------------------------- | |
| 612 | GroundWave1 = function() | |
| 613 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 614 | local Colors = {"New Yeller", "New Yeller"}
| |
| 615 | local wave = Instance.new("Part", torso)
| |
| 616 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 617 | wave.Anchored = true | |
| 618 | wave.CanCollide = false | |
| 619 | wave.Locked = true | |
| 620 | wave.Size = Vector3.new(1, 1, 1) | |
| 621 | wave.TopSurface = "Smooth" | |
| 622 | wave.BottomSurface = "Smooth" | |
| 623 | wave.Transparency = 0.35 | |
| 624 | wave.CFrame = HandCF | |
| 625 | wm = Instance.new("SpecialMesh", wave)
| |
| 626 | wm.MeshId = "rbxassetid://3270017" | |
| 627 | coroutine.wrap(function() | |
| 628 | for i = 1, 30, 1 do | |
| 629 | wm.Scale = Vector3.new(1 + i*1.2, 1 + i*1.2, 1) | |
| 630 | wave.Size = wm.Scale | |
| 631 | wave.CFrame = HandCF | |
| 632 | wave.Transparency = i/30 | |
| 633 | wait() | |
| 634 | end | |
| 635 | wait() | |
| 636 | wave:Destroy() | |
| 637 | end)() | |
| 638 | end | |
| 639 | ---------------------------------------------------- | |
| 640 | GroundWave = function() | |
| 641 | if Transforming == true then | |
| 642 | local wave = Instance.new("Part", torso)
| |
| 643 | wave.BrickColor = BrickColor.new("New Yeller")
| |
| 644 | wave.Anchored = true | |
| 645 | wave.CanCollide = false | |
| 646 | wave.Locked = true | |
| 647 | wave.Size = Vector3.new(1, 1, 1) | |
| 648 | wave.TopSurface = "Smooth" | |
| 649 | wave.BottomSurface = "Smooth" | |
| 650 | wave.Transparency = 0.35 | |
| 651 | wave.CFrame = fx.CFrame | |
| 652 | wm = Instance.new("SpecialMesh", wave)
| |
| 653 | wm.MeshType = "Sphere" | |
| 654 | wm.Scale = Vector3.new(1,1,1) | |
| 655 | coroutine.wrap(function() | |
| 656 | for i = 1, 18, 1 do | |
| 657 | wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2) | |
| 658 | --wave.Size = wm.Scale | |
| 659 | wave.CFrame = fx.CFrame | |
| 660 | wave.Transparency = i/14 | |
| 661 | wait() | |
| 662 | end | |
| 663 | wait() | |
| 664 | wave:Destroy() | |
| 665 | end)() | |
| 666 | elseif Transforming == false then | |
| 667 | wait() | |
| 668 | end | |
| 669 | end | |
| 670 | ||
| 671 | for i = 1, 100 do rs:wait() | |
| 672 | fx.CFrame = torso.CFrame | |
| 673 | end | |
| 674 | ||
| 675 | Spawn(function() | |
| 676 | while wait(1) do | |
| 677 | GroundWave() | |
| 678 | end | |
| 679 | end) | |
| 680 | ||
| 681 | wait(4) | |
| 682 | ||
| 683 | Transforming = false | |
| 684 | ||
| 685 | for i = 1, 20 do rs:wait() | |
| 686 | fx.Transparency = fx.Transparency + (1/20) | |
| 687 | fx.CFrame = torso.CFrame | |
| 688 | fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5) | |
| 689 | rs:wait() | |
| 690 | end | |
| 691 | ||
| 692 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 693 | local wave = Instance.new("Part", torso)
| |
| 694 | wave.BrickColor = BrickColor.new("Institutional white")
| |
| 695 | wave.Anchored = true | |
| 696 | wave.CanCollide = false | |
| 697 | wave.Locked = true | |
| 698 | wave.Size = Vector3.new(1, 1, 1) | |
| 699 | wave.TopSurface = "Smooth" | |
| 700 | wave.BottomSurface = "Smooth" | |
| 701 | wave.Transparency = 0.35 | |
| 702 | wave.CFrame = HandCF | |
| 703 | wm = Instance.new("SpecialMesh", wave)
| |
| 704 | wm.MeshId = "rbxassetid://3270017" | |
| 705 | coroutine.wrap(function() | |
| 706 | for i = 1, 14, 1 do | |
| 707 | wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1) | |
| 708 | wave.Size = wm.Scale | |
| 709 | wave.CFrame = HandCF | |
| 710 | wave.Transparency = i/14 | |
| 711 | wait() | |
| 712 | end | |
| 713 | wait() | |
| 714 | wave:Destroy() | |
| 715 | end)() | |
| 716 | hum.WalkSpeed =38 | |
| 717 | ---------------------------------------------------- | |
| 718 | Blast = function() | |
| 719 | local Colors = {"New Yeller", "New Yeller"}
| |
| 720 | local wave = Instance.new("Part", torso)
| |
| 721 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 722 | wave.Anchored = true | |
| 723 | wave.CanCollide = false | |
| 724 | wave.Locked = true | |
| 725 | wave.Size = Vector3.new(1, 1, 1) | |
| 726 | wave.TopSurface = "Smooth" | |
| 727 | wave.BottomSurface = "Smooth" | |
| 728 | wave.Transparency = 0.35 | |
| 729 | wave.CFrame = rarm.CFrame | |
| 730 | wm = Instance.new("SpecialMesh", wave)
| |
| 731 | wm.MeshType = "Sphere" | |
| 732 | wm.Scale = Vector3.new(1,1,1) | |
| 733 | z = Instance.new("Sound",wave)
| |
| 734 | z.SoundId = "rbxassetid://237035051" | |
| 735 | z.Volume = 1 | |
| 736 | z.Pitch = .9 | |
| 737 | z:Play() | |
| 738 | coroutine.wrap(function() | |
| 739 | for i = 1, 30, 1 do | |
| 740 | wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4) | |
| 741 | --wave.Size = wm.Scale | |
| 742 | wave.CFrame = rarm.CFrame | |
| 743 | wave.Transparency = (1/14) | |
| 744 | rs:wait() | |
| 745 | end | |
| 746 | rs:wait() | |
| 747 | wave:Destroy() | |
| 748 | z:Destroy() | |
| 749 | end)() | |
| 750 | end | |
| 751 | ---------------------------------------------------- | |
| 752 | rarm.Touched:connect(function(ht) | |
| 753 | hit = ht.Parent | |
| 754 | if ht and hit:IsA("Model") then
| |
| 755 | if hit:FindFirstChild("Humanoid") then
| |
| 756 | if hit.Name ~= p.Name then | |
| 757 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 758 | Debounces.RPunched = true | |
| 759 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 760 | if Debounces.ks==true then | |
| 761 | z = Instance.new("Sound",hed)
| |
| 762 | z.SoundId = "rbxassetid://169380525" | |
| 763 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 764 | z.Volume = 1 | |
| 765 | z:Play() | |
| 766 | end | |
| 767 | wait(.2) | |
| 768 | Debounces.RPunched = false | |
| 769 | end | |
| 770 | end | |
| 771 | end | |
| 772 | elseif ht and hit:IsA("Hat") then
| |
| 773 | if hit.Parent.Name ~= p.Name then | |
| 774 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 775 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 776 | Debounces.RPunched = true | |
| 777 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 778 | if Debounces.ks==true then | |
| 779 | z = Instance.new("Sound",hed)
| |
| 780 | z.SoundId = "rbxassetid://169380525" | |
| 781 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 782 | z.Volume = 1 | |
| 783 | z:Play() | |
| 784 | end | |
| 785 | wait(.2) | |
| 786 | Debounces.RPunched = false | |
| 787 | end | |
| 788 | end | |
| 789 | end | |
| 790 | end | |
| 791 | end) | |
| 792 | larm.Touched:connect(function(ht) | |
| 793 | hit = ht.Parent | |
| 794 | if ht and hit:IsA("Model") then
| |
| 795 | if hit:FindFirstChild("Humanoid") then
| |
| 796 | if hit.Name ~= p.Name then | |
| 797 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 798 | Debounces.LPunched = true | |
| 799 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 800 | if Debounces.ks2==true then | |
| 801 | z = Instance.new("Sound",hed)
| |
| 802 | z.SoundId = "rbxassetid://169380525" | |
| 803 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 804 | z.Volume = 1 | |
| 805 | z:Play() | |
| 806 | end | |
| 807 | wait(.2) | |
| 808 | Debounces.LPunched = false | |
| 809 | end | |
| 810 | end | |
| 811 | end | |
| 812 | elseif ht and hit:IsA("Hat") then
| |
| 813 | if hit.Parent.Name ~= p.Name then | |
| 814 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 815 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 816 | Debounces.LPunched = true | |
| 817 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 818 | if Debounces.ks2==true then | |
| 819 | z = Instance.new("Sound",hed)
| |
| 820 | z.SoundId = "rbxassetid://169380525" | |
| 821 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 822 | z.Volume = 1 | |
| 823 | z:Play() | |
| 824 | end | |
| 825 | wait(.2) | |
| 826 | Debounces.LPunched = false | |
| 827 | end | |
| 828 | end | |
| 829 | end | |
| 830 | end | |
| 831 | end) | |
| 832 | ---------------------------------------------------- | |
| 833 | mod4 = Instance.new("Model",char)
| |
| 834 | ||
| 835 | ptez = {0.7, 0.8, 0.9, 1}
| |
| 836 | ||
| 837 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 838 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 839 | local List = {}
| |
| 840 | for i,v in pairs(workspace:GetChildren())do | |
| 841 | if v:IsA("Model")then
| |
| 842 | if v:findFirstChild("Torso")then
| |
| 843 | if v ~= char then | |
| 844 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 845 | table.insert(List,v) | |
| 846 | end | |
| 847 | end | |
| 848 | end | |
| 849 | end | |
| 850 | end | |
| 851 | return List | |
| 852 | end | |
| 853 | ||
| 854 | function Punch() | |
| 855 | part=Instance.new('Part',mod4)
| |
| 856 | part.Anchored=true | |
| 857 | part.CanCollide=false | |
| 858 | part.FormFactor='Custom' | |
| 859 | part.Size=Vector3.new(.2,.2,.2) | |
| 860 | part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0) | |
| 861 | part.Transparency=.7 | |
| 862 | part.BrickColor=BrickColor.new('New Yeller')
| |
| 863 | mesh=Instance.new('SpecialMesh',part)
| |
| 864 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
| 865 | mesh.Scale=Vector3.new(3,3,3) | |
| 866 | part2=Instance.new('Part',mod4)
| |
| 867 | part2.Anchored=true | |
| 868 | part2.CanCollide=false | |
| 869 | part2.FormFactor='Custom' | |
| 870 | part2.Size=Vector3.new(.2,.2,.2) | |
| 871 | part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
| 872 | part2.Transparency=.7 | |
| 873 | part2.BrickColor=BrickColor.new('New Yeller')
| |
| 874 | mesh2=Instance.new('SpecialMesh',part2)
| |
| 875 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 876 | mesh2.Scale=Vector3.new(3,1.5,3) | |
| 877 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
| 878 | if v:FindFirstChild('Humanoid') then
| |
| 879 | v.Humanoid:TakeDamage(math.random(2,6)) | |
| 880 | end | |
| 881 | end | |
| 882 | coroutine.resume(coroutine.create(function() | |
| 883 | for i=0,0.62,0.4 do | |
| 884 | wait() | |
| 885 | part.CFrame=part.CFrame | |
| 886 | part.Transparency=i | |
| 887 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
| 888 | part2.CFrame=part2.CFrame | |
| 889 | part2.Transparency=i | |
| 890 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
| 891 | end | |
| 892 | part.Parent=nil | |
| 893 | part2.Parent=nil | |
| 894 | end)) | |
| 895 | end | |
| 896 | ---------------------------------------------------- | |
| 897 | rarm.Touched:connect(function(ht) | |
| 898 | hit = ht.Parent | |
| 899 | if ht and hit:IsA("Model") then
| |
| 900 | if hit:FindFirstChild("Humanoid") then
| |
| 901 | if hit.Name ~= p.Name then | |
| 902 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 903 | Debounces.RPunched = true | |
| 904 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 905 | if Debounces.ks==true then | |
| 906 | z = Instance.new("Sound",hed)
| |
| 907 | z.SoundId = "rbxassetid://169380525" | |
| 908 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 909 | z.Volume = 1 | |
| 910 | z:Play() | |
| 911 | end | |
| 912 | wait(.2) | |
| 913 | Debounces.RPunched = false | |
| 914 | end | |
| 915 | end | |
| 916 | end | |
| 917 | elseif ht and hit:IsA("Hat") then
| |
| 918 | if hit.Parent.Name ~= p.Name then | |
| 919 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 920 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 921 | Debounces.RPunched = true | |
| 922 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 923 | if Debounces.ks==true then | |
| 924 | z = Instance.new("Sound",hed)
| |
| 925 | z.SoundId = "rbxassetid://169380525" | |
| 926 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 927 | z.Volume = 1 | |
| 928 | z:Play() | |
| 929 | end | |
| 930 | wait(.2) | |
| 931 | Debounces.RPunched = false | |
| 932 | end | |
| 933 | end | |
| 934 | end | |
| 935 | end | |
| 936 | end) | |
| 937 | larm.Touched:connect(function(ht) | |
| 938 | hit = ht.Parent | |
| 939 | if ht and hit:IsA("Model") then
| |
| 940 | if hit:FindFirstChild("Humanoid") then
| |
| 941 | if hit.Name ~= p.Name then | |
| 942 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 943 | Debounces.LPunched = true | |
| 944 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 945 | if Debounces.ks2==true then | |
| 946 | z = Instance.new("Sound",hed)
| |
| 947 | z.SoundId = "rbxassetid://169380525" | |
| 948 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 949 | z.Volume = 1 | |
| 950 | z:Play() | |
| 951 | end | |
| 952 | wait(.2) | |
| 953 | Debounces.LPunched = false | |
| 954 | end | |
| 955 | end | |
| 956 | end | |
| 957 | elseif ht and hit:IsA("Hat") then
| |
| 958 | if hit.Parent.Name ~= p.Name then | |
| 959 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 960 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 961 | Debounces.LPunched = true | |
| 962 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 963 | if Debounces.ks2==true then | |
| 964 | z = Instance.new("Sound",hed)
| |
| 965 | z.SoundId = "rbxassetid://169380525" | |
| 966 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 967 | z.Volume = 1 | |
| 968 | z:Play() | |
| 969 | end | |
| 970 | wait(.2) | |
| 971 | Debounces.LPunched = false | |
| 972 | end | |
| 973 | end | |
| 974 | end | |
| 975 | end | |
| 976 | end) | |
| 977 | ---------------------------------------------------- | |
| 978 | local player = game.Players.LocalPlayer | |
| 979 | local pchar = player.Character | |
| 980 | local mouse = player:GetMouse() | |
| 981 | local cam = workspace.CurrentCamera | |
| 982 | ||
| 983 | local rad = math.rad | |
| 984 | ||
| 985 | local keysDown = {}
| |
| 986 | local flySpeed = 0 | |
| 987 | local MAX_FLY_SPEED = 150 | |
| 988 | ||
| 989 | local canFly = false | |
| 990 | local flyToggled = false | |
| 991 | ||
| 992 | local forward, side = 0, 0 | |
| 993 | local lastForward, lastSide = 0, 0 | |
| 994 | ||
| 995 | local floatBP = Instance.new("BodyPosition")
| |
| 996 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
| 997 | local flyBV = Instance.new("BodyVelocity")
| |
| 998 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
| 999 | local turnBG = Instance.new("BodyGyro")
| |
| 1000 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
| 1001 | ||
| 1002 | mouse.KeyDown:connect(function(key) | |
| 1003 | keysDown[key] = true | |
| 1004 | ||
| 1005 | if key == "f" then | |
| 1006 | flyToggled = not flyToggled | |
| 1007 | ||
| 1008 | if not flyToggled then | |
| 1009 | stanceToggle = "Normal" | |
| 1010 | floatBP.Parent = nil | |
| 1011 | flyBV.Parent = nil | |
| 1012 | turnBG.Parent = nil | |
| 1013 | root.Velocity = Vector3.new() | |
| 1014 | pchar.Humanoid.PlatformStand = false | |
| 1015 | end | |
| 1016 | end | |
| 1017 | ||
| 1018 | end) | |
| 1019 | mouse.KeyUp:connect(function(key) | |
| 1020 | keysDown[key] = nil | |
| 1021 | end) | |
| 1022 | ||
| 1023 | local function updateFly() | |
| 1024 | ||
| 1025 | if not flyToggled then return end | |
| 1026 | ||
| 1027 | lastForward = forward | |
| 1028 | lastSide = side | |
| 1029 | ||
| 1030 | forward = 0 | |
| 1031 | side = 0 | |
| 1032 | ||
| 1033 | if keysDown.w then | |
| 1034 | forward = forward + 1 | |
| 1035 | end | |
| 1036 | if keysDown.s then | |
| 1037 | forward = forward - 1 | |
| 1038 | end | |
| 1039 | if keysDown.a then | |
| 1040 | side = side - 1 | |
| 1041 | end | |
| 1042 | if keysDown.d then | |
| 1043 | side = side + 1 | |
| 1044 | end | |
| 1045 | ||
| 1046 | canFly = (forward ~= 0 or side ~= 0) | |
| 1047 | ||
| 1048 | if canFly then | |
| 1049 | stanceToggle = "Floating" | |
| 1050 | turnBG.Parent = root | |
| 1051 | floatBP.Parent = nil | |
| 1052 | flyBV.Parent = root | |
| 1053 | ||
| 1054 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
| 1055 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
| 1056 | else | |
| 1057 | floatBP.position = root.Position | |
| 1058 | floatBP.Parent = root | |
| 1059 | ||
| 1060 | flySpeed = flySpeed - 1 | |
| 1061 | if flySpeed < 0 then flySpeed = 0 end | |
| 1062 | end | |
| 1063 | ||
| 1064 | local camCF = cam.CoordinateFrame | |
| 1065 | local in_forward = canFly and forward or lastForward | |
| 1066 | local in_side = canFly and side or lastSide | |
| 1067 | ||
| 1068 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
| 1069 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
| 1070 | ||
| 1071 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
| 1072 | 0) | |
| 1073 | end | |
| 1074 | ||
| 1075 | game:service'RunService'.RenderStepped:connect(function() | |
| 1076 | if flyToggled then | |
| 1077 | pchar.Humanoid.PlatformStand = true | |
| 1078 | end | |
| 1079 | updateFly() | |
| 1080 | end) | |
| 1081 | ------------------------------- | |
| 1082 | mouse.KeyDown:connect(function(key) | |
| 1083 | if key == "q" then | |
| 1084 | if Debounces.CanAttack == true then | |
| 1085 | Debounces.CanAttack = false | |
| 1086 | Debounces.NoIdl = true | |
| 1087 | Debounces.on = true | |
| 1088 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 1089 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 1090 | local List = {}
| |
| 1091 | for i,v in pairs(workspace:GetChildren())do | |
| 1092 | if v:IsA("Model")then
| |
| 1093 | if v:findFirstChild("Torso")then
| |
| 1094 | if v ~= char then | |
| 1095 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 1096 | table.insert(List,v) | |
| 1097 | end | |
| 1098 | end | |
| 1099 | end | |
| 1100 | end | |
| 1101 | end | |
| 1102 | return List | |
| 1103 | end | |
| 1104 | z = Instance.new("Sound",hed)
| |
| 1105 | z.SoundId = "rbxassetid://232213955" | |
| 1106 | z.Pitch = 1 | |
| 1107 | z.Volume = 1 | |
| 1108 | wait(0.2) | |
| 1109 | z:Play() | |
| 1110 | sp = Instance.new("Part",rarm)
| |
| 1111 | sp.Anchored = true | |
| 1112 | sp.CanCollide = false | |
| 1113 | sp.Locked = true | |
| 1114 | sp.Transparency = 0 | |
| 1115 | sp.Material = "Neon" | |
| 1116 | sp.Size = Vector3.new(1,1,1) | |
| 1117 | sp.TopSurface = "SmoothNoOutlines" | |
| 1118 | sp.BottomSurface = "SmoothNoOutlines" | |
| 1119 | sp.BrickColor = BrickColor.new("New Yeller")
| |
| 1120 | spm = Instance.new("SpecialMesh",sp)
| |
| 1121 | spm.MeshType = "Sphere" | |
| 1122 | spm.Scale = Vector3.new(21,21,21) | |
| 1123 | sp2 = Instance.new("Part", rarm)
| |
| 1124 | sp2.Name = "Energy" | |
| 1125 | sp2.BrickColor = BrickColor.new("New Yeller")
| |
| 1126 | sp2.Size = Vector3.new(1, 1, 1) | |
| 1127 | sp2.Shape = "Ball" | |
| 1128 | sp2.CanCollide = false | |
| 1129 | sp2.Anchored = true | |
| 1130 | sp2.Locked = true | |
| 1131 | sp2.TopSurface = 0 | |
| 1132 | sp2.BottomSurface = 0 | |
| 1133 | sp2.Transparency = 1 | |
| 1134 | spm2 = Instance.new("SpecialMesh",sp2)
| |
| 1135 | spm2.MeshId = "rbxassetid://9982590" | |
| 1136 | spm2.Scale = Vector3.new(2,2,2) | |
| 1137 | for i = 1, 20 do | |
| 1138 | spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
| 1139 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
| 1140 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
| 1141 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
| 1142 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
| 1143 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 1144 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 1145 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 1146 | if Debounces.on == false then break end | |
| 1147 | rs:wait() | |
| 1148 | end | |
| 1149 | for i = 1, 100, 20 do rs:wait() | |
| 1150 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
| 1151 | end | |
| 1152 | for i = 1, 20 do | |
| 1153 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
| 1154 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
| 1155 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4) | |
| 1156 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4) | |
| 1157 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4) | |
| 1158 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 1159 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 1160 | if Debounces.on == false then break end | |
| 1161 | rs:wait() | |
| 1162 | end | |
| 1163 | sp.Transparency = 1 | |
| 1164 | for i = 1, 20 do | |
| 1165 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
| 1166 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4) | |
| 1167 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4) | |
| 1168 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4) | |
| 1169 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 1170 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 1171 | if Debounces.on == false then break end | |
| 1172 | rs:wait() | |
| 1173 | end | |
| 1174 | wait(1) | |
| 1175 | sp.Transparency = 0 | |
| 1176 | sp2.Transparency = 0.84 | |
| 1177 | for i = 1, 20 do | |
| 1178 | --spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
| 1179 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
| 1180 | sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i)) | |
| 1181 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4) | |
| 1182 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2) | |
| 1183 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2) | |
| 1184 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
| 1185 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2) | |
| 1186 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2) | |
| 1187 | if Debounces.on == false then break end | |
| 1188 | rs:wait() | |
| 1189 | end | |
| 1190 | for i = 1, 2880, 50 do | |
| 1191 | rs:wait() | |
| 1192 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
| 1193 | sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
| 1194 | rs:wait() | |
| 1195 | end | |
| 1196 | sp:Destroy() | |
| 1197 | sp2:Destroy() | |
| 1198 | local X = Instance.new("Part",char)
| |
| 1199 | local O = Instance.new("ObjectValue",X)
| |
| 1200 | O.Name = "creator" | |
| 1201 | X.Locked = true | |
| 1202 | X.Name = "Shell" | |
| 1203 | X.Anchored = false | |
| 1204 | X.CanCollide = false | |
| 1205 | X.Transparency = 0 | |
| 1206 | X.Reflectance = 0 | |
| 1207 | X.BottomSurface = 0 | |
| 1208 | X.TopSurface = 0 | |
| 1209 | X.Shape = 0 | |
| 1210 | local V = Instance.new("ObjectValue",X)
| |
| 1211 | V.Value = char | |
| 1212 | V.Name = "creator" | |
| 1213 | X.BrickColor = BrickColor.new("New Yeller")
| |
| 1214 | X.Size = Vector3.new(2,2,2) | |
| 1215 | X.Material = "Neon" | |
| 1216 | local Z = Instance.new("SpecialMesh",X)
| |
| 1217 | Z.MeshType = "Sphere" | |
| 1218 | Z.Scale = Vector3.new(0.5,0.5,1) | |
| 1219 | X.CFrame = rarm.CFrame*CFrame.new(-3,0,0) | |
| 1220 | local bv = Instance.new("BodyVelocity",X)
| |
| 1221 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 1222 | X.CFrame = CFrame.new(X.Position,mouse.Hit.p) | |
| 1223 | bv.velocity = X.CFrame.lookVector*65 | |
| 1224 | ||
| 1225 | Explode = X.Touched:connect(function(hit) | |
| 1226 | if hit ~= char and hit.Name ~= "Shell" then | |
| 1227 | local cf = X.CFrame | |
| 1228 | bv:Destroy() | |
| 1229 | X.Anchored = true | |
| 1230 | Z:Remove() | |
| 1231 | Explode:disconnect() | |
| 1232 | X.Size = Vector3.new(3,3,3) | |
| 1233 | X.Touched:connect(function(hit) end) | |
| 1234 | X.CanCollide = false | |
| 1235 | local part3 = Instance.new("Part", rarm)
| |
| 1236 | part3.Anchored=true | |
| 1237 | part3.CanCollide=false | |
| 1238 | part3.Locked = true | |
| 1239 | part3.TopSurface = "SmoothNoOutlines" | |
| 1240 | part3.BottomSurface = "SmoothNoOutlines" | |
| 1241 | part3.FormFactor='Custom' | |
| 1242 | part3.Size=Vector3.new(1,1, 1) | |
| 1243 | part3.CFrame=X.CFrame | |
| 1244 | part3.Transparency=0 | |
| 1245 | part3.BrickColor=BrickColor.new("New Yeller")
| |
| 1246 | local mesh3 = Instance.new("SpecialMesh",part3)
| |
| 1247 | mesh3.MeshType = "Sphere" | |
| 1248 | mesh3.Scale = Vector3.new(1,1,1) | |
| 1249 | --debris:AddItem(X,8) | |
| 1250 | local part4 = Instance.new("Part", rarm)
| |
| 1251 | part4.Material = "Neon" | |
| 1252 | part4.Anchored=true | |
| 1253 | part4.CanCollide=false | |
| 1254 | part4.Locked = true | |
| 1255 | part4.TopSurface = "SmoothNoOutlines" | |
| 1256 | part4.BottomSurface = "SmoothNoOutlines" | |
| 1257 | part4.FormFactor='Custom' | |
| 1258 | part4.Size=Vector3.new(1,1, 1) | |
| 1259 | part4.CFrame=X.CFrame | |
| 1260 | part4.Transparency=0 | |
| 1261 | part4.BrickColor=BrickColor.new("Hot pink")
| |
| 1262 | local mesh4 = Instance.new("SpecialMesh",part4)
| |
| 1263 | mesh4.MeshType = "Sphere" | |
| 1264 | mesh4.Scale = Vector3.new(.5,.5,.5) | |
| 1265 | local part7 = Instance.new("Part", rarm)
| |
| 1266 | part7.Material = "Neon" | |
| 1267 | part7.Anchored=true | |
| 1268 | part7.CanCollide=false | |
| 1269 | part7.Locked = true | |
| 1270 | part7.TopSurface = "SmoothNoOutlines" | |
| 1271 | part7.BottomSurface = "SmoothNoOutlines" | |
| 1272 | part7.FormFactor='Custom' | |
| 1273 | part7.Size=Vector3.new(1,1, 1) | |
| 1274 | part7.CFrame=X.CFrame | |
| 1275 | part7.Transparency=0 | |
| 1276 | part7.BrickColor=BrickColor.new("New Yeller")
| |
| 1277 | local mesh7 = Instance.new("SpecialMesh",part7)
| |
| 1278 | mesh7.MeshType = "Sphere" | |
| 1279 | mesh7.Scale = Vector3.new(0.1, 0.1, 0.1) | |
| 1280 | --[[X.Touched:connect(function(ht) | |
| 1281 | hit = ht.Parent | |
| 1282 | if ht and hit:IsA("Model") then
| |
| 1283 | if hit:FindFirstChild("Humanoid") then
| |
| 1284 | if hit.Name ~= p.Name then | |
| 1285 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
| |
| 1286 | wait(.3) | |
| 1287 | end | |
| 1288 | end | |
| 1289 | elseif ht and hit:IsA("Hat") then
| |
| 1290 | if hit.Parent.Name ~= p.Name then | |
| 1291 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1292 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
| |
| 1293 | wait(.3) | |
| 1294 | end | |
| 1295 | end | |
| 1296 | end | |
| 1297 | end) | |
| 1298 | part3.Touched:connect(function(ht) | |
| 1299 | hit = ht.Parent | |
| 1300 | if ht and hit:IsA("Model") then
| |
| 1301 | if hit:FindFirstChild("Humanoid") then
| |
| 1302 | if hit.Name ~= p.Name then | |
| 1303 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
| |
| 1304 | wait(.3) | |
| 1305 | end | |
| 1306 | end | |
| 1307 | elseif ht and hit:IsA("Hat") then
| |
| 1308 | if hit.Parent.Name ~= p.Name then | |
| 1309 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1310 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
| |
| 1311 | wait(.3) | |
| 1312 | end | |
| 1313 | end | |
| 1314 | end | |
| 1315 | end)]]-- | |
| 1316 | for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do | |
| 1317 | if v:FindFirstChild('Humanoid') then
| |
| 1318 | v.Humanoid:TakeDamage(math.random(60,90)) | |
| 1319 | v.Humanoid.PlatformStand = true | |
| 1320 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
| |
| 1321 | end | |
| 1322 | end | |
| 1323 | ||
| 1324 | local acos = math.acos | |
| 1325 | local sqrt = math.sqrt | |
| 1326 | local Vec3 = Vector3.new | |
| 1327 | local fromAxisAngle = CFrame.fromAxisAngle | |
| 1328 | ||
| 1329 | local function toAxisAngle(CFr) | |
| 1330 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
| 1331 | local Angle = math.acos((R00+R11+R22-1)/2) | |
| 1332 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 1333 | A = A == 0 and 0.00001 or A | |
| 1334 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 1335 | B = B == 0 and 0.00001 or B | |
| 1336 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 1337 | C = C == 0 and 0.00001 or C | |
| 1338 | local x = (R21-R12)/sqrt(A) | |
| 1339 | local y = (R02-R20)/sqrt(B) | |
| 1340 | local z = (R10-R01)/sqrt(C) | |
| 1341 | return Vec3(x,y,z),Angle | |
| 1342 | end | |
| 1343 | ||
| 1344 | function ApplyTrig(Num,Func) | |
| 1345 | local Min,Max = Func(0),Func(1) | |
| 1346 | local i = Func(Num) | |
| 1347 | return (i-Min)/(Max-Min) | |
| 1348 | end | |
| 1349 | ||
| 1350 | function LerpCFrame(CFrame1,CFrame2,Num) | |
| 1351 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
| 1352 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
| 1353 | end | |
| 1354 | ||
| 1355 | function Crater(Torso,Radius) | |
| 1356 | Spawn(function() | |
| 1357 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
| 1358 | local Ignore = {}
| |
| 1359 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 1360 | if v.Character ~= nil then | |
| 1361 | Ignore[#Ignore+1] = v.Character | |
| 1362 | end | |
| 1363 | end | |
| 1364 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
| 1365 | if Hit == nil then return end | |
| 1366 | local Parts = {}
| |
| 1367 | for i = 1,360,10 do | |
| 1368 | local P = Instance.new("Part",Torso.Parent)
| |
| 1369 | P.Anchored = true | |
| 1370 | P.FormFactor = "Custom" | |
| 1371 | P.BrickColor = Hit.BrickColor | |
| 1372 | P.Material = Hit.Material | |
| 1373 | P.TopSurface = "Smooth" | |
| 1374 | P.BottomSurface = "Smooth" | |
| 1375 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
| 1376 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
| 1377 | Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
| |
| 1378 | if math.random(0,5) == 0 then -- rubble | |
| 1379 | local P = Instance.new("Part",Torso.Parent)
| |
| 1380 | P.Anchored = true | |
| 1381 | P.FormFactor = "Custom" | |
| 1382 | P.BrickColor = Hit.BrickColor | |
| 1383 | P.Material = Hit.Material | |
| 1384 | P.TopSurface = "Smooth" | |
| 1385 | P.BottomSurface = "Smooth" | |
| 1386 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
| 1387 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
| 1388 | Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
| |
| 1389 | end | |
| 1390 | end | |
| 1391 | for i = 0,1,0.05 do | |
| 1392 | for i2,v in pairs(Parts) do | |
| 1393 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
| 1394 | end | |
| 1395 | wait(0.02) | |
| 1396 | end | |
| 1397 | for i,v in pairs(Parts) do | |
| 1398 | if v[1].Size.X > 2.1 then | |
| 1399 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
| 1400 | end | |
| 1401 | v[1].Anchored = false | |
| 1402 | end | |
| 1403 | for i = 0,1,0.05 do | |
| 1404 | for i2,v in pairs(Parts) do | |
| 1405 | v[1].Transparency = i | |
| 1406 | if i == 1 then | |
| 1407 | v[1]:Destroy() | |
| 1408 | elseif i >= 0.25 then | |
| 1409 | v[1].CanCollide = false | |
| 1410 | end | |
| 1411 | end | |
| 1412 | wait(0.02) | |
| 1413 | end | |
| 1414 | Parts = nil | |
| 1415 | end) | |
| 1416 | end | |
| 1417 | ||
| 1418 | ROW = function(out, trans, s, wt, t, ang, plus) | |
| 1419 | for i = 1, 360, 360/t do | |
| 1420 | local c = Instance.new("Part", game.Workspace)
| |
| 1421 | c.FormFactor = 3 | |
| 1422 | c.TopSurface = 0 | |
| 1423 | c.BottomSurface = 0 | |
| 1424 | c.Size = s | |
| 1425 | c.Anchored = true | |
| 1426 | c.CanCollide = wt | |
| 1427 | c.Material=workspace.Base.Material | |
| 1428 | c.Transparency = trans | |
| 1429 | c.BrickColor = workspace.Base.BrickColor | |
| 1430 | c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang | |
| 1431 | c.Locked=true | |
| 1432 | game.Debris:AddItem(c,15) | |
| 1433 | end | |
| 1434 | end | |
| 1435 | ||
| 1436 | Part = function(x,y,z,color,tr,cc,an,parent) | |
| 1437 | local p = Instance.new('Part',parent or Weapon)
| |
| 1438 | p.formFactor = 'Custom' | |
| 1439 | p.Size = Vector3.new(x,y,z) | |
| 1440 | p.BrickColor = BrickColor.new(color) | |
| 1441 | p.CanCollide = cc | |
| 1442 | p.Transparency = tr | |
| 1443 | p.Anchored = an | |
| 1444 | p.TopSurface,p.BottomSurface = 0,0 | |
| 1445 | p.Locked=true | |
| 1446 | p:BreakJoints() | |
| 1447 | return p end | |
| 1448 | ||
| 1449 | Mesh = function(par,num,x,y,z) | |
| 1450 | local msh = _ | |
| 1451 | if num == 1 then msh = Instance.new("CylinderMesh",par)
| |
| 1452 | elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
| |
| 1453 | elseif num == 3 then msh = Instance.new("BlockMesh",par)
| |
| 1454 | elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
| |
| 1455 | elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
| |
| 1456 | end msh.Scale = Vector3.new(x,y,z) | |
| 1457 | return msh end | |
| 1458 | ||
| 1459 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
| 1460 | local a= Part(1,1,1,col1,.5,false,true,workspace) | |
| 1461 | local a2= Part(1,1,1,col2,.5,false,true,workspace) | |
| 1462 | local a3= Part(1,1,1,col2,.5,false,true,workspace) | |
| 1463 | v1,v2,v3=sz.x,sz.y,sz.z | |
| 1464 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
| 1465 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
| 1466 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
| 1467 | a.CFrame=cfr | |
| 1468 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 1469 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 1470 | ||
| 1471 | Spawn(function() | |
| 1472 | while wait() do | |
| 1473 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
| 1474 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
| 1475 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
| 1476 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
| 1477 | a.Transparency=a.Transparency+0.05 | |
| 1478 | a2.Transparency=a2.Transparency+0.05 | |
| 1479 | a3.Transparency=a3.Transparency+0.05 | |
| 1480 | end | |
| 1481 | end) | |
| 1482 | end | |
| 1483 | ||
| 1484 | Crater(X,20) | |
| 1485 | ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0) | |
| 1486 | z = Instance.new("Sound",X)
| |
| 1487 | z.SoundId = "rbxassetid://231917744" | |
| 1488 | z.Pitch = .5 | |
| 1489 | z.Volume = 10 | |
| 1490 | z1 = Instance.new("Sound",X)
| |
| 1491 | z1.SoundId = "rbxassetid://231917744" | |
| 1492 | z1.Pitch = .5 | |
| 1493 | z1.Volume = 10 | |
| 1494 | z2 = Instance.new("Sound",X)
| |
| 1495 | z2.SoundId = "rbxassetid://231917744" | |
| 1496 | z2.Pitch = .5 | |
| 1497 | z2.Volume = 10 | |
| 1498 | z3 = Instance.new("Sound",X)
| |
| 1499 | z3.SoundId = "rbxassetid://245537790" | |
| 1500 | z3.Pitch = .7 | |
| 1501 | z3.Volume = 1 | |
| 1502 | z4 = Instance.new("Sound",X)
| |
| 1503 | z4.SoundId = "rbxassetid://245537790" | |
| 1504 | z4.Pitch = .7 | |
| 1505 | z4.Volume = 1 | |
| 1506 | wait(0.1) | |
| 1507 | z:Play() | |
| 1508 | z1:Play() | |
| 1509 | z2:Play() | |
| 1510 | z3:Play() | |
| 1511 | z4:Play() | |
| 1512 | ||
| 1513 | local part=Instance.new('Part',rarm)
| |
| 1514 | part.Anchored=true | |
| 1515 | part.CanCollide=false | |
| 1516 | part.Locked = true | |
| 1517 | part.FormFactor='Custom' | |
| 1518 | part.Size=Vector3.new(1,1,1) | |
| 1519 | part.CFrame=X.CFrame*CFrame.new(0,0,0) | |
| 1520 | part.Transparency=0 | |
| 1521 | part.BrickColor=BrickColor.new('New Yeller')
| |
| 1522 | local mesh=Instance.new('SpecialMesh',part)
| |
| 1523 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 1524 | mesh.Scale=Vector3.new(2,2,2) | |
| 1525 | local part2=part:clone() | |
| 1526 | part2.Parent = rarm | |
| 1527 | part2.BrickColor=BrickColor.new("New Yeller")
| |
| 1528 | local part5=part:clone() | |
| 1529 | part5.Parent = rarm | |
| 1530 | part5.BrickColor=BrickColor.new("Magenta")
| |
| 1531 | local part6=part:clone() | |
| 1532 | part6.Parent = rarm | |
| 1533 | part6.BrickColor=BrickColor.new("Black")
| |
| 1534 | local mesh2=mesh:clone() | |
| 1535 | mesh2.Parent=part2 | |
| 1536 | mesh2.Scale=Vector3.new(3, 3, 3) | |
| 1537 | local mesh5=mesh:clone() | |
| 1538 | mesh5.Parent=part5 | |
| 1539 | mesh5.Scale=Vector3.new(3, 3, 3) | |
| 1540 | local mesh6=mesh:clone() | |
| 1541 | mesh6.Parent=part6 | |
| 1542 | mesh6.Scale=Vector3.new(3, 3, 3) | |
| 1543 | local blast = Instance.new("Part", rarm)
| |
| 1544 | blast.BrickColor = BrickColor.new("New Yeller")
| |
| 1545 | blast.Anchored = true | |
| 1546 | blast.CanCollide = false | |
| 1547 | blast.Locked = true | |
| 1548 | blast.Size = Vector3.new(1, 1, 1) | |
| 1549 | blast.TopSurface = "Smooth" | |
| 1550 | blast.BottomSurface = "Smooth" | |
| 1551 | blast.Transparency = 0 | |
| 1552 | blast.CFrame = HandCF | |
| 1553 | local bm = Instance.new("SpecialMesh", blast)
| |
| 1554 | bm.Scale = Vector3.new(5,1,5) | |
| 1555 | bm.MeshId = "rbxassetid://3270017" | |
| 1556 | local blast2 = Instance.new("Part", rarm)
| |
| 1557 | blast2.BrickColor = BrickColor.new("New Yeller")
| |
| 1558 | blast2.Anchored = true | |
| 1559 | blast2.CanCollide = false | |
| 1560 | blast2.Locked = true | |
| 1561 | blast2.Size = Vector3.new(1, 1, 1) | |
| 1562 | blast2.TopSurface = "Smooth" | |
| 1563 | blast2.BottomSurface = "Smooth" | |
| 1564 | blast2.Transparency = 0 | |
| 1565 | blast2.CFrame = HandCF | |
| 1566 | local bm2 = Instance.new("SpecialMesh", blast2)
| |
| 1567 | bm2.Scale = Vector3.new(3,1,3) | |
| 1568 | bm2.MeshId = "rbxassetid://3270017" | |
| 1569 | local blast3 = Instance.new("Part", rarm)
| |
| 1570 | blast3.BrickColor = BrickColor.new("New Yeller")
| |
| 1571 | blast3.Anchored = true | |
| 1572 | blast3.CanCollide = false | |
| 1573 | blast3.Locked = true | |
| 1574 | blast3.Size = Vector3.new(1, 1, 1) | |
| 1575 | blast3.TopSurface = "Smooth" | |
| 1576 | blast3.BottomSurface = "Smooth" | |
| 1577 | blast3.Transparency = 0 | |
| 1578 | blast3.CFrame = HandCF | |
| 1579 | local bm3 = Instance.new("SpecialMesh", blast3)
| |
| 1580 | bm3.Scale = Vector3.new(3,1,3) | |
| 1581 | bm3.MeshId = "rbxassetid://3270017" | |
| 1582 | for i = 1,120 do rs:wait() | |
| 1583 | X.Transparency = X.Transparency + (1/120) | |
| 1584 | part.Transparency = part.Transparency + (1/120) | |
| 1585 | part2.Transparency = part2.Transparency + (1/120) | |
| 1586 | part3.Transparency = part3.Transparency + (1/120) | |
| 1587 | part4.Transparency = part4.Transparency + (1/120) | |
| 1588 | part5.Transparency = part5.Transparency + (1/120) | |
| 1589 | part6.Transparency = part6.Transparency + (1/120) | |
| 1590 | part7.Transparency = part7.Transparency + (1/120) | |
| 1591 | blast.Transparency = blast.Transparency + (1/120) | |
| 1592 | blast2.Transparency = blast2.Transparency + (1/120) | |
| 1593 | blast3.Transparency = blast3.Transparency + (1/120) | |
| 1594 | X.Size = X.Size + Vector3.new(.8,.8,.8) | |
| 1595 | --part3.Size = part3.Size + Vector3.new(3,3,3) | |
| 1596 | mesh.Scale = mesh.Scale + Vector3.new(1,.2,1) | |
| 1597 | mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1) | |
| 1598 | mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3) | |
| 1599 | mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7) | |
| 1600 | mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6) | |
| 1601 | mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2) | |
| 1602 | mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4) | |
| 1603 | bm.Scale = bm.Scale + Vector3.new(6,6,.2) | |
| 1604 | bm2.Scale = bm2.Scale + Vector3.new(4,4,.2) | |
| 1605 | bm3.Scale = bm3.Scale + Vector3.new(4,4,.2) | |
| 1606 | X.CFrame = cf | |
| 1607 | part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0) | |
| 1608 | part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0) | |
| 1609 | part3.CFrame=X.CFrame | |
| 1610 | part4.CFrame=X.CFrame | |
| 1611 | part7.CFrame=X.CFrame | |
| 1612 | part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0) | |
| 1613 | part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0) | |
| 1614 | blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 1615 | blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0)) | |
| 1616 | blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0)) | |
| 1617 | rs:wait() | |
| 1618 | end | |
| 1619 | X:Destroy() | |
| 1620 | part:Destroy() | |
| 1621 | part2:Destroy() | |
| 1622 | part3:Destroy() | |
| 1623 | part4:Destroy() | |
| 1624 | part5:Destroy() | |
| 1625 | part6:Destroy() | |
| 1626 | blast:Destroy() | |
| 1627 | blast2:Destroy() | |
| 1628 | blast3:Destroy() | |
| 1629 | z:Destroy() | |
| 1630 | z1:Destroy() | |
| 1631 | z2:Destroy() | |
| 1632 | z3:Destroy() | |
| 1633 | z4:Destroy() | |
| 1634 | end | |
| 1635 | end) | |
| 1636 | for i = 1, 20 do | |
| 1637 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2) | |
| 1638 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2) | |
| 1639 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 1640 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4) | |
| 1641 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
| 1642 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
| 1643 | if Debounces.on == false then break end | |
| 1644 | rs:wait() | |
| 1645 | end | |
| 1646 | if Debounces.CanAttack == false then | |
| 1647 | Debounces.CanAttack = true | |
| 1648 | Debounces.NoIdl = false | |
| 1649 | Debounces.on = false | |
| 1650 | end | |
| 1651 | end | |
| 1652 | end | |
| 1653 | end) | |
| 1654 | ---------------------------------------------------- | |
| 1655 | mouse.KeyDown:connect(function(key) | |
| 1656 | if key == "e" then | |
| 1657 | if Debounces.CanAttack == true then | |
| 1658 | Debounces.CanAttack = false | |
| 1659 | Debounces.on = true | |
| 1660 | Debounces.NoIdl = true | |
| 1661 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
| |
| 1662 | z = Instance.new("Sound", rarm)
| |
| 1663 | z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
| 1664 | z.Volume = .6 | |
| 1665 | z.Pitch = pt[math.random(1,#pt)] | |
| 1666 | z.Looped = false | |
| 1667 | z:Play() | |
| 1668 | Debounces.RPunch = true | |
| 1669 | Debounces.LPunch = true | |
| 1670 | Debounces.ks = true | |
| 1671 | Debounces.ks2 = true | |
| 1672 | for i = 1, 3 do | |
| 1673 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
| 1674 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
| 1675 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 1676 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 1677 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 1678 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 1679 | if Debounces.on == false then break end | |
| 1680 | wait() | |
| 1681 | end | |
| 1682 | z2 = Instance.new("Sound", larm)
| |
| 1683 | z2.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 1684 | z2.Volume = .6 | |
| 1685 | z2.Pitch = pt[math.random(1,#pt)] | |
| 1686 | z2.Looped = false | |
| 1687 | z2:Play() | |
| 1688 | for i = 1, 3 do | |
| 1689 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 1690 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 1691 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 1692 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 1693 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 1694 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 1695 | if Debounces.on == false then break end | |
| 1696 | wait() | |
| 1697 | end | |
| 1698 | z3 = Instance.new("Sound", rarm)
| |
| 1699 | z3.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 1700 | z3.Volume = 0.6 | |
| 1701 | z3.Pitch = pt[math.random(1,#pt)] | |
| 1702 | z3.Looped = false | |
| 1703 | z3:Play() | |
| 1704 | for i = 1, 3 do | |
| 1705 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 1706 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 1707 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 1708 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 1709 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 1710 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 1711 | if Debounces.on == false then break end | |
| 1712 | wait() | |
| 1713 | end | |
| 1714 | z4 = Instance.new("Sound", larm)
| |
| 1715 | z4.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 1716 | z4.Volume = .6 | |
| 1717 | z4.Pitch = pt[math.random(1,#pt)] | |
| 1718 | z4.Looped = false | |
| 1719 | z4:Play() | |
| 1720 | for i = 1, 3 do | |
| 1721 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 1722 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 1723 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 1724 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 1725 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 1726 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 1727 | if Debounces.on == false then break end | |
| 1728 | wait() | |
| 1729 | end | |
| 1730 | z5 = Instance.new("Sound", rarm)
| |
| 1731 | z5.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 1732 | z5.Volume = .6 | |
| 1733 | z5.Pitch = pt[math.random(1,#pt)] | |
| 1734 | z5.Looped = false | |
| 1735 | z5:Play() | |
| 1736 | for i = 1, 3 do | |
| 1737 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
| 1738 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
| 1739 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 1740 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 1741 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
| 1742 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
| 1743 | if Debounces.on == false then break end | |
| 1744 | wait() | |
| 1745 | end | |
| 1746 | z6 = Instance.new("Sound", larm)
| |
| 1747 | z6.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 1748 | z6.Volume = .6 | |
| 1749 | z6.Pitch = pt[math.random(1,#pt)] | |
| 1750 | z6.Looped = false | |
| 1751 | z6:Play() | |
| 1752 | for i = 1, 3 do | |
| 1753 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 1754 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 1755 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 1756 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 1757 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 1758 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 1759 | if Debounces.on == false then break end | |
| 1760 | wait() | |
| 1761 | end | |
| 1762 | z7 = Instance.new("Sound", rarm)
| |
| 1763 | z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
| 1764 | z7.Volume = .6 | |
| 1765 | z7.Pitch = pt[math.random(1,#pt)] | |
| 1766 | z7.Looped = false | |
| 1767 | z7:Play() | |
| 1768 | for i = 1, 3 do | |
| 1769 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
| 1770 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
| 1771 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 1772 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 1773 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 1774 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 1775 | if Debounces.on == false then break end | |
| 1776 | wait() | |
| 1777 | end | |
| 1778 | z8 = Instance.new("Sound", larm)
| |
| 1779 | z8.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 1780 | z8.Volume = .6 | |
| 1781 | z8.Pitch = pt[math.random(1,#pt)] | |
| 1782 | z8.Looped = false | |
| 1783 | z8:Play() | |
| 1784 | for i = 1, 3 do | |
| 1785 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 1786 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 1787 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 1788 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 1789 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 1790 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 1791 | if Debounces.on == false then break end | |
| 1792 | wait() | |
| 1793 | end | |
| 1794 | z9 = Instance.new("Sound", rarm)
| |
| 1795 | z9.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 1796 | z9.Volume = 0.6 | |
| 1797 | z9.Pitch = pt[math.random(1,#pt)] | |
| 1798 | z9.Looped = false | |
| 1799 | z9:Play() | |
| 1800 | for i = 1, 3 do | |
| 1801 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 1802 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 1803 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 1804 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 1805 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 1806 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 1807 | if Debounces.on == false then break end | |
| 1808 | wait() | |
| 1809 | end | |
| 1810 | z10 = Instance.new("Sound", larm)
| |
| 1811 | z10.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 1812 | z10.Volume = .6 | |
| 1813 | z10.Pitch = pt[math.random(1,#pt)] | |
| 1814 | z10.Looped = false | |
| 1815 | z10:Play() | |
| 1816 | for i = 1, 3 do | |
| 1817 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 1818 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 1819 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 1820 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 1821 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 1822 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 1823 | if Debounces.on == false then break end | |
| 1824 | wait() | |
| 1825 | end | |
| 1826 | z11 = Instance.new("Sound", rarm)
| |
| 1827 | z11.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 1828 | z11.Volume = .6 | |
| 1829 | z11.Pitch = pt[math.random(1,#pt)] | |
| 1830 | z11.Looped = false | |
| 1831 | z11:Play() | |
| 1832 | for i = 1, 3 do | |
| 1833 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
| 1834 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
| 1835 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 1836 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 1837 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
| 1838 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
| 1839 | if Debounces.on == false then break end | |
| 1840 | wait() | |
| 1841 | end | |
| 1842 | z12 = Instance.new("Sound", larm)
| |
| 1843 | z12.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 1844 | z12.Volume = .6 | |
| 1845 | z12.Pitch = pt[math.random(1,#pt)] | |
| 1846 | z12.Looped = false | |
| 1847 | z12:Play() | |
| 1848 | for i = 1, 3 do | |
| 1849 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 1850 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 1851 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 1852 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 1853 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 1854 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 1855 | if Debounces.on == false then break end | |
| 1856 | wait() | |
| 1857 | end | |
| 1858 | z13 = Instance.new("Sound", rarm)
| |
| 1859 | z13.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 1860 | z13.Volume = 0.6 | |
| 1861 | z13.Pitch = pt[math.random(1,#pt)] | |
| 1862 | z13.Looped = false | |
| 1863 | z13:Play() | |
| 1864 | for i = 1, 3 do | |
| 1865 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 1866 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 1867 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 1868 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 1869 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 1870 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 1871 | if Debounces.on == false then break end | |
| 1872 | wait() | |
| 1873 | end | |
| 1874 | z14 = Instance.new("Sound", larm)
| |
| 1875 | z14.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 1876 | z14.Volume = .6 | |
| 1877 | z14.Pitch = pt[math.random(1,#pt)] | |
| 1878 | z14.Looped = false | |
| 1879 | z14:Play() | |
| 1880 | for i = 1, 3 do | |
| 1881 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 1882 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 1883 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 1884 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 1885 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 1886 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 1887 | if Debounces.on == false then break end | |
| 1888 | wait() | |
| 1889 | end | |
| 1890 | z15 = Instance.new("Sound", rarm)
| |
| 1891 | z15.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 1892 | z15.Volume = .6 | |
| 1893 | z15.Pitch = pt[math.random(1,#pt)] | |
| 1894 | z15.Looped = false | |
| 1895 | z15:Play() | |
| 1896 | for i = 1, 3 do | |
| 1897 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
| 1898 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
| 1899 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 1900 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 1901 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
| 1902 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
| 1903 | if Debounces.on == false then break end | |
| 1904 | wait() | |
| 1905 | end | |
| 1906 | z16 = Instance.new("Sound", larm)
| |
| 1907 | z16.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 1908 | z16.Volume = .6 | |
| 1909 | z16.Pitch = pt[math.random(1,#pt)] | |
| 1910 | z16.Looped = false | |
| 1911 | z16:Play() | |
| 1912 | for i = 1, 3 do | |
| 1913 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 1914 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 1915 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 1916 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 1917 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 1918 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 1919 | if Debounces.on == false then break end | |
| 1920 | wait() | |
| 1921 | end | |
| 1922 | z17 = Instance.new("Sound", rarm)
| |
| 1923 | z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
| 1924 | z17.Volume = .6 | |
| 1925 | z17.Pitch = pt[math.random(1,#pt)] | |
| 1926 | z17.Looped = false | |
| 1927 | z17:Play() | |
| 1928 | for i = 1, 3 do | |
| 1929 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
| 1930 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
| 1931 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 1932 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 1933 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 1934 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 1935 | if Debounces.on == false then break end | |
| 1936 | wait() | |
| 1937 | end | |
| 1938 | z18 = Instance.new("Sound", larm)
| |
| 1939 | z18.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 1940 | z18.Volume = .6 | |
| 1941 | z18.Pitch = pt[math.random(1,#pt)] | |
| 1942 | z18.Looped = false | |
| 1943 | z18:Play() | |
| 1944 | for i = 1, 3 do | |
| 1945 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 1946 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
| 1947 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 1948 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 1949 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 1950 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 1951 | if Debounces.on == false then break end | |
| 1952 | wait() | |
| 1953 | end | |
| 1954 | z19 = Instance.new("Sound", rarm)
| |
| 1955 | z19.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 1956 | z19.Volume = 0.6 | |
| 1957 | z19.Pitch = pt[math.random(1,#pt)] | |
| 1958 | z19.Looped = false | |
| 1959 | z19:Play() | |
| 1960 | for i = 1, 3 do | |
| 1961 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
| 1962 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
| 1963 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 1964 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 1965 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
| 1966 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
| 1967 | if Debounces.on == false then break end | |
| 1968 | wait() | |
| 1969 | end | |
| 1970 | z20 = Instance.new("Sound", larm)
| |
| 1971 | z20.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 1972 | z20.Volume = .6 | |
| 1973 | z20.Pitch = pt[math.random(1,#pt)] | |
| 1974 | z20.Looped = false | |
| 1975 | z20:Play() | |
| 1976 | for i = 1, 3 do | |
| 1977 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
| 1978 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
| 1979 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 1980 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 1981 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
| 1982 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
| 1983 | if Debounces.on == false then break end | |
| 1984 | wait() | |
| 1985 | end | |
| 1986 | z:Destroy() | |
| 1987 | z2:Destroy() | |
| 1988 | z3:Destroy() | |
| 1989 | z4:Destroy() | |
| 1990 | z5:Destroy() | |
| 1991 | z6:Destroy() | |
| 1992 | z7:Destroy() | |
| 1993 | z8:Destroy() | |
| 1994 | z9:Destroy() | |
| 1995 | z10:Destroy() | |
| 1996 | z11:Destroy() | |
| 1997 | z12:Destroy() | |
| 1998 | z13:Destroy() | |
| 1999 | z14:Destroy() | |
| 2000 | z15:Destroy() | |
| 2001 | z16:Destroy() | |
| 2002 | z17:Destroy() | |
| 2003 | z18:Destroy() | |
| 2004 | z19:Destroy() | |
| 2005 | z20:Destroy() | |
| 2006 | Debounces.LPunch = false | |
| 2007 | Debounces.RPunch = false | |
| 2008 | Debounces.ks = false | |
| 2009 | Debounces.ks2 = false | |
| 2010 | if Debounces.CanAttack == false then | |
| 2011 | Debounces.CanAttack = true | |
| 2012 | Debounces.on = false | |
| 2013 | Debounces.NoIdl = false | |
| 2014 | end | |
| 2015 | end | |
| 2016 | end | |
| 2017 | end) | |
| 2018 | ------------------------------- | |
| 2019 | mouse.KeyDown:connect(function(key) | |
| 2020 | if key == "t" then | |
| 2021 | if Debounces.CanAttack == true then | |
| 2022 | Debounces.CanAttack = false | |
| 2023 | Debounces.NoIdl = true | |
| 2024 | Debounces.on = true | |
| 2025 | Debounces.ks = true | |
| 2026 | kik = rleg.Touched:connect(function(ht) | |
| 2027 | hit = ht.Parent | |
| 2028 | if ht and hit:IsA("Model") then
| |
| 2029 | if hit:FindFirstChild("Humanoid") then
| |
| 2030 | if hit.Name ~= p.Name then | |
| 2031 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 2032 | Debounces.Slashed = true]]-- | |
| 2033 | if Debounces.ks==true then | |
| 2034 | z = Instance.new("Sound",hed)
| |
| 2035 | z.SoundId = "rbxassetid://169380525" | |
| 2036 | z.Volume = 1 | |
| 2037 | z:Play() | |
| 2038 | Debounces.ks=false | |
| 2039 | end | |
| 2040 | hit:FindFirstChild("Humanoid"):TakeDamage(2)
| |
| 2041 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
| |
| 2042 | --Debounces.Slashed = false | |
| 2043 | --end | |
| 2044 | end | |
| 2045 | end | |
| 2046 | elseif ht and hit:IsA("Hat") then
| |
| 2047 | if hit.Parent.Name ~= p.Name then | |
| 2048 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 2049 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 2050 | Debounces.Slashed = true]]-- | |
| 2051 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
| |
| 2052 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
| |
| 2053 | --Debounces.Slashed = false | |
| 2054 | --end | |
| 2055 | end | |
| 2056 | end | |
| 2057 | end | |
| 2058 | end) | |
| 2059 | for i = 1,20 do | |
| 2060 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
| 2061 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.4) | |
| 2062 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2063 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4) | |
| 2064 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4) | |
| 2065 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
| 2066 | if Debounces.on == false then break end | |
| 2067 | rs:wait() | |
| 2068 | end | |
| 2069 | kik:disconnect() | |
| 2070 | if Debounces.CanAttack == false then | |
| 2071 | Debounces.CanAttack = true | |
| 2072 | Debounces.NoIdl = false | |
| 2073 | Debounces.on = false | |
| 2074 | end | |
| 2075 | end | |
| 2076 | end | |
| 2077 | end) | |
| 2078 | ---------------------------------------------------- | |
| 2079 | mouse.KeyDown:connect(function(key) | |
| 2080 | if key == "y" then | |
| 2081 | if Debounces.CanAttack == true then | |
| 2082 | Debounces.CanAttack = false | |
| 2083 | Debounces.on = true | |
| 2084 | Debounces.NoIdl = true | |
| 2085 | for i = 1, 15 do | |
| 2086 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2) | |
| 2087 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6) | |
| 2088 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
| 2089 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
| 2090 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
| 2091 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
| 2092 | if Debounces.on == false then break end | |
| 2093 | rs:wait(2.7) | |
| 2094 | end | |
| 2095 | x = Instance.new("Sound",char)
| |
| 2096 | x.SoundId = "rbxassetid://228343271" | |
| 2097 | x.Pitch = 1 | |
| 2098 | x.Volume = .8 | |
| 2099 | wait(.1) | |
| 2100 | x:Play() | |
| 2101 | Debounces.on = false | |
| 2102 | Debounces.Here = false | |
| 2103 | shot = shot + 1 | |
| 2104 | local rng = Instance.new("Part", larm)
| |
| 2105 | rng.Anchored = true | |
| 2106 | rng.BrickColor = BrickColor.new("New Yeller")
| |
| 2107 | rng.CanCollide = false | |
| 2108 | rng.FormFactor = 3 | |
| 2109 | rng.Name = "Ring" | |
| 2110 | rng.Size = Vector3.new(1, 1, 1) | |
| 2111 | rng.Transparency = 0.35 | |
| 2112 | rng.TopSurface = 0 | |
| 2113 | rng.BottomSurface = 0 | |
| 2114 | rng2 = rng:clone() | |
| 2115 | rng3 = rng2:clone() | |
| 2116 | rng4 = rng2:clone() | |
| 2117 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2118 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2119 | rngm.Scale = Vector3.new(10, 10, 1) | |
| 2120 | rngm2 = rngm:clone() | |
| 2121 | rngm2.Scale = Vector3.new(5, 5, 3) | |
| 2122 | rngm3=rngm2:clone() | |
| 2123 | rngm3.Parent = rng3 | |
| 2124 | rngm3.Scale = Vector3.new(8, 8, 1) | |
| 2125 | rngm4 = rngm2:clone() | |
| 2126 | rngm4.Parent = rng4 | |
| 2127 | rngm4.Scale = Vector3.new(6, 6, 1) | |
| 2128 | local bem = Instance.new("Part", larm)
| |
| 2129 | bem.Anchored = true | |
| 2130 | bem.BrickColor = BrickColor.new("New Yeller")
| |
| 2131 | bem.CanCollide = false | |
| 2132 | bem.FormFactor = 3 | |
| 2133 | bem.Name = "Beam" .. shot | |
| 2134 | bem.Size = Vector3.new(1, 1, 1) | |
| 2135 | bem.Transparency = 0.35 | |
| 2136 | bem.TopSurface = 0 | |
| 2137 | bem.BottomSurface = 0 | |
| 2138 | local bemm = Instance.new("SpecialMesh", bem)
| |
| 2139 | bemm.MeshType = 4 | |
| 2140 | bemm.Scale = Vector3.new(1, 4, 4) | |
| 2141 | local out = Instance.new("Part", larm)
| |
| 2142 | out.Anchored = true | |
| 2143 | out.BrickColor = BrickColor.new("New Yeller")
| |
| 2144 | out.CanCollide = false | |
| 2145 | out.FormFactor = 3 | |
| 2146 | out.Name = "Out" | |
| 2147 | out.Size = Vector3.new(4, 4, 4) | |
| 2148 | out.Transparency = 0.35 | |
| 2149 | out.TopSurface = 0 | |
| 2150 | out.BottomSurface = 0 | |
| 2151 | local outm = Instance.new("SpecialMesh", out)
| |
| 2152 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
| 2153 | outm.Scale = Vector3.new(6, 4, 6) | |
| 2154 | local bnd = Instance.new("Part", larm)
| |
| 2155 | bnd.Anchored = true | |
| 2156 | bnd.BrickColor = BrickColor.new("New Yeller")
| |
| 2157 | bnd.CanCollide = false | |
| 2158 | bnd.FormFactor = 3 | |
| 2159 | bnd.Name = "Bend" | |
| 2160 | bnd.Size = Vector3.new(1, 1, 1) | |
| 2161 | bnd.Transparency = 1 | |
| 2162 | bnd.TopSurface = 0 | |
| 2163 | bnd.BottomSurface = 0 | |
| 2164 | local bndm = Instance.new("SpecialMesh", bnd)
| |
| 2165 | bndm.MeshType = 3 | |
| 2166 | bndm.Scale = Vector3.new(8, 8, 8) | |
| 2167 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
| 2168 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 2169 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
| 2170 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
| 2171 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
| 2172 | rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0) | |
| 2173 | Debounces.Shewt = true | |
| 2174 | coroutine.wrap(function() | |
| 2175 | for i = 1, 20, 0.2 do | |
| 2176 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
| 2177 | rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1) | |
| 2178 | rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1) | |
| 2179 | rng.Transparency = i/20 | |
| 2180 | rng3.Transparency = 1/24 | |
| 2181 | rng4.Transparency = i/26 | |
| 2182 | wait() | |
| 2183 | end | |
| 2184 | wait() | |
| 2185 | rng:Destroy() | |
| 2186 | end)() | |
| 2187 | if Debounces.Shewt == true then | |
| 2188 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
| |
| 2189 | hit = ht.Parent | |
| 2190 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
| |
| 2191 | if HasntTouched(hit.Name) == true and deb == false then | |
| 2192 | deb = true | |
| 2193 | coroutine.wrap(function() | |
| 2194 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 2195 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
| |
| 2196 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
| |
| 2197 | end)() | |
| 2198 | table.insert(Touche, hit.Name) | |
| 2199 | deb = false | |
| 2200 | end | |
| 2201 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
| |
| 2202 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
| 2203 | deb = true | |
| 2204 | coroutine.wrap(function() | |
| 2205 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
| |
| 2206 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
| |
| 2207 | wait(1) | |
| 2208 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
| |
| 2209 | end)() | |
| 2210 | table.insert(Touche, hit.Parent.Name) | |
| 2211 | deb = false | |
| 2212 | for i, v in pairs(Touche) do | |
| 2213 | print(v) | |
| 2214 | end | |
| 2215 | end | |
| 2216 | end | |
| 2217 | end) | |
| 2218 | end | |
| 2219 | for i = 0, 260, 8 do | |
| 2220 | bem.Size = Vector3.new(i, 3, 3) | |
| 2221 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
| 2222 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 2223 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
| 2224 | bnd.Size = Vector3.new(1,1,1) | |
| 2225 | bndm.Scale = Vector3.new(8,8,8) | |
| 2226 | if i % 10 == 0 then | |
| 2227 | local newRng = rng2:Clone() | |
| 2228 | newRng.Parent = larm | |
| 2229 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
| 2230 | local newRngm = rngm2:clone() | |
| 2231 | newRngm.Parent=newRng | |
| 2232 | coroutine.wrap(function() | |
| 2233 | for i = 1, 10, 0.2 do | |
| 2234 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3) | |
| 2235 | newRng.Transparency = i/10 | |
| 2236 | wait() | |
| 2237 | end | |
| 2238 | wait() | |
| 2239 | newRng:Destroy() | |
| 2240 | end)() | |
| 2241 | end | |
| 2242 | wait() | |
| 2243 | end | |
| 2244 | wait() | |
| 2245 | Debounces.Shewt = false | |
| 2246 | bem:Destroy() | |
| 2247 | out:Destroy() | |
| 2248 | bnd:Destroy() | |
| 2249 | Debounces.Ready = false | |
| 2250 | for i, v in pairs(Touche) do | |
| 2251 | table.remove(Touche, i) | |
| 2252 | end | |
| 2253 | wait() | |
| 2254 | table.insert(Touche, char.Name) | |
| 2255 | Debounces.NoIdl = false | |
| 2256 | if Debounces.CanAttack == false then | |
| 2257 | Debounces.CanAttack = true | |
| 2258 | end | |
| 2259 | end | |
| 2260 | end | |
| 2261 | end) | |
| 2262 | ---------------------------------------------------- | |
| 2263 | --[[mouse.KeyDown:connect(function(key) | |
| 2264 | if key == "y" then | |
| 2265 | if Debounces.CanAttack == true then | |
| 2266 | Debounces.CanAttack = false | |
| 2267 | Debounces.NoIdl = true | |
| 2268 | Debounces.on = true | |
| 2269 | local shell = Instance.new("Part",torso)
| |
| 2270 | shell.BrickColor = BrickColor.new("New Yeller")
| |
| 2271 | shell.Anchored = false | |
| 2272 | shell.CanCollide = false | |
| 2273 | shell.Locked = true | |
| 2274 | shell.TopSurface = "SmoothNoOutlines" | |
| 2275 | shell.BottomSurface = "SmoothNoOutlines" | |
| 2276 | shell.Size = Vector3.new(1.2,1.2,1.2) | |
| 2277 | shell.FormFactor = 3 | |
| 2278 | local shellm = Instance.new("SpecialMesh",shell)
| |
| 2279 | shellm.MeshType = "Sphere" | |
| 2280 | shellm.Scale = Vector3.new(1.2,1.2,1.2) | |
| 2281 | Omega = function() | |
| 2282 | local X = Instance.new("Part",char)
| |
| 2283 | local O = Instance.new("ObjectValue",X)
| |
| 2284 | O.Name = "creator" | |
| 2285 | X.Locked = true | |
| 2286 | X.Name = "Shell" | |
| 2287 | X.Anchored = false | |
| 2288 | X.CanCollide = false | |
| 2289 | X.Transparency = 0.5 | |
| 2290 | X.Reflectance = 0 | |
| 2291 | X.BottomSurface = 0 | |
| 2292 | X.TopSurface = 0 | |
| 2293 | X.Shape = 0 | |
| 2294 | local V = Instance.new("ObjectValue",X)
| |
| 2295 | V.Value = char | |
| 2296 | V.Name = "creator" | |
| 2297 | X.BrickColor = BrickColor.new("New Yeller")
| |
| 2298 | X.Size = Vector3.new(40,40,40) | |
| 2299 | --X.Material = "Neon" | |
| 2300 | local Z = Instance.new("SpecialMesh",X)
| |
| 2301 | Z.MeshType = "Sphere" | |
| 2302 | Z.Scale = Vector3.new(0.2,0.2,0.2) | |
| 2303 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
| 2304 | local bv = Instance.new("BodyVelocity",X)
| |
| 2305 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 2306 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
| 2307 | bv.velocity = root.CFrame.lookVector*10 | |
| 2308 | Explode = X.Touched:connect(function(hit) | |
| 2309 | if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then
| |
| 2310 | local cf = X.CFrame | |
| 2311 | bv:Destroy() | |
| 2312 | X.Anchored = true | |
| 2313 | Z:Remove() | |
| 2314 | Explode:disconnect() | |
| 2315 | X.Size = Vector3.new(3,3,3) | |
| 2316 | X.Touched:connect(function(hit) end) | |
| 2317 | X.CanCollide = false | |
| 2318 | for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do | |
| 2319 | if v:FindFirstChild('Humanoid') then
| |
| 2320 | v.Humanoid:TakeDamage(math.random(80,120)) | |
| 2321 | end | |
| 2322 | end | |
| 2323 | for i = 1, (40) do rs:wait() | |
| 2324 | X.Transparency = X.Transparency + (1/40) | |
| 2325 | X.Size = X.Size + Vector3.new(1,1,1) | |
| 2326 | X.CFrame = root.CFrame * CFrame.new(0,0,-10) | |
| 2327 | end | |
| 2328 | X:Destroy() | |
| 2329 | end | |
| 2330 | end) | |
| 2331 | end | |
| 2332 | for i = 1,200 do | |
| 2333 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 2334 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.03) | |
| 2335 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2336 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2337 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2338 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2339 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2340 | if Debounces.on == false then break end | |
| 2341 | rs:wait() | |
| 2342 | end | |
| 2343 | for i = 1,30 do | |
| 2344 | shell.CFrame = torso.CFrame * CFrame.new(0,8,0) | |
| 2345 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.4) | |
| 2346 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-170)), 0.4) | |
| 2347 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2348 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2349 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2350 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2351 | if Debounces.on == false then break end | |
| 2352 | rs:wait() | |
| 2353 | end | |
| 2354 | for i = 1,40 do | |
| 2355 | shell.CFrame = torso.CFrame * CFrame.new(0,20,0) | |
| 2356 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
| 2357 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(100)), 0.4) | |
| 2358 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-100)), 0.4) | |
| 2359 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2360 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2361 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2362 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2363 | if Debounces.on == false then break end | |
| 2364 | rs:wait() | |
| 2365 | end | |
| 2366 | for i = 1,40 do | |
| 2367 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-30) | |
| 2368 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(20)), 0.4) | |
| 2369 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.4) | |
| 2370 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2371 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2372 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2373 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2374 | if Debounces.on == false then break end | |
| 2375 | rs:wait() | |
| 2376 | end | |
| 2377 | for i = 1,60 do | |
| 2378 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
| 2379 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.4) | |
| 2380 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.4) | |
| 2381 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2382 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2383 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2384 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2385 | if Debounces.on == false then break end | |
| 2386 | rs:wait() | |
| 2387 | end | |
| 2388 | for i = 1,60 do | |
| 2389 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
| 2390 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
| 2391 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(120)), 0.4) | |
| 2392 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-120)), 0.4) | |
| 2393 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2394 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2395 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2396 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2397 | if Debounces.on == false then break end | |
| 2398 | rs:wait() | |
| 2399 | end | |
| 2400 | if Debounces.CanAttack == false then | |
| 2401 | Debounces.CanAttack = true | |
| 2402 | Debounces.NoIdl = false | |
| 2403 | Debounces.on = false | |
| 2404 | end | |
| 2405 | end | |
| 2406 | end | |
| 2407 | end)]]-- | |
| 2408 | ---------------------------------------------------- | |
| 2409 | Charging = false | |
| 2410 | mouse.KeyDown:connect(function(key) | |
| 2411 | if key == "r" then | |
| 2412 | if Charging == false then | |
| 2413 | Charging = true | |
| 2414 | if Debounces.CanAttack == true then | |
| 2415 | Debounces.CanAttack = false | |
| 2416 | Debounces.NoIdl = true | |
| 2417 | Debounces.on = true | |
| 2418 | for i = 1,20 do | |
| 2419 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2) | |
| 2420 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2) | |
| 2421 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 2422 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
| 2423 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
| 2424 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
| 2425 | if Debounces.on == false then break end | |
| 2426 | rs:wait() | |
| 2427 | end | |
| 2428 | --[[for i = 1,20 do | |
| 2429 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4) | |
| 2430 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4) | |
| 2431 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
| 2432 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4) | |
| 2433 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
| 2434 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
| 2435 | if Debounces.on == false then break end | |
| 2436 | rs:wait() | |
| 2437 | end]]-- | |
| 2438 | pt=Instance.new('Part',torso)
| |
| 2439 | pt.Anchored=true | |
| 2440 | pt.CanCollide=false | |
| 2441 | pt.Locked = true | |
| 2442 | pt.FormFactor='Custom' | |
| 2443 | pt.Size=Vector3.new(1,1,1) | |
| 2444 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 2445 | pt.Transparency=.6 | |
| 2446 | pt.BrickColor=BrickColor.new('New Yeller')
| |
| 2447 | msh=Instance.new('SpecialMesh',pt)
| |
| 2448 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 2449 | msh.Scale=Vector3.new(8,4,8) | |
| 2450 | pt2=pt:clone() | |
| 2451 | pt2.Parent = torso | |
| 2452 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 2453 | pt2.BrickColor=BrickColor.new("New Yeller")
| |
| 2454 | msh2=msh:clone() | |
| 2455 | msh2.Parent=pt2 | |
| 2456 | msh2.Scale=Vector3.new(10,5,10) | |
| 2457 | ||
| 2458 | custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
| |
| 2459 | ||
| 2460 | bl = Instance.new("Part", char)
| |
| 2461 | bl.Locked = true | |
| 2462 | bl.Name = "Shell" | |
| 2463 | bl.BrickColor = BrickColor.new("New Yeller")
| |
| 2464 | bl.Anchored = true | |
| 2465 | bl.CanCollide = false | |
| 2466 | bl.Transparency = 0 | |
| 2467 | bl.Reflectance = 0 | |
| 2468 | bl.BottomSurface = 0 | |
| 2469 | bl.TopSurface = 0 | |
| 2470 | bl.Shape = 0 | |
| 2471 | blm = Instance.new("SpecialMesh",bl)
| |
| 2472 | blm.MeshType = "Sphere" | |
| 2473 | blm.Scale = Vector3.new(1,1,1) | |
| 2474 | blm.MeshId = "rbxassetid://9982590" | |
| 2475 | ||
| 2476 | coroutine.resume(coroutine.create(function() | |
| 2477 | for i=1, math.huge, 4 do | |
| 2478 | if Charging == true then | |
| 2479 | rs:wait() | |
| 2480 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
| 2481 | blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1) | |
| 2482 | bl.Transparency = bl.Transparency + 0.005 | |
| 2483 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
| 2484 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
| 2485 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
| 2486 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
| 2487 | elseif Charging == false then break | |
| 2488 | end | |
| 2489 | end | |
| 2490 | end)) | |
| 2491 | ||
| 2492 | repeat | |
| 2493 | local p = Instance.new('Part',torso)
| |
| 2494 | p.formFactor = 'Custom' | |
| 2495 | p.Size = Vector3.new(1,1,1) | |
| 2496 | p.BrickColor = workspace.Base.BrickColor | |
| 2497 | p.CanCollide = false | |
| 2498 | p.Transparency = 0 | |
| 2499 | p.Anchored = true | |
| 2500 | p.Locked=true | |
| 2501 | p.Material = workspace.Base.Material | |
| 2502 | s = math.random(1,40)/10 | |
| 2503 | local m = Instance.new("BlockMesh",p)
| |
| 2504 | m.Scale = Vector3.new(s,s,s) | |
| 2505 | p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 2506 | --[[coroutine.wrap(function() | |
| 2507 | wait(2) | |
| 2508 | while Charging == true do | |
| 2509 | wait(2) | |
| 2510 | GroundWave1() | |
| 2511 | wait(2) | |
| 2512 | end | |
| 2513 | end)()]]-- | |
| 2514 | Spawn(function() | |
| 2515 | while rs:wait() do | |
| 2516 | if Charging == true then | |
| 2517 | rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50))) | |
| 2518 | larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30))) | |
| 2519 | hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0)) | |
| 2520 | torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
| 2521 | lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10))) | |
| 2522 | rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20))) | |
| 2523 | elseif Charging == false then break | |
| 2524 | end | |
| 2525 | end | |
| 2526 | end) | |
| 2527 | Spawn(function() | |
| 2528 | while rs:wait() do | |
| 2529 | if p.Transparency >= 1 then p:Destroy() break end | |
| 2530 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
| 2531 | p.Transparency = p.Transparency+0.01 | |
| 2532 | end | |
| 2533 | end) | |
| 2534 | wait(.3) | |
| 2535 | until Charging == false | |
| 2536 | end | |
| 2537 | end | |
| 2538 | end | |
| 2539 | end) | |
| 2540 | ---------------------------------------------------- | |
| 2541 | mouse.KeyUp:connect(function(key) | |
| 2542 | if key == "r" then | |
| 2543 | if Charging == true then | |
| 2544 | Charging = false | |
| 2545 | pt:Destroy() | |
| 2546 | pt2:Destroy() | |
| 2547 | bl:Destroy() | |
| 2548 | if Debounces.CanAttack == false then | |
| 2549 | Debounces.CanAttack = true | |
| 2550 | Debounces.NoIdl = false | |
| 2551 | Debounces.on = false | |
| 2552 | end | |
| 2553 | end | |
| 2554 | end | |
| 2555 | end) | |
| 2556 | ---------------------------------------------------- | |
| 2557 | mouse.KeyDown:connect(function(key) | |
| 2558 | if key == "g" then | |
| 2559 | if Debounces.CanAttack == true then | |
| 2560 | Debounces.CanAttack = false | |
| 2561 | Debounces.NoIdl = true | |
| 2562 | Debounces.on = true | |
| 2563 | local shell = Instance.new("Part",torso)
| |
| 2564 | shell.BrickColor = BrickColor.new("New Yeller")
| |
| 2565 | shell.Anchored = true | |
| 2566 | shell.CanCollide = false | |
| 2567 | shell.Locked = true | |
| 2568 | shell.TopSurface = "SmoothNoOutlines" | |
| 2569 | shell.BottomSurface = "SmoothNoOutlines" | |
| 2570 | shell.Size = Vector3.new(1,1,1) | |
| 2571 | shellm = Instance.new("SpecialMesh",shell)
| |
| 2572 | shellm.MeshType = "Sphere" | |
| 2573 | shellm.Scale = Vector3.new(1,1,1) | |
| 2574 | local shell2 = Instance.new("Part",torso)
| |
| 2575 | shell2.BrickColor = BrickColor.new("New Yeller")
| |
| 2576 | shell2.Anchored = true | |
| 2577 | shell2.CanCollide = false | |
| 2578 | shell2.Locked = true | |
| 2579 | shell2.TopSurface = "SmoothNoOutlines" | |
| 2580 | shell2.BottomSurface = "SmoothNoOutlines" | |
| 2581 | shell2.Size = Vector3.new(1,1,1) | |
| 2582 | shellm2 = Instance.new("SpecialMesh",shell2)
| |
| 2583 | shellm2.MeshType = "Sphere" | |
| 2584 | shellm2.Scale = Vector3.new(1,1,1) | |
| 2585 | ||
| 2586 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 2587 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 2588 | local List = {}
| |
| 2589 | for i,v in pairs(workspace:GetChildren())do | |
| 2590 | if v:IsA("Model")then
| |
| 2591 | if v:findFirstChild("Torso")then
| |
| 2592 | if v ~= char then | |
| 2593 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 2594 | table.insert(List,v) | |
| 2595 | end | |
| 2596 | end | |
| 2597 | end | |
| 2598 | end | |
| 2599 | end | |
| 2600 | return List | |
| 2601 | end | |
| 2602 | ||
| 2603 | Shell = function() | |
| 2604 | local X = Instance.new("Part",char)
| |
| 2605 | local O = Instance.new("ObjectValue",X)
| |
| 2606 | O.Name = "creator" | |
| 2607 | X.Locked = true | |
| 2608 | X.Name = "Shell" | |
| 2609 | X.Anchored = false | |
| 2610 | X.CanCollide = false | |
| 2611 | X.Transparency = 0 | |
| 2612 | X.Reflectance = 0 | |
| 2613 | X.BottomSurface = 0 | |
| 2614 | X.TopSurface = 0 | |
| 2615 | X.Shape = 0 | |
| 2616 | local V = Instance.new("ObjectValue",X)
| |
| 2617 | V.Value = char | |
| 2618 | V.Name = "creator" | |
| 2619 | X.BrickColor = BrickColor.new("New Yeller")
| |
| 2620 | X.Size = Vector3.new(1,1,1) | |
| 2621 | --X.Material = "Neon" | |
| 2622 | local Z = Instance.new("SpecialMesh",X)
| |
| 2623 | Z.MeshType = "Sphere" | |
| 2624 | Z.Scale = Vector3.new(1,1,1) | |
| 2625 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
| 2626 | local bv = Instance.new("BodyVelocity",X)
| |
| 2627 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 2628 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
| 2629 | bv.velocity = root.CFrame.lookVector*65 | |
| 2630 | Explode = X.Touched:connect(function(hit) | |
| 2631 | if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
| |
| 2632 | local cf = X.CFrame | |
| 2633 | bv:Destroy() | |
| 2634 | X.Anchored = true | |
| 2635 | Z:Remove() | |
| 2636 | Explode:disconnect() | |
| 2637 | X.Size = Vector3.new(3,3,3) | |
| 2638 | X.Touched:connect(function(hit) end) | |
| 2639 | X.CanCollide = false | |
| 2640 | for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do | |
| 2641 | if v:FindFirstChild('Humanoid') then
| |
| 2642 | v.Humanoid:TakeDamage(math.random(6,12)) | |
| 2643 | end | |
| 2644 | end | |
| 2645 | for i = 1, (40) do rs:wait() | |
| 2646 | X.Transparency = X.Transparency + (1/40) | |
| 2647 | X.Size = X.Size + Vector3.new(1,1,1) | |
| 2648 | X.CFrame = cf | |
| 2649 | end | |
| 2650 | X:Destroy() | |
| 2651 | end | |
| 2652 | end) | |
| 2653 | end | |
| 2654 | Shell() | |
| 2655 | for i = 1, 10 do | |
| 2656 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 2657 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 2658 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 2659 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 2660 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7) | |
| 2661 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7) | |
| 2662 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.7) | |
| 2663 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.7) | |
| 2664 | if Debounces.on == false then break end | |
| 2665 | rs:wait() | |
| 2666 | end | |
| 2667 | Shell() | |
| 2668 | shell.Transparency = 1 | |
| 2669 | for i = 1, 10 do | |
| 2670 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 2671 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 2672 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 2673 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 2674 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 2675 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 2676 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 2677 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 2678 | if Debounces.on == false then break end | |
| 2679 | rs:wait() | |
| 2680 | end | |
| 2681 | Shell() | |
| 2682 | shell.Transparency = 0 | |
| 2683 | shell2.Transparency = 1 | |
| 2684 | for i = 1, 10 do | |
| 2685 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 2686 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 2687 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 2688 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 2689 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 2690 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 2691 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 2692 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 2693 | if Debounces.on == false then break end | |
| 2694 | rs:wait() | |
| 2695 | end | |
| 2696 | Shell() | |
| 2697 | shell2.Transparency = 0 | |
| 2698 | shell.Transparency = 1 | |
| 2699 | for i = 1, 10 do | |
| 2700 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 2701 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 2702 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 2703 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 2704 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 2705 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 2706 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 2707 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 2708 | if Debounces.on == false then break end | |
| 2709 | rs:wait() | |
| 2710 | end | |
| 2711 | Shell() | |
| 2712 | shell.Transparency = 0 | |
| 2713 | shell2.Transparency = 1 | |
| 2714 | for i = 1, 10 do | |
| 2715 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 2716 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 2717 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 2718 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 2719 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 2720 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 2721 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 2722 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 2723 | if Debounces.on == false then break end | |
| 2724 | rs:wait() | |
| 2725 | end | |
| 2726 | Shell() | |
| 2727 | shell2.Transparency = 0 | |
| 2728 | shell.Transparency = 1 | |
| 2729 | for i = 1, 10 do | |
| 2730 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 2731 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 2732 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 2733 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 2734 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 2735 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 2736 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 2737 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 2738 | if Debounces.on == false then break end | |
| 2739 | rs:wait() | |
| 2740 | end | |
| 2741 | Shell() | |
| 2742 | shell.Transparency = 0 | |
| 2743 | shell2.Transparency = 1 | |
| 2744 | for i = 1, 10 do | |
| 2745 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 2746 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 2747 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 2748 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5) | |
| 2749 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 2750 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 2751 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 2752 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 2753 | if Debounces.on == false then break end | |
| 2754 | rs:wait() | |
| 2755 | end | |
| 2756 | Shell() | |
| 2757 | shell2.Transparency = 0 | |
| 2758 | shell.Transparency = 1 | |
| 2759 | for i = 1, 10 do | |
| 2760 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 2761 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 2762 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 2763 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 2764 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 2765 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 2766 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 2767 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 2768 | if Debounces.on == false then break end | |
| 2769 | rs:wait() | |
| 2770 | end | |
| 2771 | Shell() | |
| 2772 | shell.Transparency = 0 | |
| 2773 | shell2.Transparency = 1 | |
| 2774 | for i = 1, 10 do | |
| 2775 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 2776 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 2777 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 2778 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 2779 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 2780 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 2781 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 2782 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 2783 | if Debounces.on == false then break end | |
| 2784 | rs:wait() | |
| 2785 | end | |
| 2786 | Shell() | |
| 2787 | shell2.Transparency = 0 | |
| 2788 | shell.Transparency = 1 | |
| 2789 | for i = 1, 10 do | |
| 2790 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 2791 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 2792 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 2793 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 2794 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 2795 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 2796 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 2797 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 2798 | if Debounces.on == false then break end | |
| 2799 | rs:wait() | |
| 2800 | end | |
| 2801 | Shell() | |
| 2802 | shell.Transparency = 0 | |
| 2803 | shell2.Transparency = 1 | |
| 2804 | for i = 1, 10 do | |
| 2805 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 2806 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 2807 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 2808 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 2809 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 2810 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 2811 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 2812 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 2813 | if Debounces.on == false then break end | |
| 2814 | rs:wait() | |
| 2815 | end | |
| 2816 | Shell() | |
| 2817 | shell2.Transparency = 0 | |
| 2818 | shell.Transparency = 1 | |
| 2819 | for i = 1, 10 do | |
| 2820 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 2821 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 2822 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
| 2823 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
| 2824 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 2825 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 2826 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
| 2827 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
| 2828 | if Debounces.on == false then break end | |
| 2829 | rs:wait() | |
| 2830 | end | |
| 2831 | Shell() | |
| 2832 | shell.Transparency = 0 | |
| 2833 | shell2.Transparency = 1 | |
| 2834 | for i = 1, 10 do | |
| 2835 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 2836 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 2837 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
| 2838 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
| 2839 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 2840 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 2841 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
| 2842 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
| 2843 | if Debounces.on == false then break end | |
| 2844 | rs:wait() | |
| 2845 | end | |
| 2846 | shell.Transparency = 1 | |
| 2847 | if Debounces.CanAttack == false then | |
| 2848 | Debounces.CanAttack = true | |
| 2849 | Debounces.NoIdl = false | |
| 2850 | Debounces.on = false | |
| 2851 | end | |
| 2852 | end | |
| 2853 | end | |
| 2854 | end) | |
| 2855 | ---------------------------------------------------- | |
| 2856 | Search = false | |
| 2857 | mouse.KeyDown:connect(function(key) | |
| 2858 | if key == "n" then | |
| 2859 | if Search == false then | |
| 2860 | Search = true | |
| 2861 | for i,v in pairs(game.Players:getPlayers()) do | |
| 2862 | if v.Name~=char.Name then | |
| 2863 | for j,k in pairs(v.Character:GetChildren()) do | |
| 2864 | if k:IsA("BasePart") and k.Transparency >= 1 then
| |
| 2865 | bawx=Instance.new("SelectionBox",cam)
| |
| 2866 | bawx.Color = BrickColor.new("Bright red")
| |
| 2867 | bawx.Transparency = .5 | |
| 2868 | bawx.Adornee = k | |
| 2869 | end | |
| 2870 | end | |
| 2871 | end | |
| 2872 | end | |
| 2873 | elseif Search == true then | |
| 2874 | Search = false | |
| 2875 | for i, v in pairs(cam:GetChildren()) do | |
| 2876 | if v:IsA("SelectionBox") then
| |
| 2877 | v:Destroy() | |
| 2878 | end | |
| 2879 | end | |
| 2880 | end | |
| 2881 | end | |
| 2882 | end) | |
| 2883 | ---------------------------------------------------- | |
| 2884 | Grab = false | |
| 2885 | mouse.KeyDown:connect(function(key) | |
| 2886 | if key == "z" then | |
| 2887 | Debounces.on = true | |
| 2888 | Debounces.NoIdl = true | |
| 2889 | Debounces.ks = true | |
| 2890 | if Grab == false then | |
| 2891 | gp = nil | |
| 2892 | for i = 1, 20 do | |
| 2893 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.2) | |
| 2894 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.2) | |
| 2895 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 2896 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
| 2897 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2) | |
| 2898 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2) | |
| 2899 | if Debounces.on == false then break end | |
| 2900 | rs:wait() | |
| 2901 | end | |
| 2902 | con1=larm.Touched:connect(function(hit) -- this is grab | |
| 2903 | ht = hit.Parent | |
| 2904 | hum1=ht:FindFirstChild('Humanoid')
| |
| 2905 | if hum1 ~= nil then | |
| 2906 | if Debounces.ks==true then | |
| 2907 | z = Instance.new("Sound",hed)
| |
| 2908 | z.SoundId = "rbxassetid://169380525" | |
| 2909 | z.Volume = 1 | |
| 2910 | z:Play() | |
| 2911 | Debounces.ks=false | |
| 2912 | end | |
| 2913 | hum1.PlatformStand=true | |
| 2914 | gp = ht | |
| 2915 | Grab = true | |
| 2916 | asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0))
| |
| 2917 | asd.Parent = larm | |
| 2918 | asd.Name = "asd" | |
| 2919 | asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0) | |
| 2920 | --[[elseif hum1 == nil then | |
| 2921 | con1:disconnect() | |
| 2922 | wait() return]]-- | |
| 2923 | end | |
| 2924 | end) | |
| 2925 | for i = 1, 20 do | |
| 2926 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.2) | |
| 2927 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.2) | |
| 2928 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 2929 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
| 2930 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
| 2931 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2) | |
| 2932 | if Debounces.on == false then break end | |
| 2933 | rs:wait() | |
| 2934 | end | |
| 2935 | if hum1 == nil then | |
| 2936 | Debounces.on = false | |
| 2937 | Debounces.NoIdl = false | |
| 2938 | end | |
| 2939 | con1:disconnect() | |
| 2940 | elseif Grab == true then | |
| 2941 | Grab = false | |
| 2942 | Punch() | |
| 2943 | z = Instance.new("Sound",hed)
| |
| 2944 | z.SoundId = "rbxassetid://169380525" | |
| 2945 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2946 | z.Volume = 1 | |
| 2947 | z:Play() | |
| 2948 | for i = 1, 10 do | |
| 2949 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
| 2950 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
| 2951 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 2952 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 2953 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 2954 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 2955 | if Debounces.on == false then break end | |
| 2956 | rs:wait() | |
| 2957 | end | |
| 2958 | Punch() | |
| 2959 | z = Instance.new("Sound",hed)
| |
| 2960 | z.SoundId = "rbxassetid://169380525" | |
| 2961 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2962 | z.Volume = 1 | |
| 2963 | z:Play() | |
| 2964 | for i = 1, 10 do | |
| 2965 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
| 2966 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
| 2967 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 2968 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 2969 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 2970 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 2971 | if Debounces.on == false then break end | |
| 2972 | rs:wait() | |
| 2973 | end | |
| 2974 | Punch() | |
| 2975 | z = Instance.new("Sound",hed)
| |
| 2976 | z.SoundId = "rbxassetid://169380525" | |
| 2977 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2978 | z.Volume = 1 | |
| 2979 | z:Play() | |
| 2980 | for i = 1, 10 do | |
| 2981 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
| 2982 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
| 2983 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 2984 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 2985 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 2986 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 2987 | if Debounces.on == false then break end | |
| 2988 | rs:wait() | |
| 2989 | end | |
| 2990 | Punch() | |
| 2991 | z = Instance.new("Sound",hed)
| |
| 2992 | z.SoundId = "rbxassetid://169380525" | |
| 2993 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 2994 | z.Volume = 1 | |
| 2995 | z:Play() | |
| 2996 | for i = 1, 10 do | |
| 2997 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
| 2998 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
| 2999 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 3000 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 3001 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 3002 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 3003 | if Debounces.on == false then break end | |
| 3004 | rs:wait() | |
| 3005 | end | |
| 3006 | Punch() | |
| 3007 | z = Instance.new("Sound",hed)
| |
| 3008 | z.SoundId = "rbxassetid://169380525" | |
| 3009 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3010 | z.Volume = 1 | |
| 3011 | z:Play() | |
| 3012 | for i = 1, 10 do | |
| 3013 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
| 3014 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
| 3015 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 3016 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 3017 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 3018 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 3019 | if Debounces.on == false then break end | |
| 3020 | rs:wait() | |
| 3021 | end | |
| 3022 | Punch() | |
| 3023 | z = Instance.new("Sound",hed)
| |
| 3024 | z.SoundId = "rbxassetid://169380525" | |
| 3025 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3026 | z.Volume = 1 | |
| 3027 | z:Play() | |
| 3028 | for i = 1, 10 do | |
| 3029 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
| 3030 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
| 3031 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 3032 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 3033 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 3034 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 3035 | if Debounces.on == false then break end | |
| 3036 | rs:wait() | |
| 3037 | end | |
| 3038 | Punch() | |
| 3039 | z = Instance.new("Sound",hed)
| |
| 3040 | z.SoundId = "rbxassetid://169380525" | |
| 3041 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3042 | z.Volume = 1 | |
| 3043 | z:Play() | |
| 3044 | for i = 1, 10 do | |
| 3045 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
| 3046 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
| 3047 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 3048 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 3049 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 3050 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 3051 | if Debounces.on == false then break end | |
| 3052 | rs:wait() | |
| 3053 | end | |
| 3054 | Punch() | |
| 3055 | z = Instance.new("Sound",hed)
| |
| 3056 | z.SoundId = "rbxassetid://169380525" | |
| 3057 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3058 | z.Volume = 1 | |
| 3059 | z:Play() | |
| 3060 | for i = 1, 10 do | |
| 3061 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
| 3062 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
| 3063 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 3064 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 3065 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 3066 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 3067 | if Debounces.on == false then break end | |
| 3068 | rs:wait() | |
| 3069 | end | |
| 3070 | Punch() | |
| 3071 | z = Instance.new("Sound",hed)
| |
| 3072 | z.SoundId = "rbxassetid://169380525" | |
| 3073 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3074 | z.Volume = 1 | |
| 3075 | z:Play() | |
| 3076 | for i = 1, 10 do | |
| 3077 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
| 3078 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
| 3079 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 3080 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 3081 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 3082 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 3083 | if Debounces.on == false then break end | |
| 3084 | rs:wait() | |
| 3085 | end | |
| 3086 | Punch() | |
| 3087 | z = Instance.new("Sound",hed)
| |
| 3088 | z.SoundId = "rbxassetid://169380525" | |
| 3089 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3090 | z.Volume = 1 | |
| 3091 | z:Play() | |
| 3092 | for i = 1, 10 do | |
| 3093 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
| 3094 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
| 3095 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 3096 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 3097 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 3098 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 3099 | if Debounces.on == false then break end | |
| 3100 | rs:wait() | |
| 3101 | end | |
| 3102 | Punch() | |
| 3103 | z = Instance.new("Sound",hed)
| |
| 3104 | z.SoundId = "rbxassetid://169380525" | |
| 3105 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3106 | z.Volume = 1 | |
| 3107 | z:Play() | |
| 3108 | for i = 1, 10 do | |
| 3109 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
| 3110 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
| 3111 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 3112 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 3113 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 3114 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 3115 | if Debounces.on == false then break end | |
| 3116 | rs:wait() | |
| 3117 | end | |
| 3118 | Punch() | |
| 3119 | z = Instance.new("Sound",hed)
| |
| 3120 | z.SoundId = "rbxassetid://169380525" | |
| 3121 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3122 | z.Volume = 1 | |
| 3123 | z:Play() | |
| 3124 | for i = 1, 10 do | |
| 3125 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
| 3126 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
| 3127 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 3128 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 3129 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
| 3130 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
| 3131 | if Debounces.on == false then break end | |
| 3132 | rs:wait() | |
| 3133 | end | |
| 3134 | con1:disconnect() | |
| 3135 | Debounces.on = false | |
| 3136 | Debounces.NoIdl = false | |
| 3137 | if gp ~= nil then | |
| 3138 | gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140
| |
| 3139 | for i,v in pairs(larm:GetChildren()) do | |
| 3140 | if v.Name == "asd" and v:IsA("Weld") then
| |
| 3141 | v:Remove() | |
| 3142 | end | |
| 3143 | end | |
| 3144 | --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
| |
| 3145 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
| 3146 | bv.P = 125000 | |
| 3147 | bv.velocity = char.Head.CFrame.lookVector * 200]]-- | |
| 3148 | hum1=nil | |
| 3149 | ht=nil | |
| 3150 | Debounces.on = false | |
| 3151 | Debounces.NoIdl = false | |
| 3152 | elseif ht == nil then wait() | |
| 3153 | Grab = false | |
| 3154 | Debounces.on = false | |
| 3155 | Debounces.NoIdl = false | |
| 3156 | end | |
| 3157 | end | |
| 3158 | end | |
| 3159 | end) | |
| 3160 | ---------------------------------------------------- | |
| 3161 | mouse.KeyDown:connect(function(key) | |
| 3162 | if string.byte(key) == 52 then | |
| 3163 | char.Humanoid.WalkSpeed = 60 | |
| 3164 | end | |
| 3165 | end) | |
| 3166 | mouse.KeyUp:connect(function(key) | |
| 3167 | if string.byte(key) == 52 then | |
| 3168 | char.Humanoid.WalkSpeed = 8 | |
| 3169 | end | |
| 3170 | end) | |
| 3171 | ------------------------------- | |
| 3172 | local animpose = "Idle" | |
| 3173 | local lastanimpose = "Idle" | |
| 3174 | local sine = 0 | |
| 3175 | local change = 1 | |
| 3176 | local val = 0 | |
| 3177 | local ffing = false | |
| 3178 | ------------------------------- | |
| 3179 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 3180 | --[[if char.Humanoid.Jump == true then | |
| 3181 | jump = true | |
| 3182 | else | |
| 3183 | jump = false | |
| 3184 | end]] | |
| 3185 | char.Humanoid.FreeFalling:connect(function(f) | |
| 3186 | if f then | |
| 3187 | ffing = true | |
| 3188 | else | |
| 3189 | ffing = false | |
| 3190 | end | |
| 3191 | end) | |
| 3192 | sine = sine + change | |
| 3193 | if jumpn == true then | |
| 3194 | animpose = "Jumping" | |
| 3195 | elseif ffing == true then | |
| 3196 | animpose = "Freefalling" | |
| 3197 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
| 3198 | animpose = "Idle" | |
| 3199 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
| 3200 | animpose = "Walking" | |
| 3201 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
| 3202 | animpose = "Running" | |
| 3203 | end | |
| 3204 | if animpose ~= lastanimpose then | |
| 3205 | sine = 0 | |
| 3206 | if Debounces.NoIdl == false then | |
| 3207 | if animpose == "Idle" then | |
| 3208 | for i = 1, 2 do | |
| 3209 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
| 3210 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
| 3211 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
| 3212 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3213 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 3214 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 3215 | end | |
| 3216 | elseif animpose == "Walking" then | |
| 3217 | for i = 1, 2 do | |
| 3218 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
| 3219 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
| 3220 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
| 3221 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
| 3222 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
| 3223 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
| 3224 | end | |
| 3225 | elseif animpose == "Running" then | |
| 3226 | for i = 1, 2 do | |
| 3227 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2) | |
| 3228 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2) | |
| 3229 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4) | |
| 3230 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4) | |
| 3231 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4) | |
| 3232 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4) | |
| 3233 | wait() | |
| 3234 | end | |
| 3235 | end | |
| 3236 | else | |
| 3237 | end | |
| 3238 | end | |
| 3239 | lastanimpose = animpose | |
| 3240 | if Debounces.NoIdl == false then | |
| 3241 | if animpose == "Idle" then | |
| 3242 | change = 0.5 | |
| 3243 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8+2*math.cos(sine/14))), 0.4) | |
| 3244 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8-2*math.cos(sine/14))), 0.4) | |
| 3245 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
| 3246 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) | |
| 3247 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4) | |
| 3248 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4) | |
| 3249 | elseif animpose == "Walking" then | |
| 3250 | change = 1 | |
| 3251 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
| 3252 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
| 3253 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
| 3254 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
| 3255 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
| 3256 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
| 3257 | elseif animpose == "Running" then | |
| 3258 | change = 1 | |
| 3259 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2) | |
| 3260 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2) | |
| 3261 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4) | |
| 3262 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2) | |
| 3263 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4) | |
| 3264 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4) | |
| 3265 | end | |
| 3266 | end | |
| 3267 | end) | |
| 3268 | ||
| 3269 | hum.MaxHealth = 9001 | |
| 3270 | wait(3) | |
| 3271 | hum.Health = 9001 | |
| 3272 | ||
| 3273 | function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module | |
| 3274 | --[[Part0 = Vector3 (Start pos) | |
| 3275 | Part1 = Vector3 (End pos) | |
| 3276 | Times = number (Amount of lightning parts) | |
| 3277 | Offset = number (Offset) | |
| 3278 | Color = color (brickcolor value) | |
| 3279 | Thickness = number (thickness) | |
| 3280 | Trans = number (transparency) | |
| 3281 | ]]-- | |
| 3282 | local magz = (Part0 - Part1).magnitude | |
| 3283 | local curpos = Part0 | |
| 3284 | local trz = {-Offset,Offset}
| |
| 3285 | for i=1,Times do | |
| 3286 | local li = Instance.new("Part", torso)
| |
| 3287 | li.Name = "Lightning" | |
| 3288 | li.TopSurface =0 | |
| 3289 | li.Material = "Neon" | |
| 3290 | li.BottomSurface = 0 | |
| 3291 | li.Anchored = true | |
| 3292 | li.Locked = true | |
| 3293 | li.Transparency = Trans or 0.4 | |
| 3294 | li.BrickColor = BrickColor.new(Color) | |
| 3295 | li.formFactor = "Custom" | |
| 3296 | li.CanCollide = false | |
| 3297 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
| 3298 | local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
| 3299 | local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet | |
| 3300 | if Times == i then | |
| 3301 | local magz2 = (curpos - Part1).magnitude | |
| 3302 | li.Size = Vector3.new(Thickness,Thickness,magz2) | |
| 3303 | li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2) | |
| 3304 | else | |
| 3305 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
| 3306 | end | |
| 3307 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p | |
| 3308 | game.Debris:AddItem(li,.1) | |
| 3309 | end | |
| 3310 | end | |
| 3311 | ||
| 3312 | BodyParts = {} -- Parts to emit lightning effects from
| |
| 3313 | for _, v in pairs(char:GetChildren()) do | |
| 3314 | if v:IsA("Part") then
| |
| 3315 | table.insert(BodyParts, v) | |
| 3316 | end | |
| 3317 | end | |
| 3318 | ||
| 3319 | Bounding = {} -- Calculate the bounding boxes
| |
| 3320 | for _, v in pairs(BodyParts) do | |
| 3321 | local temp = {X=nil, Y=nil, Z=nil}
| |
| 3322 | temp.X = v.Size.X/2 * 10 | |
| 3323 | temp.Y = v.Size.Y/2 * 10 | |
| 3324 | temp.Z = v.Size.Z/2 * 10 | |
| 3325 | Bounding[v.Name] = temp | |
| 3326 | --table.insert(Bounding, v.Name, temp) | |
| 3327 | end | |
| 3328 | ||
| 3329 | while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly | |
| 3330 | local Body1 = BodyParts[math.random(#BodyParts)] | |
| 3331 | local Body2 = BodyParts[math.random(#BodyParts)] | |
| 3332 | local Pos1 = Vector3.new( | |
| 3333 | math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10, | |
| 3334 | math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10, | |
| 3335 | math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10 | |
| 3336 | ) | |
| 3337 | local Pos2 = Vector3.new( | |
| 3338 | math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10, | |
| 3339 | math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10, | |
| 3340 | math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10 | |
| 3341 | ) | |
| 3342 | local SPos1 = Body1.Position + Pos1 | |
| 3343 | local SPos2 = Body2.Position + Pos2 | |
| 3344 | Lightning(SPos1, SPos2, 4, 3, "Bright blue", .3, .56) | |
| 3345 | end |