SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 2 | local Player,game,owner = owner,game | |
| 3 | local RealPlayer = Player | |
| 4 | do | |
| 5 | print("FE Compatibility code by Mokiros")
| |
| 6 | local rp = RealPlayer | |
| 7 | script.Parent = rp.Character | |
| 8 | ||
| 9 | --RemoteEvent for communicating | |
| 10 | local Event = Instance.new("RemoteEvent")
| |
| 11 | Event.Name = "UserInput_Event" | |
| 12 | ||
| 13 | --Fake event to make stuff like Mouse.KeyDown work | |
| 14 | local function fakeEvent() | |
| 15 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
| |
| 16 | t.connect = t.Connect | |
| 17 | return t | |
| 18 | end | |
| 19 | ||
| 20 | --Creating fake input objects with fake variables | |
| 21 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 22 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 23 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 24 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 25 | end} | |
| 26 | --Merged 2 functions into one by checking amount of arguments | |
| 27 | CAS.UnbindAction = CAS.BindAction | |
| 28 | ||
| 29 | --This function will trigger the events that have been :Connect()'ed | |
| 30 | local function te(self,ev,...) | |
| 31 | local t = m[ev] | |
| 32 | if t and t._fakeEvent then | |
| 33 | for _,f in pairs(t.Functions) do | |
| 34 | f(...) | |
| 35 | end | |
| 36 | end | |
| 37 | end | |
| 38 | m.TrigEvent = te | |
| 39 | UIS.TrigEvent = te | |
| 40 | ||
| 41 | Event.OnServerEvent:Connect(function(plr,io) | |
| 42 | if plr~=rp then return end | |
| 43 | m.Target = io.Target | |
| 44 | m.Hit = io.Hit | |
| 45 | if not io.isMouse then | |
| 46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 49 | end | |
| 50 | for _,t in pairs(CAS.Actions) do | |
| 51 | for _,k in pairs(t.Keys) do | |
| 52 | if k==io.KeyCode then | |
| 53 | t.Function(t.Name,io.UserInputState,io) | |
| 54 | end | |
| 55 | end | |
| 56 | end | |
| 57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 59 | end | |
| 60 | end) | |
| 61 | Event.Parent = NLS([==[ | |
| 62 | local Player = game:GetService("Players").LocalPlayer
| |
| 63 | local Event = script:WaitForChild("UserInput_Event")
| |
| 64 | ||
| 65 | local Mouse = Player:GetMouse() | |
| 66 | local UIS = game:GetService("UserInputService")
| |
| 67 | local input = function(io,a) | |
| 68 | if a then return end | |
| 69 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 70 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
| |
| 71 | end | |
| 72 | UIS.InputBegan:Connect(input) | |
| 73 | UIS.InputEnded:Connect(input) | |
| 74 | ||
| 75 | local h,t | |
| 76 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 77 | --If player is not moving their mouse, client won't fire events | |
| 78 | while wait(1/30) do | |
| 79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 80 | h,t=Mouse.Hit,Mouse.Target | |
| 81 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 82 | end | |
| 83 | end]==],Player.Character) | |
| 84 | ||
| 85 | ----Sandboxed game object that allows the usage of client-side methods and services | |
| 86 | --Real game object | |
| 87 | local _rg = game | |
| 88 | ||
| 89 | --Metatable for fake service | |
| 90 | local fsmt = {
| |
| 91 | __index = function(self,k) | |
| 92 | local s = rawget(self,"_RealService") | |
| 93 | if s then return s[k] end | |
| 94 | end, | |
| 95 | __newindex = function(self,k,v) | |
| 96 | local s = rawget(self,"_RealService") | |
| 97 | if s then s[k]=v end | |
| 98 | end, | |
| 99 | __call = function(self,...) | |
| 100 | local s = rawget(self,"_RealService") | |
| 101 | if s then return s(...) end | |
| 102 | end | |
| 103 | } | |
| 104 | local function FakeService(t,RealService) | |
| 105 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
| 106 | return setmetatable(t,fsmt) | |
| 107 | end | |
| 108 | ||
| 109 | --Fake game object | |
| 110 | local g = {
| |
| 111 | GetService = function(self,s) | |
| 112 | return self[s] | |
| 113 | end, | |
| 114 | Players = FakeService({
| |
| 115 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
| |
| 116 | },"Players"), | |
| 117 | UserInputService = FakeService(UIS,"UserInputService"), | |
| 118 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
| 119 | } | |
| 120 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
| 121 | g.service = g.GetService | |
| 122 | ||
| 123 | g.RunService = FakeService({
| |
| 124 | RenderStepped = _rg:GetService("RunService").Heartbeat,
| |
| 125 | BindToRenderStep = function(self,name,_,fun) | |
| 126 | ||
| 127 | end, | |
| 128 | UnbindFromRenderStep = function(self,name) | |
| 129 | self._btrs[name]:Disconnect() | |
| 130 | end, | |
| 131 | },"RunService") | |
| 132 | ||
| 133 | setmetatable(g,{
| |
| 134 | __index=function(self,s) | |
| 135 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
| 136 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
| 137 | end, | |
| 138 | __newindex = fsmt.__newindex, | |
| 139 | __call = fsmt.__call | |
| 140 | }) | |
| 141 | --Changing owner to fake player object to support owner:GetMouse() | |
| 142 | game,owner = g,g.Players.LocalPlayer | |
| 143 | end | |
| 144 | ||
| 145 | -- Gaster <3 | |
| 146 | -- Cancer That Isnt Cancer (Or Maybe Its Double Cancer o>o) | |
| 147 | ||
| 148 | function rainb(hue) | |
| 149 | local section = hue % 1 * 3 | |
| 150 | local secondary = 0.5 * math.pi * (section % 1) | |
| 151 | if section < 1 then | |
| 152 | return Vector3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary)) | |
| 153 | elseif section < 2 then | |
| 154 | return Vector3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary)) | |
| 155 | else | |
| 156 | return Vector3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1) | |
| 157 | end | |
| 158 | end | |
| 159 | local function a() | |
| 160 | local t=tick(); | |
| 161 | local l=t%1*3; | |
| 162 | local t=.5*math.pi*(l%1); | |
| 163 | if l<1 then | |
| 164 | return Color3.new(1,1-math.cos(t),1-math.sin(t)); | |
| 165 | elseif l<2 then | |
| 166 | return Color3.new(1-math.sin(t),1,1-math.cos(t)); | |
| 167 | else | |
| 168 | return Color3.new(1-math.cos(t),1-math.sin(t),1); | |
| 169 | end; | |
| 170 | end; | |
| 171 | local p = game.Players.LocalPlayer | |
| 172 | local char = p.Character | |
| 173 | local mouse = p:GetMouse() | |
| 174 | local larm = char["Left Arm"] | |
| 175 | local rarm = char["Right Arm"] | |
| 176 | local lleg = char["Left Leg"] | |
| 177 | local rleg = char["Right Leg"] | |
| 178 | local hed = char.Head | |
| 179 | local torso = char.Torso | |
| 180 | charge = Instance.new("Sound", torso)
| |
| 181 | charge.SoundId = "http://www.roblox.com/asset/?id=403173423" | |
| 182 | charge.Volume = 1 | |
| 183 | charge.Pitch = 1 | |
| 184 | charge.Looped = false | |
| 185 | wait(0.01) | |
| 186 | charge:Play() | |
| 187 | local hum = char.Humanoid | |
| 188 | local cam = game.Workspace.CurrentCamera | |
| 189 | local root = char.HumanoidRootPart | |
| 190 | local deb = false | |
| 191 | local shot = 0 | |
| 192 | local debris=game:service"Debris" | |
| 193 | local l = game:GetService("Lighting")
| |
| 194 | local rs = game:GetService("RunService").RenderStepped
| |
| 195 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
| |
| 196 | math.randomseed(os.time()) | |
| 197 | ||
| 198 | for i,v in pairs(char:children()) do | |
| 199 | if v:IsA("Hat") then
| |
| 200 | v:Destroy() | |
| 201 | end | |
| 202 | end | |
| 203 | ||
| 204 | for i,v in pairs (hed:GetChildren()) do | |
| 205 | if v:IsA("Sound") then
| |
| 206 | v:Destroy() | |
| 207 | end | |
| 208 | end | |
| 209 | ---------------------------------------------------- | |
| 210 | Debounces = {
| |
| 211 | CanAttack = true; | |
| 212 | NoIdl = false; | |
| 213 | Slashing = false; | |
| 214 | Slashed = false; | |
| 215 | RPunch = false; | |
| 216 | RPunched = false; | |
| 217 | LPunch = false; | |
| 218 | LPunched = false; | |
| 219 | } | |
| 220 | local Touche = {char.Name, }
| |
| 221 | ---------------------------------------------------- | |
| 222 | --hed.face.Texture = "rbxassetid://34668268" | |
| 223 | char["Body Colors"].HeadColor = BrickColor.new("White")
| |
| 224 | char["Body Colors"].TorsoColor = BrickColor.new("White")
| |
| 225 | char["Body Colors"].LeftArmColor = BrickColor.new("White")
| |
| 226 | char["Body Colors"].RightArmColor = BrickColor.new("White")
| |
| 227 | char["Body Colors"].LeftLegColor = BrickColor.new("White")
| |
| 228 | char["Body Colors"].RightLegColor = BrickColor.new("White")
| |
| 229 | ---------------------------------------------------- | |
| 230 | ypcall(function() | |
| 231 | char.Shirt:Destroy() | |
| 232 | char.Pants:Destroy() | |
| 233 | shirt = Instance.new("Shirt", char)
| |
| 234 | shirt.Name = "Shirt" | |
| 235 | pants = Instance.new("Pants", char)
| |
| 236 | pants.Name = "Pants" | |
| 237 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=331672627" --"http://www.roblox.com/asset/?id=392184477" | |
| 238 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=331672672" --"http://www.roblox.com/asset/?id=392184507" | |
| 239 | end) | |
| 240 | ---------------------------------------------------- | |
| 241 | function lerp(a, b, t) -- Linear interpolation | |
| 242 | return a + (b - a)*t | |
| 243 | end | |
| 244 | ||
| 245 | function slerp(a, b, t) --Spherical interpolation | |
| 246 | dot = a:Dot(b) | |
| 247 | if dot > 0.99999 or dot < -0.99999 then | |
| 248 | return t <= 0.5 and a or b | |
| 249 | else | |
| 250 | r = math.acos(dot) | |
| 251 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
| 252 | end | |
| 253 | end | |
| 254 | ||
| 255 | function matrixInterpolate(a, b, t) | |
| 256 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
| 257 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
| 258 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
| 259 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
| 260 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
| 261 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
| 262 | local t = v1:Dot(v2) | |
| 263 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
| 264 | return CFrame.new() | |
| 265 | end | |
| 266 | return CFrame.new( | |
| 267 | v0.x, v0.y, v0.z, | |
| 268 | v1.x, v1.y, v1.z, | |
| 269 | v2.x, v2.y, v2.z, | |
| 270 | v3.x, v3.y, v3.z) | |
| 271 | end | |
| 272 | ---------------------------------------------------- | |
| 273 | function genWeld(a,b) | |
| 274 | local w = Instance.new("Weld",a)
| |
| 275 | w.Part0 = a | |
| 276 | w.Part1 = b | |
| 277 | return w | |
| 278 | end | |
| 279 | function weld(a, b) | |
| 280 | local weld = Instance.new("Weld")
| |
| 281 | weld.Name = "W" | |
| 282 | weld.Part0 = a | |
| 283 | weld.Part1 = b | |
| 284 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 285 | weld.Parent = a | |
| 286 | return weld; | |
| 287 | end | |
| 288 | ---------------------------------------------------- | |
| 289 | function Lerp(c1,c2,al) | |
| 290 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 291 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 292 | for i,v in pairs(com1) do | |
| 293 | com1[i] = v+(com2[i]-v)*al | |
| 294 | end | |
| 295 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 296 | end | |
| 297 | ---------------------------------------------------- | |
| 298 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
| 299 | local wld = Instance.new("Weld", wp1)
| |
| 300 | wld.Part0 = wp0 | |
| 301 | wld.Part1 = wp1 | |
| 302 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 303 | end | |
| 304 | ---------------------------------------------------- | |
| 305 | function weld5(part0, part1, c0, c1) | |
| 306 | weeld=Instance.new("Weld", part0)
| |
| 307 | weeld.Part0=part0 | |
| 308 | weeld.Part1=part1 | |
| 309 | weeld.C0=c0 | |
| 310 | weeld.C1=c1 | |
| 311 | return weeld | |
| 312 | end | |
| 313 | ---------------------------------------------------- | |
| 314 | function HasntTouched(plrname) | |
| 315 | local ret = true | |
| 316 | for _, v in pairs(Touche) do | |
| 317 | if v == plrname then | |
| 318 | ret = false | |
| 319 | end | |
| 320 | end | |
| 321 | return ret | |
| 322 | end | |
| 323 | ---------------------------------------------------- | |
| 324 | newWeld(torso, larm, -1.5, 0.5, 0) | |
| 325 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 326 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
| 327 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 328 | newWeld(torso, hed, 0, 1.5, 0) | |
| 329 | newWeld(torso, lleg, -0.5, -1, 0) | |
| 330 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 331 | newWeld(torso, rleg, 0.5, -1, 0) | |
| 332 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 333 | newWeld(root, torso, 0, -1, 0) | |
| 334 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 335 | ---------------------------------------------------- | |
| 336 | z = Instance.new("Sound", char)
| |
| 337 | z.SoundId = "rbxassetid://0000" --303570180 --306372823 | |
| 338 | z.Looped = true | |
| 339 | z.Pitch = 1 | |
| 340 | z.Volume = 1 | |
| 341 | wait(.1) | |
| 342 | z:Play() | |
| 343 | ---------------------------------------------------- | |
| 344 | --[[local Transforming = true | |
| 345 | hum.WalkSpeed = 0 | |
| 346 | local fx = Instance.new("Part",torso)
| |
| 347 | fx.Anchored = true | |
| 348 | fx.Material = "Neon" | |
| 349 | fx.CanCollide = false | |
| 350 | fx.Locked = true | |
| 351 | fx.Transparency = 1 | |
| 352 | fx.Material = "SmoothPlastic" | |
| 353 | fx.Size = Vector3.new(1,1,1) | |
| 354 | fx.TopSurface = "SmoothNoOutlines" | |
| 355 | fx.BottomSurface = "SmoothNoOutlines" | |
| 356 | fx.BrickColor = BrickColor.new("Eggplant")
| |
| 357 | fxm = Instance.new("SpecialMesh",fx)
| |
| 358 | fxm.MeshType = "Sphere" | |
| 359 | fxm.Scale = Vector3.new(1,1,1) | |
| 360 | for i = 1, 20 do rs:wait() | |
| 361 | fx.Transparency = fx.Transparency - (1/20) | |
| 362 | fx.CFrame = torso.CFrame | |
| 363 | fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5) | |
| 364 | rs:wait() | |
| 365 | end ]] | |
| 366 | ---------------------------------------------------- | |
| 367 | local m = Instance.new("Model")
| |
| 368 | m.Name = "Hair" | |
| 369 | --[[p1 = Instance.new("Part", m)
| |
| 370 | p1.BrickColor = BrickColor.new("White")
| |
| 371 | p1.FormFactor = Enum.FormFactor.Symmetric | |
| 372 | p1.Size = Vector3.new(1, 1, 1) | |
| 373 | 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) | |
| 374 | p1.CanCollide = false | |
| 375 | p1.Locked = true | |
| 376 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
| 377 | p1.TopSurface = Enum.SurfaceType.Smooth | |
| 378 | b1 = Instance.new("SpecialMesh", p1)
| |
| 379 | b1.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 380 | b1.TextureId = "" | |
| 381 | b1.MeshType = Enum.MeshType.FileMesh | |
| 382 | b1.Name = "Mesh" | |
| 383 | b1.VertexColor = Vector3.new(0, 0, 0) | |
| 384 | b1.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
| 385 | p2 = Instance.new("Part", m)
| |
| 386 | p2.BrickColor = BrickColor.new("Pastel brown")
| |
| 387 | p2.Transparency = 1 | |
| 388 | p2.Name = "Head" | |
| 389 | p2.FormFactor = Enum.FormFactor.Symmetric | |
| 390 | p2.Size = Vector3.new(2, 1, 1) | |
| 391 | 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) | |
| 392 | p2.CanCollide = false | |
| 393 | p2.Locked = true | |
| 394 | p2.TopSurface = Enum.SurfaceType.Smooth | |
| 395 | b2 = Instance.new("SpecialMesh", p2)
| |
| 396 | b2.MeshType = Enum.MeshType.Head | |
| 397 | b2.Name = "Mesh" | |
| 398 | b2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 399 | p3 = Instance.new("Part", m)
| |
| 400 | p3.BrickColor = BrickColor.new("White")
| |
| 401 | p3.FormFactor = Enum.FormFactor.Symmetric | |
| 402 | p3.Size = Vector3.new(2, 2, 2) | |
| 403 | 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) | |
| 404 | p3.CanCollide = false | |
| 405 | p3.Locked = true | |
| 406 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
| 407 | p3.TopSurface = Enum.SurfaceType.Smooth | |
| 408 | b3 = Instance.new("SpecialMesh", p3)
| |
| 409 | b3.MeshId = "http://www.roblox.com/asset/?id=16627529" | |
| 410 | b3.TextureId = "" | |
| 411 | b3.MeshType = Enum.MeshType.FileMesh | |
| 412 | b3.Name = "Mesh" | |
| 413 | b3.VertexColor = Vector3.new(0, 0, 0) | |
| 414 | b3.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995) | |
| 415 | p4 = Instance.new("Part", m)
| |
| 416 | p4.BrickColor = BrickColor.new("White")
| |
| 417 | p4.FormFactor = Enum.FormFactor.Symmetric | |
| 418 | p4.Size = Vector3.new(1, 1, 1) | |
| 419 | 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) | |
| 420 | p4.CanCollide = false | |
| 421 | p4.Locked = true | |
| 422 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
| 423 | p4.TopSurface = Enum.SurfaceType.Smooth | |
| 424 | b4 = Instance.new("SpecialMesh", p4)
| |
| 425 | b4.MeshId = "http://www.roblox.com/asset/?id=19326912" | |
| 426 | b4.TextureId = "" | |
| 427 | b4.MeshType = Enum.MeshType.FileMesh | |
| 428 | b4.Name = "Mesh" | |
| 429 | b4.VertexColor = Vector3.new(0, 0, 0) | |
| 430 | p5 = Instance.new("Part", m)
| |
| 431 | p5.BrickColor = BrickColor.new("White")
| |
| 432 | p5.FormFactor = Enum.FormFactor.Symmetric | |
| 433 | p5.Size = Vector3.new(1, 1, 1) | |
| 434 | 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) | |
| 435 | p5.CanCollide = false | |
| 436 | p5.Locked = true | |
| 437 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
| 438 | p5.TopSurface = Enum.SurfaceType.Smooth | |
| 439 | b5 = Instance.new("SpecialMesh", p5)
| |
| 440 | b5.MeshId = "http://www.roblox.com/asset/?id=45916884" | |
| 441 | b5.TextureId = "" | |
| 442 | b5.MeshType = Enum.MeshType.FileMesh | |
| 443 | b5.Name = "Mesh" | |
| 444 | b5.VertexColor = Vector3.new(0, 0, 0) | |
| 445 | b5.Scale = Vector3.new(1, 0.899999976, 1) | |
| 446 | p6 = Instance.new("Part", m)
| |
| 447 | p6.BrickColor = BrickColor.new("White")
| |
| 448 | p6.FormFactor = Enum.FormFactor.Symmetric | |
| 449 | p6.Size = Vector3.new(1, 1, 1) | |
| 450 | 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) | |
| 451 | p6.CanCollide = false | |
| 452 | p6.Locked = true | |
| 453 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
| 454 | p6.TopSurface = Enum.SurfaceType.Smooth | |
| 455 | b6 = Instance.new("SpecialMesh", p6)
| |
| 456 | b6.MeshId = "http://www.roblox.com/asset/?id=62246019" | |
| 457 | b6.TextureId = "" | |
| 458 | b6.MeshType = Enum.MeshType.FileMesh | |
| 459 | b6.Name = "Mesh" | |
| 460 | b6.VertexColor = Vector3.new(0, 0, 0) | |
| 461 | p7 = Instance.new("Part", m)
| |
| 462 | p7.BrickColor = BrickColor.new("White")
| |
| 463 | p7.FormFactor = Enum.FormFactor.Symmetric | |
| 464 | p7.Size = Vector3.new(1, 1, 1) | |
| 465 | 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) | |
| 466 | p7.CanCollide = false | |
| 467 | p7.Locked = true | |
| 468 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
| 469 | p7.TopSurface = Enum.SurfaceType.Smooth | |
| 470 | b7 = Instance.new("SpecialMesh", p7)
| |
| 471 | b7.MeshId = "http://www.roblox.com/asset/?id=76056263" | |
| 472 | b7.TextureId = "" | |
| 473 | b7.MeshType = Enum.MeshType.FileMesh | |
| 474 | b7.Name = "Mesh" | |
| 475 | b7.VertexColor = Vector3.new(0, 0, 0) | |
| 476 | p8 = Instance.new("Part", m)
| |
| 477 | p8.BrickColor = BrickColor.new("White")
| |
| 478 | p8.FormFactor = Enum.FormFactor.Symmetric | |
| 479 | p8.Size = Vector3.new(1, 1, 1) | |
| 480 | 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) | |
| 481 | p8.CanCollide = false | |
| 482 | p8.Locked = true | |
| 483 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
| 484 | p8.TopSurface = Enum.SurfaceType.Smooth | |
| 485 | b8 = Instance.new("SpecialMesh", p8)
| |
| 486 | b8.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 487 | b8.TextureId = "" | |
| 488 | b8.MeshType = Enum.MeshType.FileMesh | |
| 489 | b8.Name = "Mesh" | |
| 490 | b8.VertexColor = Vector3.new(0, 0, 0) | |
| 491 | b8.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
| 492 | p9 = Instance.new("Part", m)
| |
| 493 | p9.BrickColor = BrickColor.new("White")
| |
| 494 | p9.FormFactor = Enum.FormFactor.Symmetric | |
| 495 | p9.Size = Vector3.new(2, 1, 2) | |
| 496 | 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) | |
| 497 | p9.CanCollide = false | |
| 498 | p9.Locked = true | |
| 499 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
| 500 | p9.TopSurface = Enum.SurfaceType.Smooth | |
| 501 | b9 = Instance.new("SpecialMesh", p9)
| |
| 502 | b9.MeshId = "http://www.roblox.com/asset/?id=12259089" | |
| 503 | b9.TextureId = "" | |
| 504 | b9.MeshType = Enum.MeshType.FileMesh | |
| 505 | b9.Name = "Mesh" | |
| 506 | b9.VertexColor = Vector3.new(0, 0, 0) | |
| 507 | b9.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995) | |
| 508 | p10 = Instance.new("Part", m)
| |
| 509 | p10.BrickColor = BrickColor.new("White")
| |
| 510 | p10.FormFactor = Enum.FormFactor.Symmetric | |
| 511 | p10.Size = Vector3.new(1, 1, 1) | |
| 512 | 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) | |
| 513 | p10.CanCollide = false | |
| 514 | p10.Locked = true | |
| 515 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
| 516 | p10.TopSurface = Enum.SurfaceType.Smooth | |
| 517 | b10 = Instance.new("SpecialMesh", p10)
| |
| 518 | b10.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 519 | b10.TextureId = "" | |
| 520 | b10.MeshType = Enum.MeshType.FileMesh | |
| 521 | b10.Name = "Mesh" | |
| 522 | b10.VertexColor = Vector3.new(0, 0, 0) | |
| 523 | b10.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
| 524 | p11 = Instance.new("Part", m)
| |
| 525 | p11.BrickColor = BrickColor.new("White")
| |
| 526 | p11.FormFactor = Enum.FormFactor.Symmetric | |
| 527 | p11.Size = Vector3.new(1, 1, 1) | |
| 528 | 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) | |
| 529 | p11.CanCollide = false | |
| 530 | p11.Locked = true | |
| 531 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
| 532 | p11.TopSurface = Enum.SurfaceType.Smooth | |
| 533 | b11 = Instance.new("SpecialMesh", p11)
| |
| 534 | b11.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 535 | b11.TextureId = "" | |
| 536 | b11.MeshType = Enum.MeshType.FileMesh | |
| 537 | b11.Name = "Mesh" | |
| 538 | b11.VertexColor = Vector3.new(0, 0, 0) | |
| 539 | b11.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
| 540 | p12 = Instance.new("Part", m)
| |
| 541 | p12.BrickColor = BrickColor.new("White")
| |
| 542 | p12.FormFactor = Enum.FormFactor.Custom | |
| 543 | p12.Size = Vector3.new(1, 3.5, 1) | |
| 544 | 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) | |
| 545 | p12.CanCollide = false | |
| 546 | p12.Locked = true | |
| 547 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
| 548 | p12.TopSurface = Enum.SurfaceType.Smooth | |
| 549 | b12 = Instance.new("SpecialMesh", p12)
| |
| 550 | b12.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 551 | b12.TextureId = "" | |
| 552 | b12.MeshType = Enum.MeshType.FileMesh | |
| 553 | b12.Name = "Mesh" | |
| 554 | b12.VertexColor = Vector3.new(0, 0, 0) | |
| 555 | b12.Scale = Vector3.new(1, 3, 1.29999995) | |
| 556 | p13 = Instance.new("Part", m)
| |
| 557 | p13.BrickColor = BrickColor.new("White")
| |
| 558 | p13.FormFactor = Enum.FormFactor.Custom | |
| 559 | p13.Size = Vector3.new(1, 2, 1) | |
| 560 | 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) | |
| 561 | p13.CanCollide = false | |
| 562 | p13.Locked = true | |
| 563 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
| 564 | p13.TopSurface = Enum.SurfaceType.Smooth | |
| 565 | b13 = Instance.new("SpecialMesh", p13)
| |
| 566 | b13.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 567 | b13.TextureId = "" | |
| 568 | b13.MeshType = Enum.MeshType.FileMesh | |
| 569 | b13.Name = "Mesh" | |
| 570 | b13.VertexColor = Vector3.new(0, 0, 0) | |
| 571 | b13.Scale = Vector3.new(1, 3, 1.29999995) | |
| 572 | p14 = Instance.new("Part", m)
| |
| 573 | p14.BrickColor = BrickColor.new("White")
| |
| 574 | p14.FormFactor = Enum.FormFactor.Custom | |
| 575 | p14.Size = Vector3.new(1, 2, 1) | |
| 576 | 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) | |
| 577 | p14.CanCollide = false | |
| 578 | p14.Locked = true | |
| 579 | p14.BottomSurface = Enum.SurfaceType.Smooth | |
| 580 | p14.TopSurface = Enum.SurfaceType.Smooth | |
| 581 | b14 = Instance.new("SpecialMesh", p14)
| |
| 582 | b14.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 583 | b14.TextureId = "" | |
| 584 | b14.MeshType = Enum.MeshType.FileMesh | |
| 585 | b14.Name = "Mesh" | |
| 586 | b14.VertexColor = Vector3.new(0, 0, 0) | |
| 587 | b14.Scale = Vector3.new(1, 3, 1.29999995) | |
| 588 | p15 = Instance.new("Part", m)
| |
| 589 | p15.BrickColor = BrickColor.new("White")
| |
| 590 | p15.FormFactor = Enum.FormFactor.Custom | |
| 591 | p15.Size = Vector3.new(1, 2.5, 1) | |
| 592 | 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) | |
| 593 | p15.CanCollide = false | |
| 594 | p15.Locked = true | |
| 595 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
| 596 | p15.TopSurface = Enum.SurfaceType.Smooth | |
| 597 | b15 = Instance.new("SpecialMesh", p15)
| |
| 598 | b15.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 599 | b15.TextureId = "" | |
| 600 | b15.MeshType = Enum.MeshType.FileMesh | |
| 601 | b15.Name = "Mesh" | |
| 602 | b15.VertexColor = Vector3.new(0, 0, 0) | |
| 603 | b15.Scale = Vector3.new(1, 3, 1.29999995) | |
| 604 | p16 = Instance.new("Part", m)
| |
| 605 | p16.BrickColor = BrickColor.new("White")
| |
| 606 | p16.FormFactor = Enum.FormFactor.Custom | |
| 607 | p16.Size = Vector3.new(1, 2.5, 1) | |
| 608 | 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) | |
| 609 | p16.CanCollide = false | |
| 610 | p16.Locked = true | |
| 611 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
| 612 | p16.TopSurface = Enum.SurfaceType.Smooth | |
| 613 | b16 = Instance.new("SpecialMesh", p16)
| |
| 614 | b16.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 615 | b16.TextureId = "" | |
| 616 | b16.MeshType = Enum.MeshType.FileMesh | |
| 617 | b16.Name = "Mesh" | |
| 618 | b16.VertexColor = Vector3.new(0, 0, 0) | |
| 619 | b16.Scale = Vector3.new(1, 3, 1.29999995) | |
| 620 | p17 = Instance.new("Part", m)
| |
| 621 | p17.BrickColor = BrickColor.new("White")
| |
| 622 | p17.FormFactor = Enum.FormFactor.Custom | |
| 623 | p17.Size = Vector3.new(1, 2.4000001, 1) | |
| 624 | 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) | |
| 625 | p17.CanCollide = false | |
| 626 | p17.Locked = true | |
| 627 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
| 628 | p17.TopSurface = Enum.SurfaceType.Smooth | |
| 629 | b17 = Instance.new("SpecialMesh", p17)
| |
| 630 | b17.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 631 | b17.TextureId = "" | |
| 632 | b17.MeshType = Enum.MeshType.FileMesh | |
| 633 | b17.Name = "Mesh" | |
| 634 | b17.VertexColor = Vector3.new(0, 0, 0) | |
| 635 | b17.Scale = Vector3.new(1, 3, 1.29999995) | |
| 636 | p18 = Instance.new("Part", m)
| |
| 637 | p18.BrickColor = BrickColor.new("White")
| |
| 638 | p18.FormFactor = Enum.FormFactor.Custom | |
| 639 | p18.Size = Vector3.new(2, 2, 2) | |
| 640 | 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) | |
| 641 | p18.CanCollide = false | |
| 642 | p18.Locked = true | |
| 643 | p18.BottomSurface = Enum.SurfaceType.Smooth | |
| 644 | p18.TopSurface = Enum.SurfaceType.Smooth | |
| 645 | b18 = Instance.new("SpecialMesh", p18)
| |
| 646 | b18.MeshId = "http://www.roblox.com/asset/?id=16627529" | |
| 647 | b18.TextureId = "" | |
| 648 | b18.MeshType = Enum.MeshType.FileMesh | |
| 649 | b18.Name = "Mesh" | |
| 650 | b18.VertexColor = Vector3.new(0, 0, 0) | |
| 651 | b18.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995) | |
| 652 | w1 = Instance.new("Weld", p1)
| |
| 653 | w1.Name = "Head_Weld" | |
| 654 | w1.Part0 = p1 | |
| 655 | 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) | |
| 656 | w1.Part1 = p2 | |
| 657 | 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) | |
| 658 | w2 = Instance.new("Weld", p2)
| |
| 659 | w2.Name = "Part_Weld" | |
| 660 | w2.Part0 = p2 | |
| 661 | 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) | |
| 662 | w2.Part1 = p3 | |
| 663 | 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) | |
| 664 | w3 = Instance.new("Weld", p3)
| |
| 665 | w3.Name = "Part_Weld" | |
| 666 | w3.Part0 = p3 | |
| 667 | 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) | |
| 668 | w3.Part1 = p4 | |
| 669 | 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) | |
| 670 | w4 = Instance.new("Weld", p4)
| |
| 671 | w4.Name = "Part_Weld" | |
| 672 | w4.Part0 = p4 | |
| 673 | 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) | |
| 674 | w4.Part1 = p5 | |
| 675 | 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) | |
| 676 | w5 = Instance.new("Weld", p5)
| |
| 677 | w5.Name = "Part_Weld" | |
| 678 | w5.Part0 = p5 | |
| 679 | 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) | |
| 680 | w5.Part1 = p6 | |
| 681 | 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) | |
| 682 | w6 = Instance.new("Weld", p6)
| |
| 683 | w6.Name = "Part_Weld" | |
| 684 | w6.Part0 = p6 | |
| 685 | 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) | |
| 686 | w6.Part1 = p7 | |
| 687 | 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) | |
| 688 | w7 = Instance.new("Weld", p7)
| |
| 689 | w7.Name = "Part_Weld" | |
| 690 | w7.Part0 = p7 | |
| 691 | 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) | |
| 692 | w7.Part1 = p8 | |
| 693 | 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) | |
| 694 | w8 = Instance.new("Weld", p8)
| |
| 695 | w8.Name = "Part_Weld" | |
| 696 | w8.Part0 = p8 | |
| 697 | 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) | |
| 698 | w8.Part1 = p9 | |
| 699 | 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) | |
| 700 | w9 = Instance.new("Weld", p9)
| |
| 701 | w9.Name = "Part_Weld" | |
| 702 | w9.Part0 = p9 | |
| 703 | 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) | |
| 704 | w9.Part1 = p10 | |
| 705 | 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) | |
| 706 | w10 = Instance.new("Weld", p10)
| |
| 707 | w10.Name = "Part_Weld" | |
| 708 | w10.Part0 = p10 | |
| 709 | 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) | |
| 710 | w10.Part1 = p11 | |
| 711 | 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) | |
| 712 | w11 = Instance.new("Weld", p11)
| |
| 713 | w11.Name = "Part_Weld" | |
| 714 | w11.Part0 = p11 | |
| 715 | 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) | |
| 716 | w11.Part1 = p12 | |
| 717 | 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) | |
| 718 | w12 = Instance.new("Weld", p12)
| |
| 719 | w12.Name = "Part_Weld" | |
| 720 | w12.Part0 = p12 | |
| 721 | 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) | |
| 722 | w12.Part1 = p13 | |
| 723 | 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) | |
| 724 | w13 = Instance.new("Weld", p13)
| |
| 725 | w13.Name = "Part_Weld" | |
| 726 | w13.Part0 = p13 | |
| 727 | 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) | |
| 728 | w13.Part1 = p14 | |
| 729 | 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) | |
| 730 | w14 = Instance.new("Weld", p14)
| |
| 731 | w14.Name = "Part_Weld" | |
| 732 | w14.Part0 = p14 | |
| 733 | 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) | |
| 734 | w14.Part1 = p15 | |
| 735 | 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) | |
| 736 | w15 = Instance.new("Weld", p15)
| |
| 737 | w15.Name = "Part_Weld" | |
| 738 | w15.Part0 = p15 | |
| 739 | 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) | |
| 740 | w15.Part1 = p16 | |
| 741 | 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) | |
| 742 | w16 = Instance.new("Weld", p16)
| |
| 743 | w16.Name = "Part_Weld" | |
| 744 | w16.Part0 = p16 | |
| 745 | 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) | |
| 746 | w16.Part1 = p17 | |
| 747 | 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) | |
| 748 | w17 = Instance.new("Weld", p17)
| |
| 749 | w17.Name = "Part_Weld" | |
| 750 | w17.Part0 = p17 | |
| 751 | 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) | |
| 752 | w17.Part1 = p18 | |
| 753 | 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) ]] | |
| 754 | ||
| 755 | p1 = Instance.new("Part", m)
| |
| 756 | p1.BrickColor = BrickColor.new("Institutional white")
| |
| 757 | p1.FormFactor = Enum.FormFactor.Symmetric | |
| 758 | p1.Size = Vector3.new(1, 1, 1) | |
| 759 | p1.CFrame = CFrame.new(12.5095692, 22.9280014, 28.5988674, -1.79592973e-007, -0.978694081, 0.205298647, -1.48348063e-008, -0.205299929, -0.978699148, 0.999994814, 2.38417414e-007, -2.98021181e-008) | |
| 760 | p1.CanCollide = false | |
| 761 | p1.Locked = true | |
| 762 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
| 763 | p1.TopSurface = Enum.SurfaceType.Smooth | |
| 764 | b1 = Instance.new("SpecialMesh", p1)
| |
| 765 | b1.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 766 | b1.TextureId = "" | |
| 767 | b1.MeshType = Enum.MeshType.FileMesh | |
| 768 | b1.Name = "Mesh" | |
| 769 | b1.VertexColor = Vector3.new(0, 0, 0) | |
| 770 | b1.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
| 771 | p2 = Instance.new("Part", m)
| |
| 772 | p2.BrickColor = BrickColor.new("Pastel brown")
| |
| 773 | p2.Transparency = 1 | |
| 774 | p2.Name = "Head" | |
| 775 | p2.FormFactor = Enum.FormFactor.Symmetric | |
| 776 | p2.Size = Vector3.new(2, 1, 1) | |
| 777 | p2.CFrame = CFrame.new(13.299921, 22.8300076, 28.5998688, -1.19988712e-007, 8.94068393e-008, -0.999995589, -1.48348125e-008, 1, -8.94068108e-008, 0.999995589, -1.48348231e-008, 2.39197504e-007) | |
| 778 | p2.CanCollide = false | |
| 779 | p2.Locked = true | |
| 780 | p2.TopSurface = Enum.SurfaceType.Smooth | |
| 781 | b2 = Instance.new("SpecialMesh", p2)
| |
| 782 | b2.MeshType = Enum.MeshType.Head | |
| 783 | b2.Name = "Mesh" | |
| 784 | b2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 785 | p3 = Instance.new("Part", m)
| |
| 786 | p3.BrickColor = BrickColor.new("Institutional white")
| |
| 787 | p3.FormFactor = Enum.FormFactor.Symmetric | |
| 788 | p3.Size = Vector3.new(2, 2, 2) | |
| 789 | p3.CFrame = CFrame.new(13.2999649, 23.4000015, 28.5999584, -1.19728938e-007, 5.96046092e-008, -0.999997199, -9.88988447e-009, 1, -5.96045844e-008, 0.999997199, -9.88988802e-009, 1.19728938e-007) | |
| 790 | p3.CanCollide = false | |
| 791 | p3.Locked = true | |
| 792 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
| 793 | p3.TopSurface = Enum.SurfaceType.Smooth | |
| 794 | b3 = Instance.new("SpecialMesh", p3)
| |
| 795 | b3.MeshId = "http://www.roblox.com/asset/?id=16627529" | |
| 796 | b3.TextureId = "" | |
| 797 | b3.MeshType = Enum.MeshType.FileMesh | |
| 798 | b3.Name = "Mesh" | |
| 799 | b3.VertexColor = Vector3.new(0, 0, 0) | |
| 800 | b3.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995) | |
| 801 | p4 = Instance.new("Part", m)
| |
| 802 | p4.BrickColor = BrickColor.new("Institutional white")
| |
| 803 | p4.FormFactor = Enum.FormFactor.Symmetric | |
| 804 | p4.Size = Vector3.new(1, 1, 1) | |
| 805 | p4.CFrame = CFrame.new(13.220191, 23.5300064, 28.5998363, -2.39457108e-007, 1.19209027e-007, -0.99999398, -1.97797441e-008, 1, -1.19208977e-007, 0.99999398, -1.97797512e-008, 2.39457108e-007) | |
| 806 | p4.CanCollide = false | |
| 807 | p4.Locked = true | |
| 808 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
| 809 | p4.TopSurface = Enum.SurfaceType.Smooth | |
| 810 | b4 = Instance.new("SpecialMesh", p4)
| |
| 811 | b4.MeshId = "http://www.roblox.com/asset/?id=19326912" | |
| 812 | b4.TextureId = "" | |
| 813 | b4.MeshType = Enum.MeshType.FileMesh | |
| 814 | b4.Name = "Mesh" | |
| 815 | b4.VertexColor = Vector3.new(0, 0, 0) | |
| 816 | p5 = Instance.new("Part", m)
| |
| 817 | p5.BrickColor = BrickColor.new("Institutional white")
| |
| 818 | p5.FormFactor = Enum.FormFactor.Symmetric | |
| 819 | p5.Size = Vector3.new(1, 1, 1) | |
| 820 | p5.CFrame = CFrame.new(13.299963, 23.1500015, 28.5999584, -4.78911147e-007, 2.384173e-007, -0.999987543, -3.95593887e-008, 1, -2.38417186e-007, 0.999987543, -3.95594029e-008, 4.78911147e-007) | |
| 821 | p5.CanCollide = false | |
| 822 | p5.Locked = true | |
| 823 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
| 824 | p5.TopSurface = Enum.SurfaceType.Smooth | |
| 825 | b5 = Instance.new("SpecialMesh", p5)
| |
| 826 | b5.MeshId = "http://www.roblox.com/asset/?id=45916884" | |
| 827 | b5.TextureId = "" | |
| 828 | b5.MeshType = Enum.MeshType.FileMesh | |
| 829 | b5.Name = "Mesh" | |
| 830 | b5.VertexColor = Vector3.new(0, 0, 0) | |
| 831 | b5.Scale = Vector3.new(1, 0.899999976, 1) | |
| 832 | p6 = Instance.new("Part", m)
| |
| 833 | p6.BrickColor = BrickColor.new("Institutional white")
| |
| 834 | p6.FormFactor = Enum.FormFactor.Symmetric | |
| 835 | p6.Size = Vector3.new(1, 1, 1) | |
| 836 | p6.CFrame = CFrame.new(13.1003246, 23.2700119, 28.5500946, -9.57822294e-007, 4.76831474e-007, -0.999987543, -7.91193955e-008, 1, -2.84217094e-014, 0.999987543, -4.04650001e-015, 5.68434189e-014) | |
| 837 | p6.CanCollide = false | |
| 838 | p6.Locked = true | |
| 839 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
| 840 | p6.TopSurface = Enum.SurfaceType.Smooth | |
| 841 | b6 = Instance.new("SpecialMesh", p6)
| |
| 842 | b6.MeshId = "http://www.roblox.com/asset/?id=62246019" | |
| 843 | b6.TextureId = "" | |
| 844 | b6.MeshType = Enum.MeshType.FileMesh | |
| 845 | b6.Name = "Mesh" | |
| 846 | b6.VertexColor = Vector3.new(0, 0, 0) | |
| 847 | p7 = Instance.new("Part", m)
| |
| 848 | p7.BrickColor = BrickColor.new("Institutional white")
| |
| 849 | p7.FormFactor = Enum.FormFactor.Symmetric | |
| 850 | p7.Size = Vector3.new(1, 1, 1) | |
| 851 | p7.CFrame = CFrame.new(13.1008148, 23.0000076, 28.4990215, -9.57822294e-007, 4.76831502e-007, -0.999987543, -7.91194026e-008, 1, 3.5914197e-019, 0.999987543, 3.05883884e-015, 5.68434189e-014) | |
| 852 | p7.CanCollide = false | |
| 853 | p7.Locked = true | |
| 854 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
| 855 | p7.TopSurface = Enum.SurfaceType.Smooth | |
| 856 | b7 = Instance.new("SpecialMesh", p7)
| |
| 857 | b7.MeshId = "http://www.roblox.com/asset/?id=76056263" | |
| 858 | b7.TextureId = "" | |
| 859 | b7.MeshType = Enum.MeshType.FileMesh | |
| 860 | b7.Name = "Mesh" | |
| 861 | b7.VertexColor = Vector3.new(0, 0, 0) | |
| 862 | p8 = Instance.new("Part", m)
| |
| 863 | p8.BrickColor = BrickColor.new("Institutional white")
| |
| 864 | p8.FormFactor = Enum.FormFactor.Symmetric | |
| 865 | p8.Size = Vector3.new(1, 1, 1) | |
| 866 | p8.CFrame = CFrame.new(12.3756638, 22.3460064, 28.5989819, -9.57822294e-007, -0.80510509, 0.593111277, -7.91194026e-008, -0.593119025, -0.805114806, 0.999987543, -1.28919533e-014, 2.06653508e-014) | |
| 867 | p8.CanCollide = false | |
| 868 | p8.Locked = true | |
| 869 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
| 870 | p8.TopSurface = Enum.SurfaceType.Smooth | |
| 871 | b8 = Instance.new("SpecialMesh", p8)
| |
| 872 | b8.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 873 | b8.TextureId = "" | |
| 874 | b8.MeshType = Enum.MeshType.FileMesh | |
| 875 | b8.Name = "Mesh" | |
| 876 | b8.VertexColor = Vector3.new(0, 0, 0) | |
| 877 | b8.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
| 878 | p9 = Instance.new("Part", m)
| |
| 879 | p9.BrickColor = BrickColor.new("Institutional white")
| |
| 880 | p9.FormFactor = Enum.FormFactor.Symmetric | |
| 881 | p9.Size = Vector3.new(2, 1, 2) | |
| 882 | p9.CFrame = CFrame.new(13.2349396, 23.2430096, 28.5993462, -9.57822294e-007, -0.0995007455, -0.995025039, -7.91194097e-008, 0.995037317, -0.0995024443, 0.999987543, -5.41274382e-016, -2.16294996e-014) | |
| 883 | p9.CanCollide = false | |
| 884 | p9.Locked = true | |
| 885 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
| 886 | p9.TopSurface = Enum.SurfaceType.Smooth | |
| 887 | b9 = Instance.new("SpecialMesh", p9)
| |
| 888 | b9.MeshId = "http://www.roblox.com/asset/?id=12259089" | |
| 889 | b9.TextureId = "" | |
| 890 | b9.MeshType = Enum.MeshType.FileMesh | |
| 891 | b9.Name = "Mesh" | |
| 892 | b9.VertexColor = Vector3.new(0, 0, 0) | |
| 893 | b9.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995) | |
| 894 | p10 = Instance.new("Part", m)
| |
| 895 | p10.BrickColor = BrickColor.new("Institutional white")
| |
| 896 | p10.FormFactor = Enum.FormFactor.Symmetric | |
| 897 | p10.Size = Vector3.new(1, 1, 1) | |
| 898 | p10.CFrame = CFrame.new(12.9792271, 23.7430058, 28.6003838, -9.57822294e-007, -0.68356514, -0.729872584, -7.91194097e-008, 0.729881346, -0.683573902, 0.999987543, -1.35710662e-014, -1.68509463e-014) | |
| 899 | p10.CanCollide = false | |
| 900 | p10.Locked = true | |
| 901 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
| 902 | p10.TopSurface = Enum.SurfaceType.Smooth | |
| 903 | b10 = Instance.new("SpecialMesh", p10)
| |
| 904 | b10.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 905 | b10.TextureId = "" | |
| 906 | b10.MeshType = Enum.MeshType.FileMesh | |
| 907 | b10.Name = "Mesh" | |
| 908 | b10.VertexColor = Vector3.new(0, 0, 0) | |
| 909 | b10.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
| 910 | p11 = Instance.new("Part", m)
| |
| 911 | p11.BrickColor = BrickColor.new("Institutional white")
| |
| 912 | p11.FormFactor = Enum.FormFactor.Symmetric | |
| 913 | p11.Size = Vector3.new(1, 1, 1) | |
| 914 | p11.CFrame = CFrame.new(12.8353081, 23.4680061, 28.5991058, -9.57822294e-007, -0.989463568, -0.144696504, -7.91194026e-008, 0.144697905, -0.989475906, 0.999987543, -2.11154641e-014, -4.7186215e-015) | |
| 915 | p11.CanCollide = false | |
| 916 | p11.Locked = true | |
| 917 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
| 918 | p11.TopSurface = Enum.SurfaceType.Smooth | |
| 919 | b11 = Instance.new("SpecialMesh", p11)
| |
| 920 | b11.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 921 | b11.TextureId = "" | |
| 922 | b11.MeshType = Enum.MeshType.FileMesh | |
| 923 | b11.Name = "Mesh" | |
| 924 | b11.VertexColor = Vector3.new(0, 0, 0) | |
| 925 | b11.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
| 926 | w1 = Instance.new("Weld", p1)
| |
| 927 | w1.Name = "Head_Weld" | |
| 928 | w1.Part0 = p1 | |
| 929 | w1.C0 = CFrame.new(-28.5990181, 16.950285, 19.8713875, 0, 0, 0.999999583, -0.97869873, -0.205299839, 5.96046448e-008, 0.20529972, -0.978699148, -7.4505806e-009) | |
| 930 | w1.Part1 = p2 | |
| 931 | w1.C1 = CFrame.new(-28.5999966, -22.8300076, 13.2999811, 5.96046448e-008, 0, 0.999999642, 0, 1, 0, -0.999999642, 0, 5.96046448e-008) | |
| 932 | w2 = Instance.new("Weld", p2)
| |
| 933 | w2.Name = "Weld" | |
| 934 | w2.Part0 = p2 | |
| 935 | w2.C0 = CFrame.new(-28.5999527, -22.8300056, 13.2999592, -2.5997493e-010, -4.94494357e-009, 0.999998808, 2.98023224e-008, 1, -4.94494712e-009, -0.999998808, -2.98023224e-008, 1.19469163e-007) | |
| 936 | w2.Part1 = p3 | |
| 937 | w2.C1 = CFrame.new(-28.5999947, -23.3999996, 13.2999821, 0, 0, 0.999999583, 0, 1, 0, -0.999999583, 0, 0) | |
| 938 | w3 = Instance.new("Weld", p3)
| |
| 939 | w3.Name = "Weld" | |
| 940 | w3.Part0 = p3 | |
| 941 | w3.C0 = CFrame.new(-28.5999012, -23.3999996, 13.2999363, -1.19728938e-007, -9.88988447e-009, 0.999997199, 5.96046092e-008, 1, -9.88988802e-009, -0.999997199, -5.96045844e-008, 1.19728938e-007) | |
| 942 | w3.Part1 = p4 | |
| 943 | w3.C1 = CFrame.new(-28.5998726, -23.5300045, 13.2202082, 0, 0, 0.999999583, 0, 1, 0, -0.999999583, 0, 0) | |
| 944 | w4 = Instance.new("Weld", p4)
| |
| 945 | w4.Name = "Weld" | |
| 946 | w4.Part0 = p4 | |
| 947 | w4.C0 = CFrame.new(-28.5996857, -23.5300064, 13.2201195, -2.39457108e-007, -1.97797441e-008, 0.99999398, 1.19209027e-007, 1, -1.97797512e-008, -0.99999398, -1.19208977e-007, 2.39457108e-007) | |
| 948 | w4.Part1 = p5 | |
| 949 | w4.C1 = CFrame.new(-28.5999947, -23.1499996, 13.2999821, 0, 0, 0.999999583, 0, 1, 0, -0.999999583, 0, 0) | |
| 950 | w5 = Instance.new("Weld", p5)
| |
| 951 | w5.Name = "Weld" | |
| 952 | w5.Part0 = p5 | |
| 953 | w5.C0 = CFrame.new(-28.5996189, -23.1500015, 13.2998009, -4.78911147e-007, -3.95593887e-008, 0.999987543, 2.384173e-007, 1, -3.95594029e-008, -0.999987543, -2.38417186e-007, 4.78911147e-007) | |
| 954 | w5.Part1 = p6 | |
| 955 | w5.C1 = CFrame.new(-28.5501289, -23.27001, 13.1003361, 0, 0, 0.999999583, 0, 1, 0, -0.999999583, 0, 0) | |
| 956 | w6 = Instance.new("Weld", p6)
| |
| 957 | w6.Name = "Weld" | |
| 958 | w6.Part0 = p6 | |
| 959 | w6.C0 = CFrame.new(-28.5497494, -23.2700157, 13.100173, -9.57822294e-007, -7.91193955e-008, 0.999987543, 4.76831474e-007, 1, -4.04650001e-015, -0.999987543, -2.84217094e-014, 5.68434189e-014) | |
| 960 | w6.Part1 = p7 | |
| 961 | w6.C1 = CFrame.new(-28.4990501, -23.0000057, 13.1008282, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0) | |
| 962 | w7 = Instance.new("Weld", p7)
| |
| 963 | w7.Name = "Weld" | |
| 964 | w7.Part0 = p7 | |
| 965 | w7.C0 = CFrame.new(-28.4986763, -23.0000114, 13.1006632, -9.57822294e-007, -7.91194026e-008, 0.999987543, 4.76831502e-007, 1, 3.05883884e-015, -0.999987543, 3.5914197e-019, 5.68434189e-014) | |
| 966 | w7.Part1 = p8 | |
| 967 | w7.C1 = CFrame.new(-28.5990181, 23.2175999, 10.6510067, 0, 0, 0.999999583, -0.805118203, -0.59311378, -5.96046448e-008, 0.593113363, -0.80511874, 0) | |
| 968 | w8 = Instance.new("Weld", p8)
| |
| 969 | w8.Name = "Weld" | |
| 970 | w8.Part0 = p8 | |
| 971 | w8.C0 = CFrame.new(-28.5986366, 23.2175598, 10.6509457, -9.57822294e-007, -7.91194026e-008, 0.999987543, -0.80510509, -0.593119025, -1.28919533e-014, 0.593111277, -0.805114806, 2.06653508e-014) | |
| 972 | w8.Part1 = p9 | |
| 973 | w8.C1 = CFrame.new(-28.5993843, -21.8107243, 15.4820604, 0, 0, 0.999999583, -0.0995036662, 0.995037258, 0, -0.995036721, -0.0995037258, 0) | |
| 974 | w9 = Instance.new("Weld", p9)
| |
| 975 | w9.Name = "Weld" | |
| 976 | w9.Part0 = p9 | |
| 977 | w9.C0 = CFrame.new(-28.598999, -21.8107738, 15.4818439, -9.57822294e-007, -7.91194097e-008, 0.999987543, -0.0995007455, 0.995037317, -5.41274382e-016, -0.995025039, -0.0995024443, -2.16294996e-014) | |
| 978 | w9.Part1 = p10 | |
| 979 | w9.C1 = CFrame.new(-28.6004219, -8.45714283, 25.703455, 0, 0, 0.999999583, -0.683578134, 0.729877055, 2.98023224e-008, -0.729876637, -0.683578491, 8.94069672e-008) | |
| 980 | w10 = Instance.new("Weld", p10)
| |
| 981 | w10.Name = "Weld" | |
| 982 | w10.Part0 = p10 | |
| 983 | w10.C0 = CFrame.new(-28.6000366, -8.4574213, 25.703289, -9.57822294e-007, -7.91194097e-008, 0.999987543, -0.68356514, 0.729881346, -1.35710662e-014, -0.729872584, -0.683573902, -1.68509463e-014) | |
| 984 | w10.Part1 = p11 | |
| 985 | w10.C1 = CFrame.new(-28.5991402, 9.30450344, 25.0782566, 0, 0, 0.999999583, -0.989475787, 0.144696504, 8.94069672e-008, -0.144696444, -0.989476025, 7.4505806e-009) | |
| 986 | ||
| 987 | m.Parent = char | |
| 988 | m:MakeJoints() | |
| 989 | ---------------------------------------------------- | |
| 990 | local cor = Instance.new("Part", char.Hair)
| |
| 991 | cor.Name = "Link" | |
| 992 | cor.Locked = true | |
| 993 | cor.BottomSurface = 0 | |
| 994 | cor.CanCollide = false | |
| 995 | cor.Size = Vector3.new(1, 9, 1) | |
| 996 | cor.Transparency = 1 | |
| 997 | cor.TopSurface = 0 | |
| 998 | corw = Instance.new("Weld", cor)
| |
| 999 | corw.Part0 = hed | |
| 1000 | corw.Part1 = cor | |
| 1001 | corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 1002 | corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 1003 | weld1 = Instance.new("Weld", char.Hair)
| |
| 1004 | weld1.Part0 = cor | |
| 1005 | weld1.Part1 = char.Hair.Head | |
| 1006 | weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 1007 | ||
| 1008 | ---------------------------------------------------- | |
| 1009 | --[[GroundWave1 = function() | |
| 1010 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 1011 | local Colors = {"Royal purple", "White"}
| |
| 1012 | local wave = Instance.new("Part", torso)
| |
| 1013 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 1014 | wave.Anchored = true | |
| 1015 | wave.CanCollide = false | |
| 1016 | wave.Locked = true | |
| 1017 | wave.Size = Vector3.new(1, 1, 1) | |
| 1018 | wave.TopSurface = "Smooth" | |
| 1019 | wave.BottomSurface = "Smooth" | |
| 1020 | wave.Transparency = 0.35 | |
| 1021 | wave.CFrame = HandCF | |
| 1022 | wm = Instance.new("SpecialMesh", wave)
| |
| 1023 | wm.MeshId = "rbxassetid://3270017" | |
| 1024 | coroutine.wrap(function() | |
| 1025 | for i = 1, 30, 1 do | |
| 1026 | wm.Scale = Vector3.new(1 + i*1.2, 1 + i*1.2, 1) | |
| 1027 | wave.Size = wm.Scale | |
| 1028 | wave.CFrame = HandCF | |
| 1029 | wave.Transparency = i/30 | |
| 1030 | wait() | |
| 1031 | end | |
| 1032 | wait() | |
| 1033 | wave:Destroy() | |
| 1034 | end)() | |
| 1035 | end | |
| 1036 | ---------------------------------------------------- | |
| 1037 | GroundWave = function() | |
| 1038 | if Transforming == true then | |
| 1039 | local wave = Instance.new("Part", torso)
| |
| 1040 | wave.BrickColor = BrickColor.new("White")
| |
| 1041 | wave.Anchored = true | |
| 1042 | wave.CanCollide = false | |
| 1043 | wave.Locked = true | |
| 1044 | wave.Size = Vector3.new(1, 1, 1) | |
| 1045 | wave.TopSurface = "Smooth" | |
| 1046 | wave.BottomSurface = "Smooth" | |
| 1047 | wave.Transparency = 0.35 | |
| 1048 | wave.CFrame = fx.CFrame | |
| 1049 | wm = Instance.new("SpecialMesh", wave)
| |
| 1050 | wm.MeshType = "Sphere" | |
| 1051 | wm.Scale = Vector3.new(1,1,1) | |
| 1052 | coroutine.wrap(function() | |
| 1053 | for i = 1, 18, 1 do | |
| 1054 | wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2) | |
| 1055 | --wave.Size = wm.Scale | |
| 1056 | wave.CFrame = fx.CFrame | |
| 1057 | wave.Transparency = i/14 | |
| 1058 | wait() | |
| 1059 | end | |
| 1060 | wait() | |
| 1061 | wave:Destroy() | |
| 1062 | end)() | |
| 1063 | elseif Transforming == false then | |
| 1064 | wait() | |
| 1065 | end | |
| 1066 | end | |
| 1067 | ||
| 1068 | for i = 1, 100 do rs:wait() | |
| 1069 | fx.CFrame = torso.CFrame | |
| 1070 | end | |
| 1071 | ||
| 1072 | Spawn(function() | |
| 1073 | while wait(1) do | |
| 1074 | GroundWave() | |
| 1075 | end | |
| 1076 | end) | |
| 1077 | ||
| 1078 | wait(4) | |
| 1079 | ||
| 1080 | Transforming = false | |
| 1081 | ||
| 1082 | for i = 1, 20 do rs:wait() | |
| 1083 | fx.Transparency = fx.Transparency + (1/20) | |
| 1084 | fx.CFrame = torso.CFrame | |
| 1085 | fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5) | |
| 1086 | rs:wait() | |
| 1087 | end | |
| 1088 | ||
| 1089 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 1090 | local wave = Instance.new("Part", torso)
| |
| 1091 | wave.BrickColor = BrickColor.new("Institutional white")
| |
| 1092 | wave.Anchored = true | |
| 1093 | wave.CanCollide = false | |
| 1094 | wave.Locked = true | |
| 1095 | wave.Size = Vector3.new(1, 1, 1) | |
| 1096 | wave.TopSurface = "Smooth" | |
| 1097 | wave.BottomSurface = "Smooth" | |
| 1098 | wave.Transparency = 0.35 | |
| 1099 | wave.CFrame = HandCF | |
| 1100 | wm = Instance.new("SpecialMesh", wave)
| |
| 1101 | wm.MeshId = "rbxassetid://3270017" | |
| 1102 | coroutine.wrap(function() | |
| 1103 | for i = 1, 14, 1 do | |
| 1104 | wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1) | |
| 1105 | wave.Size = wm.Scale | |
| 1106 | wave.CFrame = HandCF | |
| 1107 | wave.Transparency = i/14 | |
| 1108 | wait() | |
| 1109 | end | |
| 1110 | wait() | |
| 1111 | wave:Destroy() | |
| 1112 | end)() | |
| 1113 | hum.WalkSpeed = 16 ]] | |
| 1114 | ---------------------------------------------------- | |
| 1115 | Blast = function() | |
| 1116 | local Colors = {"Really red", "White"}
| |
| 1117 | local wave = Instance.new("Part", torso)
| |
| 1118 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
| 1119 | wave.Anchored = true | |
| 1120 | wave.CanCollide = false | |
| 1121 | wave.Locked = true | |
| 1122 | wave.Size = Vector3.new(1, 1, 1) | |
| 1123 | wave.TopSurface = "Smooth" | |
| 1124 | wave.BottomSurface = "Smooth" | |
| 1125 | wave.Transparency = 0.35 | |
| 1126 | wave.CFrame = rarm.CFrame | |
| 1127 | wm = Instance.new("SpecialMesh", wave)
| |
| 1128 | wm.MeshType = "Sphere" | |
| 1129 | wm.Scale = Vector3.new(1,1,1) | |
| 1130 | z = Instance.new("Sound",wave)
| |
| 1131 | z.SoundId = "rbxassetid://237035051" | |
| 1132 | z.Volume = 1 | |
| 1133 | z.Pitch = .9 | |
| 1134 | z:Play() | |
| 1135 | coroutine.wrap(function() | |
| 1136 | for i = 1, 30, 1 do | |
| 1137 | wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4) | |
| 1138 | --wave.Size = wm.Scale | |
| 1139 | wave.CFrame = rarm.CFrame | |
| 1140 | wave.Transparency = (1/14) | |
| 1141 | rs:wait() | |
| 1142 | end | |
| 1143 | rs:wait() | |
| 1144 | wave:Destroy() | |
| 1145 | z:Destroy() | |
| 1146 | end)() | |
| 1147 | end | |
| 1148 | ---------------------------------------------------- | |
| 1149 | rarm.Touched:connect(function(ht) | |
| 1150 | hit = ht.Parent | |
| 1151 | if ht and hit:IsA("Model") then
| |
| 1152 | if hit:FindFirstChild("Humanoid") then
| |
| 1153 | if hit.Name ~= p.Name then | |
| 1154 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1155 | Debounces.RPunched = true | |
| 1156 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 1157 | if Debounces.ks==true then | |
| 1158 | z = Instance.new("Sound",hed)
| |
| 1159 | z.SoundId = "rbxassetid://169380525" | |
| 1160 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1161 | z.Volume = 1 | |
| 1162 | z:Play() | |
| 1163 | end | |
| 1164 | wait(.2) | |
| 1165 | Debounces.RPunched = false | |
| 1166 | end | |
| 1167 | end | |
| 1168 | end | |
| 1169 | elseif ht and hit:IsA("Hat") then
| |
| 1170 | if hit.Parent.Name ~= p.Name then | |
| 1171 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1172 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1173 | Debounces.RPunched = true | |
| 1174 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 1175 | if Debounces.ks==true then | |
| 1176 | z = Instance.new("Sound",hed)
| |
| 1177 | z.SoundId = "rbxassetid://169380525" | |
| 1178 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1179 | z.Volume = 1 | |
| 1180 | z:Play() | |
| 1181 | end | |
| 1182 | wait(.2) | |
| 1183 | Debounces.RPunched = false | |
| 1184 | end | |
| 1185 | end | |
| 1186 | end | |
| 1187 | end | |
| 1188 | end) | |
| 1189 | larm.Touched:connect(function(ht) | |
| 1190 | hit = ht.Parent | |
| 1191 | if ht and hit:IsA("Model") then
| |
| 1192 | if hit:FindFirstChild("Humanoid") then
| |
| 1193 | if hit.Name ~= p.Name then | |
| 1194 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1195 | Debounces.LPunched = true | |
| 1196 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 1197 | if Debounces.ks2==true then | |
| 1198 | z = Instance.new("Sound",hed)
| |
| 1199 | z.SoundId = "rbxassetid://169380525" | |
| 1200 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1201 | z.Volume = 1 | |
| 1202 | z:Play() | |
| 1203 | end | |
| 1204 | wait(.2) | |
| 1205 | Debounces.LPunched = false | |
| 1206 | end | |
| 1207 | end | |
| 1208 | end | |
| 1209 | elseif ht and hit:IsA("Hat") then
| |
| 1210 | if hit.Parent.Name ~= p.Name then | |
| 1211 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1212 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1213 | Debounces.LPunched = true | |
| 1214 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 1215 | if Debounces.ks2==true then | |
| 1216 | z = Instance.new("Sound",hed)
| |
| 1217 | z.SoundId = "rbxassetid://169380525" | |
| 1218 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1219 | z.Volume = 1 | |
| 1220 | z:Play() | |
| 1221 | end | |
| 1222 | wait(.2) | |
| 1223 | Debounces.LPunched = false | |
| 1224 | end | |
| 1225 | end | |
| 1226 | end | |
| 1227 | end | |
| 1228 | end) | |
| 1229 | ---------------------------------------------------- | |
| 1230 | mod4 = Instance.new("Model",char)
| |
| 1231 | ||
| 1232 | ptez = {0.7, 0.8, 0.9, 1}
| |
| 1233 | ||
| 1234 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 1235 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 1236 | local List = {}
| |
| 1237 | for i,v in pairs(workspace:GetChildren())do | |
| 1238 | if v:IsA("Model")then
| |
| 1239 | if v:findFirstChild("Torso")then
| |
| 1240 | if v ~= char then | |
| 1241 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 1242 | table.insert(List,v) | |
| 1243 | end | |
| 1244 | end | |
| 1245 | end | |
| 1246 | end | |
| 1247 | end | |
| 1248 | return List | |
| 1249 | end | |
| 1250 | ||
| 1251 | function Punch() | |
| 1252 | part=Instance.new('Part',mod4)
| |
| 1253 | part.Anchored=true | |
| 1254 | part.CanCollide=false | |
| 1255 | part.FormFactor='Custom' | |
| 1256 | part.Size=Vector3.new(.2,.2,.2) | |
| 1257 | part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0) | |
| 1258 | part.Transparency=.7 | |
| 1259 | part.BrickColor=BrickColor.new('White')
| |
| 1260 | mesh=Instance.new('SpecialMesh',part)
| |
| 1261 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
| 1262 | mesh.Scale=Vector3.new(3,3,3) | |
| 1263 | part2=Instance.new('Part',mod4)
| |
| 1264 | part2.Anchored=true | |
| 1265 | part2.CanCollide=false | |
| 1266 | part2.FormFactor='Custom' | |
| 1267 | part2.Size=Vector3.new(.2,.2,.2) | |
| 1268 | part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
| 1269 | part2.Transparency=.7 | |
| 1270 | part2.BrickColor=BrickColor.new('Really red')
| |
| 1271 | mesh2=Instance.new('SpecialMesh',part2)
| |
| 1272 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 1273 | mesh2.Scale=Vector3.new(3,1.5,3) | |
| 1274 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
| 1275 | if v:FindFirstChild('Humanoid') then
| |
| 1276 | v.Humanoid:TakeDamage(math.random(2,6)) | |
| 1277 | end | |
| 1278 | end | |
| 1279 | coroutine.resume(coroutine.create(function() | |
| 1280 | for i=0,0.62,0.4 do | |
| 1281 | wait() | |
| 1282 | part.CFrame=part.CFrame | |
| 1283 | part.Transparency=i | |
| 1284 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
| 1285 | part2.CFrame=part2.CFrame | |
| 1286 | part2.Transparency=i | |
| 1287 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
| 1288 | end | |
| 1289 | part.Parent=nil | |
| 1290 | part2.Parent=nil | |
| 1291 | end)) | |
| 1292 | end | |
| 1293 | ---------------------------------------------------- | |
| 1294 | rarm.Touched:connect(function(ht) | |
| 1295 | hit = ht.Parent | |
| 1296 | if ht and hit:IsA("Model") then
| |
| 1297 | if hit:FindFirstChild("Humanoid") then
| |
| 1298 | if hit.Name ~= p.Name then | |
| 1299 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1300 | Debounces.RPunched = true | |
| 1301 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 1302 | if Debounces.ks==true then | |
| 1303 | z = Instance.new("Sound",hed)
| |
| 1304 | z.SoundId = "rbxassetid://169380525" | |
| 1305 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1306 | z.Volume = 1 | |
| 1307 | z:Play() | |
| 1308 | end | |
| 1309 | wait(.2) | |
| 1310 | Debounces.RPunched = false | |
| 1311 | end | |
| 1312 | end | |
| 1313 | end | |
| 1314 | elseif ht and hit:IsA("Hat") then
| |
| 1315 | if hit.Parent.Name ~= p.Name then | |
| 1316 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1317 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1318 | Debounces.RPunched = true | |
| 1319 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
| |
| 1320 | if Debounces.ks==true then | |
| 1321 | z = Instance.new("Sound",hed)
| |
| 1322 | z.SoundId = "rbxassetid://169380525" | |
| 1323 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1324 | z.Volume = 1 | |
| 1325 | z:Play() | |
| 1326 | end | |
| 1327 | wait(.2) | |
| 1328 | Debounces.RPunched = false | |
| 1329 | end | |
| 1330 | end | |
| 1331 | end | |
| 1332 | end | |
| 1333 | end) | |
| 1334 | larm.Touched:connect(function(ht) | |
| 1335 | hit = ht.Parent | |
| 1336 | if ht and hit:IsA("Model") then
| |
| 1337 | if hit:FindFirstChild("Humanoid") then
| |
| 1338 | if hit.Name ~= p.Name then | |
| 1339 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1340 | Debounces.LPunched = true | |
| 1341 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 1342 | if Debounces.ks2==true then | |
| 1343 | z = Instance.new("Sound",hed)
| |
| 1344 | z.SoundId = "rbxassetid://169380525" | |
| 1345 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1346 | z.Volume = 1 | |
| 1347 | z:Play() | |
| 1348 | end | |
| 1349 | wait(.2) | |
| 1350 | Debounces.LPunched = false | |
| 1351 | end | |
| 1352 | end | |
| 1353 | end | |
| 1354 | elseif ht and hit:IsA("Hat") then
| |
| 1355 | if hit.Parent.Name ~= p.Name then | |
| 1356 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1357 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1358 | Debounces.LPunched = true | |
| 1359 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
| |
| 1360 | if Debounces.ks2==true then | |
| 1361 | z = Instance.new("Sound",hed)
| |
| 1362 | z.SoundId = "rbxassetid://169380525" | |
| 1363 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1364 | z.Volume = 1 | |
| 1365 | z:Play() | |
| 1366 | end | |
| 1367 | wait(.2) | |
| 1368 | Debounces.LPunched = false | |
| 1369 | end | |
| 1370 | end | |
| 1371 | end | |
| 1372 | end | |
| 1373 | end) | |
| 1374 | ---------------------------------------------------- | |
| 1375 | local player = game.Players.LocalPlayer | |
| 1376 | local pchar = player.Character | |
| 1377 | local mouse = player:GetMouse() | |
| 1378 | local cam = workspace.CurrentCamera | |
| 1379 | ||
| 1380 | local rad = math.rad | |
| 1381 | ||
| 1382 | local keysDown = {}
| |
| 1383 | local flySpeed = 0 | |
| 1384 | local MAX_FLY_SPEED = 150 | |
| 1385 | ||
| 1386 | local canFly = false | |
| 1387 | local flyToggled = false | |
| 1388 | ||
| 1389 | local forward, side = 0, 0 | |
| 1390 | local lastForward, lastSide = 0, 0 | |
| 1391 | ||
| 1392 | local floatBP = Instance.new("BodyPosition")
| |
| 1393 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
| 1394 | local flyBV = Instance.new("BodyVelocity")
| |
| 1395 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
| 1396 | local turnBG = Instance.new("BodyGyro")
| |
| 1397 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
| 1398 | ||
| 1399 | mouse.KeyDown:connect(function(key) | |
| 1400 | keysDown[key] = true | |
| 1401 | ||
| 1402 | if key == "f" then | |
| 1403 | flyToggled = not flyToggled | |
| 1404 | ||
| 1405 | if not flyToggled then | |
| 1406 | stanceToggle = "Normal" | |
| 1407 | floatBP.Parent = nil | |
| 1408 | flyBV.Parent = nil | |
| 1409 | turnBG.Parent = nil | |
| 1410 | root.Velocity = Vector3.new() | |
| 1411 | pchar.Humanoid.PlatformStand = false | |
| 1412 | end | |
| 1413 | end | |
| 1414 | ||
| 1415 | end) | |
| 1416 | mouse.KeyUp:connect(function(key) | |
| 1417 | keysDown[key] = nil | |
| 1418 | end) | |
| 1419 | ||
| 1420 | local function updateFly() | |
| 1421 | ||
| 1422 | if not flyToggled then return end | |
| 1423 | ||
| 1424 | lastForward = forward | |
| 1425 | lastSide = side | |
| 1426 | ||
| 1427 | forward = 0 | |
| 1428 | side = 0 | |
| 1429 | ||
| 1430 | if keysDown.w then | |
| 1431 | forward = forward + 1 | |
| 1432 | end | |
| 1433 | if keysDown.s then | |
| 1434 | forward = forward - 1 | |
| 1435 | end | |
| 1436 | if keysDown.a then | |
| 1437 | side = side - 1 | |
| 1438 | end | |
| 1439 | if keysDown.d then | |
| 1440 | side = side + 1 | |
| 1441 | end | |
| 1442 | ||
| 1443 | canFly = (forward ~= 0 or side ~= 0) | |
| 1444 | ||
| 1445 | if canFly then | |
| 1446 | stanceToggle = "Floating" | |
| 1447 | turnBG.Parent = root | |
| 1448 | floatBP.Parent = nil | |
| 1449 | flyBV.Parent = root | |
| 1450 | ||
| 1451 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
| 1452 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
| 1453 | else | |
| 1454 | floatBP.position = root.Position | |
| 1455 | floatBP.Parent = root | |
| 1456 | ||
| 1457 | flySpeed = flySpeed - 1 | |
| 1458 | if flySpeed < 0 then flySpeed = 0 end | |
| 1459 | end | |
| 1460 | ||
| 1461 | local camCF = cam.CoordinateFrame | |
| 1462 | local in_forward = canFly and forward or lastForward | |
| 1463 | local in_side = canFly and side or lastSide | |
| 1464 | ||
| 1465 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
| 1466 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
| 1467 | ||
| 1468 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
| 1469 | 0) | |
| 1470 | end | |
| 1471 | ||
| 1472 | game:service'RunService'.RenderStepped:connect(function() | |
| 1473 | if flyToggled then | |
| 1474 | pchar.Humanoid.PlatformStand = true | |
| 1475 | end | |
| 1476 | updateFly() | |
| 1477 | end) | |
| 1478 | ------------------------------- | |
| 1479 | mouse.KeyDown:connect(function(key) | |
| 1480 | if key == "q" then | |
| 1481 | if Debounces.CanAttack == true then | |
| 1482 | Debounces.CanAttack = false | |
| 1483 | Debounces.NoIdl = true | |
| 1484 | Debounces.on = true | |
| 1485 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 1486 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 1487 | local List = {}
| |
| 1488 | for i,v in pairs(workspace:GetChildren())do | |
| 1489 | if v:IsA("Model")then
| |
| 1490 | if v:findFirstChild("Torso")then
| |
| 1491 | if v ~= char then | |
| 1492 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 1493 | table.insert(List,v) | |
| 1494 | end | |
| 1495 | end | |
| 1496 | end | |
| 1497 | end | |
| 1498 | end | |
| 1499 | return List | |
| 1500 | end | |
| 1501 | z = Instance.new("Sound",hed)
| |
| 1502 | z.SoundId = "rbxassetid://401604539" | |
| 1503 | z.Pitch = 1 | |
| 1504 | z.Volume = 1 | |
| 1505 | wait(0.2) | |
| 1506 | z:Play() | |
| 1507 | sp = Instance.new("Part",rarm)
| |
| 1508 | sp.Color = a(); | |
| 1509 | sp.Anchored = true | |
| 1510 | sp.CanCollide = false | |
| 1511 | sp.Locked = true | |
| 1512 | sp.Transparency = 0 | |
| 1513 | sp.Material = "Neon" | |
| 1514 | sp.Size = Vector3.new(1,1,1) | |
| 1515 | sp.TopSurface = "SmoothNoOutlines" | |
| 1516 | sp.BottomSurface = "SmoothNoOutlines" | |
| 1517 | --sp.BrickColor = BrickColor.new("Royal purple")
| |
| 1518 | spm = Instance.new("SpecialMesh",sp)
| |
| 1519 | spm.MeshType = "Sphere" | |
| 1520 | spm.Scale = Vector3.new(21,21,21) | |
| 1521 | sp2 = Instance.new("Part", rarm)
| |
| 1522 | sp2.Name = "Energy" | |
| 1523 | --sp2.BrickColor = BrickColor.new("Royal purple")
| |
| 1524 | sp2.Size = Vector3.new(1, 1, 1) | |
| 1525 | sp2.Shape = "Ball" | |
| 1526 | sp2.Color = a(); | |
| 1527 | sp2.CanCollide = false | |
| 1528 | sp2.Anchored = true | |
| 1529 | sp2.Locked = true | |
| 1530 | sp2.TopSurface = 0 | |
| 1531 | sp2.BottomSurface = 0 | |
| 1532 | sp2.Transparency = 1 | |
| 1533 | spm2 = Instance.new("SpecialMesh",sp2)
| |
| 1534 | spm2.MeshId = "rbxassetid://9982590" | |
| 1535 | spm2.Scale = Vector3.new(2,2,2) | |
| 1536 | for i = 1, 20 do | |
| 1537 | spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
| 1538 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
| 1539 | 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) | |
| 1540 | 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) | |
| 1541 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
| 1542 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 1543 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 1544 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 1545 | if Debounces.on == false then break end | |
| 1546 | rs:wait() | |
| 1547 | end | |
| 1548 | for i = 1, 100, 20 do rs:wait() | |
| 1549 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
| 1550 | end | |
| 1551 | for i = 1, 20 do | |
| 1552 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
| 1553 | 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) | |
| 1554 | 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) | |
| 1555 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4) | |
| 1556 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4) | |
| 1557 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 1558 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 1559 | if Debounces.on == false then break end | |
| 1560 | rs:wait() | |
| 1561 | end | |
| 1562 | sp.Transparency = 1 | |
| 1563 | for i = 1, 20 do | |
| 1564 | 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) | |
| 1565 | 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) | |
| 1566 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4) | |
| 1567 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4) | |
| 1568 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 1569 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 1570 | if Debounces.on == false then break end | |
| 1571 | rs:wait() | |
| 1572 | end | |
| 1573 | --[[wait(1) | |
| 1574 | sp.Transparency = 0 | |
| 1575 | sp2.Transparency = 0.84 | |
| 1576 | for i = 1, 20 do | |
| 1577 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
| 1578 | sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i)) | |
| 1579 | 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) | |
| 1580 | 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) | |
| 1581 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2) | |
| 1582 | 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) | |
| 1583 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2) | |
| 1584 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2) | |
| 1585 | if Debounces.on == false then break end | |
| 1586 | rs:wait() | |
| 1587 | end | |
| 1588 | for i = 1, 2880, 50 do | |
| 1589 | rs:wait() | |
| 1590 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
| 1591 | sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
| 1592 | rs:wait() | |
| 1593 | end | |
| 1594 | sp:Destroy() | |
| 1595 | sp2:Destroy() | |
| 1596 | local X = Instance.new("Part",char)
| |
| 1597 | local O = Instance.new("ObjectValue",X)
| |
| 1598 | O.Name = "creator" | |
| 1599 | X.Locked = true | |
| 1600 | X.Name = "Shell" | |
| 1601 | X.Anchored = false | |
| 1602 | X.CanCollide = false | |
| 1603 | X.Transparency = 0 | |
| 1604 | X.Reflectance = 0 | |
| 1605 | X.BottomSurface = 0 | |
| 1606 | X.TopSurface = 0 | |
| 1607 | X.Shape = 0 | |
| 1608 | local V = Instance.new("ObjectValue",X)
| |
| 1609 | V.Value = char | |
| 1610 | V.Name = "creator" | |
| 1611 | X.BrickColor = BrickColor.new("Royal purple")
| |
| 1612 | X.Size = Vector3.new(2,2,2) | |
| 1613 | X.Material = "Neon" | |
| 1614 | local Z = Instance.new("SpecialMesh",X)
| |
| 1615 | Z.MeshType = "Sphere" | |
| 1616 | Z.Scale = Vector3.new(0.5,0.5,1) | |
| 1617 | X.CFrame = rarm.CFrame*CFrame.new(-3,0,0) | |
| 1618 | local bv = Instance.new("BodyVelocity",X)
| |
| 1619 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 1620 | X.CFrame = CFrame.new(X.Position,mouse.Hit.p) | |
| 1621 | bv.velocity = X.CFrame.lookVector*65 | |
| 1622 | ||
| 1623 | Explode = X.Touched:connect(function(hit) | |
| 1624 | if hit ~= char and hit.Name ~= "Shell" then | |
| 1625 | local cf = X.CFrame | |
| 1626 | bv:Destroy() | |
| 1627 | X.Anchored = true | |
| 1628 | Z:Remove() | |
| 1629 | Explode:disconnect() | |
| 1630 | X.Size = Vector3.new(3,3,3) | |
| 1631 | X.Touched:connect(function(hit) end) | |
| 1632 | X.CanCollide = false | |
| 1633 | local part3 = Instance.new("Part", rarm)
| |
| 1634 | part3.Anchored=true | |
| 1635 | part3.CanCollide=false | |
| 1636 | part3.Locked = true | |
| 1637 | part3.TopSurface = "SmoothNoOutlines" | |
| 1638 | part3.BottomSurface = "SmoothNoOutlines" | |
| 1639 | part3.FormFactor='Custom' | |
| 1640 | part3.Size=Vector3.new(1,1, 1) | |
| 1641 | part3.CFrame=X.CFrame | |
| 1642 | part3.Transparency=0 | |
| 1643 | part3.BrickColor=BrickColor.new("Royal purple")
| |
| 1644 | local mesh3 = Instance.new("SpecialMesh",part3)
| |
| 1645 | mesh3.MeshType = "Sphere" | |
| 1646 | mesh3.Scale = Vector3.new(1,1,1) | |
| 1647 | --debris:AddItem(X,8) | |
| 1648 | local part4 = Instance.new("Part", rarm)
| |
| 1649 | part4.Material = "Neon" | |
| 1650 | part4.Anchored=true | |
| 1651 | part4.CanCollide=false | |
| 1652 | part4.Locked = true | |
| 1653 | part4.TopSurface = "SmoothNoOutlines" | |
| 1654 | part4.BottomSurface = "SmoothNoOutlines" | |
| 1655 | part4.FormFactor='Custom' | |
| 1656 | part4.Size=Vector3.new(1,1, 1) | |
| 1657 | part4.CFrame=X.CFrame | |
| 1658 | part4.Transparency=0 | |
| 1659 | part4.BrickColor=BrickColor.new("Hot pink")
| |
| 1660 | local mesh4 = Instance.new("SpecialMesh",part4)
| |
| 1661 | mesh4.MeshType = "Sphere" | |
| 1662 | mesh4.Scale = Vector3.new(.5,.5,.5) | |
| 1663 | local part7 = Instance.new("Part", rarm)
| |
| 1664 | part7.Material = "Neon" | |
| 1665 | part7.Anchored=true | |
| 1666 | part7.CanCollide=false | |
| 1667 | part7.Locked = true | |
| 1668 | part7.TopSurface = "SmoothNoOutlines" | |
| 1669 | part7.BottomSurface = "SmoothNoOutlines" | |
| 1670 | part7.FormFactor='Custom' | |
| 1671 | part7.Size=Vector3.new(1,1, 1) | |
| 1672 | part7.CFrame=X.CFrame | |
| 1673 | part7.Transparency=0 | |
| 1674 | part7.BrickColor=BrickColor.new("White")
| |
| 1675 | local mesh7 = Instance.new("SpecialMesh",part7)
| |
| 1676 | mesh7.MeshType = "Sphere" | |
| 1677 | mesh7.Scale = Vector3.new(0.1, 0.1, 0.1) | |
| 1678 | for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do | |
| 1679 | if v:FindFirstChild('Humanoid') then
| |
| 1680 | v.Humanoid:TakeDamage(math.random(60,90)) | |
| 1681 | v.Humanoid.PlatformStand = true | |
| 1682 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
| |
| 1683 | end | |
| 1684 | end | |
| 1685 | ||
| 1686 | local acos = math.acos | |
| 1687 | local sqrt = math.sqrt | |
| 1688 | local Vec3 = Vector3.new | |
| 1689 | local fromAxisAngle = CFrame.fromAxisAngle | |
| 1690 | ||
| 1691 | local function toAxisAngle(CFr) | |
| 1692 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
| 1693 | local Angle = math.acos((R00+R11+R22-1)/2) | |
| 1694 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 1695 | A = A == 0 and 0.00001 or A | |
| 1696 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 1697 | B = B == 0 and 0.00001 or B | |
| 1698 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 1699 | C = C == 0 and 0.00001 or C | |
| 1700 | local x = (R21-R12)/sqrt(A) | |
| 1701 | local y = (R02-R20)/sqrt(B) | |
| 1702 | local z = (R10-R01)/sqrt(C) | |
| 1703 | return Vec3(x,y,z),Angle | |
| 1704 | end | |
| 1705 | ||
| 1706 | function ApplyTrig(Num,Func) | |
| 1707 | local Min,Max = Func(0),Func(1) | |
| 1708 | local i = Func(Num) | |
| 1709 | return (i-Min)/(Max-Min) | |
| 1710 | end | |
| 1711 | ||
| 1712 | function LerpCFrame(CFrame1,CFrame2,Num) | |
| 1713 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
| 1714 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
| 1715 | end | |
| 1716 | ||
| 1717 | function Crater(Torso,Radius) | |
| 1718 | Spawn(function() | |
| 1719 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
| 1720 | local Ignore = {}
| |
| 1721 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 1722 | if v.Character ~= nil then | |
| 1723 | Ignore[#Ignore+1] = v.Character | |
| 1724 | end | |
| 1725 | end | |
| 1726 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
| 1727 | if Hit == nil then return end | |
| 1728 | local Parts = {}
| |
| 1729 | for i = 1,360,10 do | |
| 1730 | local P = Instance.new("Part",Torso.Parent)
| |
| 1731 | P.Anchored = true | |
| 1732 | P.FormFactor = "Custom" | |
| 1733 | P.BrickColor = Hit.BrickColor | |
| 1734 | P.Material = Hit.Material | |
| 1735 | P.TopSurface = "Smooth" | |
| 1736 | P.BottomSurface = "Smooth" | |
| 1737 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
| 1738 | 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))) | |
| 1739 | 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}
| |
| 1740 | if math.random(0,5) == 0 then -- rubble | |
| 1741 | local P = Instance.new("Part",Torso.Parent)
| |
| 1742 | P.Anchored = true | |
| 1743 | P.FormFactor = "Custom" | |
| 1744 | P.BrickColor = Hit.BrickColor | |
| 1745 | P.Material = Hit.Material | |
| 1746 | P.TopSurface = "Smooth" | |
| 1747 | P.BottomSurface = "Smooth" | |
| 1748 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
| 1749 | 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))) | |
| 1750 | 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}
| |
| 1751 | end | |
| 1752 | end | |
| 1753 | for i = 0,1,0.05 do | |
| 1754 | for i2,v in pairs(Parts) do | |
| 1755 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
| 1756 | end | |
| 1757 | wait(0.02) | |
| 1758 | end | |
| 1759 | for i,v in pairs(Parts) do | |
| 1760 | if v[1].Size.X > 2.1 then | |
| 1761 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
| 1762 | end | |
| 1763 | v[1].Anchored = false | |
| 1764 | end | |
| 1765 | for i = 0,1,0.05 do | |
| 1766 | for i2,v in pairs(Parts) do | |
| 1767 | v[1].Transparency = i | |
| 1768 | if i == 1 then | |
| 1769 | v[1]:Destroy() | |
| 1770 | elseif i >= 0.25 then | |
| 1771 | v[1].CanCollide = false | |
| 1772 | end | |
| 1773 | end | |
| 1774 | wait(0.02) | |
| 1775 | end | |
| 1776 | Parts = nil | |
| 1777 | end) | |
| 1778 | end | |
| 1779 | ||
| 1780 | ROW = function(out, trans, s, wt, t, ang, plus) | |
| 1781 | for i = 1, 360, 360/t do | |
| 1782 | local c = Instance.new("Part", game.Workspace)
| |
| 1783 | c.FormFactor = 3 | |
| 1784 | c.TopSurface = 0 | |
| 1785 | c.BottomSurface = 0 | |
| 1786 | c.Size = s | |
| 1787 | c.Anchored = true | |
| 1788 | c.CanCollide = wt | |
| 1789 | c.Material=workspace.Base.Material | |
| 1790 | c.Transparency = trans | |
| 1791 | c.BrickColor = workspace.Base.BrickColor | |
| 1792 | 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 | |
| 1793 | c.Locked=true | |
| 1794 | game.Debris:AddItem(c,15) | |
| 1795 | end | |
| 1796 | end | |
| 1797 | ||
| 1798 | Part = function(x,y,z,color,tr,cc,an,parent) | |
| 1799 | local p = Instance.new('Part',parent or Weapon)
| |
| 1800 | p.formFactor = 'Custom' | |
| 1801 | p.Size = Vector3.new(x,y,z) | |
| 1802 | p.BrickColor = BrickColor.new(color) | |
| 1803 | p.CanCollide = cc | |
| 1804 | p.Transparency = tr | |
| 1805 | p.Anchored = an | |
| 1806 | p.TopSurface,p.BottomSurface = 0,0 | |
| 1807 | p.Locked=true | |
| 1808 | p:BreakJoints() | |
| 1809 | return p end | |
| 1810 | ||
| 1811 | Mesh = function(par,num,x,y,z) | |
| 1812 | local msh = _ | |
| 1813 | if num == 1 then msh = Instance.new("CylinderMesh",par)
| |
| 1814 | elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
| |
| 1815 | elseif num == 3 then msh = Instance.new("BlockMesh",par)
| |
| 1816 | elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
| |
| 1817 | elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
| |
| 1818 | end msh.Scale = Vector3.new(x,y,z) | |
| 1819 | return msh end | |
| 1820 | ||
| 1821 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
| 1822 | local a= Part(1,1,1,col1,.5,false,true,workspace) | |
| 1823 | local a2= Part(1,1,1,col2,.5,false,true,workspace) | |
| 1824 | local a3= Part(1,1,1,col2,.5,false,true,workspace) | |
| 1825 | v1,v2,v3=sz.x,sz.y,sz.z | |
| 1826 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
| 1827 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
| 1828 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
| 1829 | a.CFrame=cfr | |
| 1830 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 1831 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 1832 | ||
| 1833 | Spawn(function() | |
| 1834 | while wait() do | |
| 1835 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
| 1836 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
| 1837 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
| 1838 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
| 1839 | a.Transparency=a.Transparency+0.05 | |
| 1840 | a2.Transparency=a2.Transparency+0.05 | |
| 1841 | a3.Transparency=a3.Transparency+0.05 | |
| 1842 | end | |
| 1843 | end) | |
| 1844 | end | |
| 1845 | ||
| 1846 | Crater(X,20) | |
| 1847 | 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) | |
| 1848 | z = Instance.new("Sound",X)
| |
| 1849 | z.SoundId = "rbxassetid://231917744" | |
| 1850 | z.Pitch = .5 | |
| 1851 | z.Volume = 10 | |
| 1852 | z1 = Instance.new("Sound",X)
| |
| 1853 | z1.SoundId = "rbxassetid://231917744" | |
| 1854 | z1.Pitch = .5 | |
| 1855 | z1.Volume = 10 | |
| 1856 | z2 = Instance.new("Sound",X)
| |
| 1857 | z2.SoundId = "rbxassetid://231917744" | |
| 1858 | z2.Pitch = .5 | |
| 1859 | z2.Volume = 10 | |
| 1860 | z3 = Instance.new("Sound",X)
| |
| 1861 | z3.SoundId = "rbxassetid://245537790" | |
| 1862 | z3.Pitch = .7 | |
| 1863 | z3.Volume = 1 | |
| 1864 | z4 = Instance.new("Sound",X)
| |
| 1865 | z4.SoundId = "rbxassetid://245537790" | |
| 1866 | z4.Pitch = .7 | |
| 1867 | z4.Volume = 1 | |
| 1868 | wait(0.1) | |
| 1869 | z:Play() | |
| 1870 | z1:Play() | |
| 1871 | z2:Play() | |
| 1872 | z3:Play() | |
| 1873 | z4:Play() | |
| 1874 | ||
| 1875 | local part=Instance.new('Part',rarm)
| |
| 1876 | part.Anchored=true | |
| 1877 | part.CanCollide=false | |
| 1878 | part.Locked = true | |
| 1879 | part.FormFactor='Custom' | |
| 1880 | part.Size=Vector3.new(1,1,1) | |
| 1881 | part.CFrame=X.CFrame*CFrame.new(0,0,0) | |
| 1882 | part.Transparency=0 | |
| 1883 | part.BrickColor=BrickColor.new('White')
| |
| 1884 | local mesh=Instance.new('SpecialMesh',part)
| |
| 1885 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 1886 | mesh.Scale=Vector3.new(2,2,2) | |
| 1887 | local part2=part:clone() | |
| 1888 | part2.Parent = rarm | |
| 1889 | part2.BrickColor=BrickColor.new("Royal purple")
| |
| 1890 | local part5=part:clone() | |
| 1891 | part5.Parent = rarm | |
| 1892 | part5.BrickColor=BrickColor.new("Magenta")
| |
| 1893 | local part6=part:clone() | |
| 1894 | part6.Parent = rarm | |
| 1895 | part6.BrickColor=BrickColor.new("Black")
| |
| 1896 | local mesh2=mesh:clone() | |
| 1897 | mesh2.Parent=part2 | |
| 1898 | mesh2.Scale=Vector3.new(3, 3, 3) | |
| 1899 | local mesh5=mesh:clone() | |
| 1900 | mesh5.Parent=part5 | |
| 1901 | mesh5.Scale=Vector3.new(3, 3, 3) | |
| 1902 | local mesh6=mesh:clone() | |
| 1903 | mesh6.Parent=part6 | |
| 1904 | mesh6.Scale=Vector3.new(3, 3, 3) | |
| 1905 | local blast = Instance.new("Part", rarm)
| |
| 1906 | blast.BrickColor = BrickColor.new("White")
| |
| 1907 | blast.Anchored = true | |
| 1908 | blast.CanCollide = false | |
| 1909 | blast.Locked = true | |
| 1910 | blast.Size = Vector3.new(1, 1, 1) | |
| 1911 | blast.TopSurface = "Smooth" | |
| 1912 | blast.BottomSurface = "Smooth" | |
| 1913 | blast.Transparency = 0 | |
| 1914 | blast.CFrame = HandCF | |
| 1915 | local bm = Instance.new("SpecialMesh", blast)
| |
| 1916 | bm.Scale = Vector3.new(5,1,5) | |
| 1917 | bm.MeshId = "rbxassetid://3270017" | |
| 1918 | local blast2 = Instance.new("Part", rarm)
| |
| 1919 | blast2.BrickColor = BrickColor.new("White")
| |
| 1920 | blast2.Anchored = true | |
| 1921 | blast2.CanCollide = false | |
| 1922 | blast2.Locked = true | |
| 1923 | blast2.Size = Vector3.new(1, 1, 1) | |
| 1924 | blast2.TopSurface = "Smooth" | |
| 1925 | blast2.BottomSurface = "Smooth" | |
| 1926 | blast2.Transparency = 0 | |
| 1927 | blast2.CFrame = HandCF | |
| 1928 | local bm2 = Instance.new("SpecialMesh", blast2)
| |
| 1929 | bm2.Scale = Vector3.new(3,1,3) | |
| 1930 | bm2.MeshId = "rbxassetid://3270017" | |
| 1931 | local blast3 = Instance.new("Part", rarm)
| |
| 1932 | blast3.BrickColor = BrickColor.new("White")
| |
| 1933 | blast3.Anchored = true | |
| 1934 | blast3.CanCollide = false | |
| 1935 | blast3.Locked = true | |
| 1936 | blast3.Size = Vector3.new(1, 1, 1) | |
| 1937 | blast3.TopSurface = "Smooth" | |
| 1938 | blast3.BottomSurface = "Smooth" | |
| 1939 | blast3.Transparency = 0 | |
| 1940 | blast3.CFrame = HandCF | |
| 1941 | local bm3 = Instance.new("SpecialMesh", blast3)
| |
| 1942 | bm3.Scale = Vector3.new(3,1,3) | |
| 1943 | bm3.MeshId = "rbxassetid://3270017" | |
| 1944 | for i = 1,120 do rs:wait() | |
| 1945 | X.Transparency = X.Transparency + (1/120) | |
| 1946 | part.Transparency = part.Transparency + (1/120) | |
| 1947 | part2.Transparency = part2.Transparency + (1/120) | |
| 1948 | part3.Transparency = part3.Transparency + (1/120) | |
| 1949 | part4.Transparency = part4.Transparency + (1/120) | |
| 1950 | part5.Transparency = part5.Transparency + (1/120) | |
| 1951 | part6.Transparency = part6.Transparency + (1/120) | |
| 1952 | part7.Transparency = part7.Transparency + (1/120) | |
| 1953 | blast.Transparency = blast.Transparency + (1/120) | |
| 1954 | blast2.Transparency = blast2.Transparency + (1/120) | |
| 1955 | blast3.Transparency = blast3.Transparency + (1/120) | |
| 1956 | X.Size = X.Size + Vector3.new(.8,.8,.8) | |
| 1957 | --part3.Size = part3.Size + Vector3.new(3,3,3) | |
| 1958 | mesh.Scale = mesh.Scale + Vector3.new(1,.2,1) | |
| 1959 | mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1) | |
| 1960 | mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3) | |
| 1961 | mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7) | |
| 1962 | mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6) | |
| 1963 | mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2) | |
| 1964 | mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4) | |
| 1965 | bm.Scale = bm.Scale + Vector3.new(6,6,.2) | |
| 1966 | bm2.Scale = bm2.Scale + Vector3.new(4,4,.2) | |
| 1967 | bm3.Scale = bm3.Scale + Vector3.new(4,4,.2) | |
| 1968 | X.CFrame = cf | |
| 1969 | part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0) | |
| 1970 | part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0) | |
| 1971 | part3.CFrame=X.CFrame | |
| 1972 | part4.CFrame=X.CFrame | |
| 1973 | part7.CFrame=X.CFrame | |
| 1974 | part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0) | |
| 1975 | part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0) | |
| 1976 | blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 1977 | blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0)) | |
| 1978 | blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0)) | |
| 1979 | rs:wait() | |
| 1980 | end | |
| 1981 | X:Destroy() | |
| 1982 | part:Destroy() | |
| 1983 | part2:Destroy() | |
| 1984 | part3:Destroy() | |
| 1985 | part4:Destroy() | |
| 1986 | part5:Destroy() | |
| 1987 | part6:Destroy() | |
| 1988 | blast:Destroy() | |
| 1989 | blast2:Destroy() | |
| 1990 | blast3:Destroy() | |
| 1991 | z:Destroy() | |
| 1992 | z1:Destroy() | |
| 1993 | z2:Destroy() | |
| 1994 | z3:Destroy() | |
| 1995 | z4:Destroy() | |
| 1996 | end | |
| 1997 | end) | |
| 1998 | for i = 1, 20 do | |
| 1999 | 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) | |
| 2000 | 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) | |
| 2001 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 2002 | 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) | |
| 2003 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
| 2004 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
| 2005 | if Debounces.on == false then break end | |
| 2006 | rs:wait() | |
| 2007 | end ]] | |
| 2008 | if Debounces.CanAttack == false then | |
| 2009 | Debounces.CanAttack = true | |
| 2010 | Debounces.NoIdl = false | |
| 2011 | Debounces.on = false | |
| 2012 | end | |
| 2013 | end | |
| 2014 | end | |
| 2015 | end) | |
| 2016 | ---------------------------------------------------- | |
| 2017 | mouse.KeyDown:connect(function(key) | |
| 2018 | if key == "e" then | |
| 2019 | if Debounces.CanAttack == true then | |
| 2020 | Debounces.CanAttack = false | |
| 2021 | Debounces.on = true | |
| 2022 | charge = Instance.new("Sound", rarm)
| |
| 2023 | charge.SoundId = "http://www.roblox.com/asset/?id=360022047" --403173423, 360022047 | |
| 2024 | charge.Volume = 1 | |
| 2025 | charge.Pitch = 10 | |
| 2026 | charge.Looped = false | |
| 2027 | charge:Play() | |
| 2028 | wait(1) | |
| 2029 | Debounces.NoIdl = true | |
| 2030 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
| |
| 2031 | z = Instance.new("Sound", rarm)
| |
| 2032 | z.SoundId = "http://www.roblox.com/asset/?id=206083107" --206083107, 160867463, 161006212 | |
| 2033 | z.Volume = .6 | |
| 2034 | z.Pitch = pt[math.random(1,#pt)] | |
| 2035 | z.Looped = false | |
| 2036 | z:Play() | |
| 2037 | Debounces.RPunch = true | |
| 2038 | Debounces.LPunch = true | |
| 2039 | Debounces.ks = true | |
| 2040 | Debounces.ks2 = true | |
| 2041 | for i = 1, 3 do | |
| 2042 | 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) | |
| 2043 | 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) | |
| 2044 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2045 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2046 | 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) | |
| 2047 | 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) | |
| 2048 | if Debounces.on == false then break end | |
| 2049 | wait() | |
| 2050 | end | |
| 2051 | z2 = Instance.new("Sound", larm)
| |
| 2052 | z2.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2053 | z2.Volume = .6 | |
| 2054 | z2.Pitch = pt[math.random(1,#pt)] | |
| 2055 | z2.Looped = false | |
| 2056 | z2:Play() | |
| 2057 | for i = 1, 3 do | |
| 2058 | 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) | |
| 2059 | 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) | |
| 2060 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2061 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2062 | 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) | |
| 2063 | 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) | |
| 2064 | if Debounces.on == false then break end | |
| 2065 | wait() | |
| 2066 | end | |
| 2067 | z3 = Instance.new("Sound", rarm)
| |
| 2068 | z3.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2069 | z3.Volume = 0.6 | |
| 2070 | z3.Pitch = pt[math.random(1,#pt)] | |
| 2071 | z3.Looped = false | |
| 2072 | z3:Play() | |
| 2073 | for i = 1, 3 do | |
| 2074 | 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) | |
| 2075 | 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) | |
| 2076 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2077 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2078 | 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) | |
| 2079 | 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) | |
| 2080 | if Debounces.on == false then break end | |
| 2081 | wait() | |
| 2082 | end | |
| 2083 | z4 = Instance.new("Sound", larm)
| |
| 2084 | z4.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2085 | z4.Volume = .6 | |
| 2086 | z4.Pitch = pt[math.random(1,#pt)] | |
| 2087 | z4.Looped = false | |
| 2088 | z4:Play() | |
| 2089 | for i = 1, 3 do | |
| 2090 | 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) | |
| 2091 | 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) | |
| 2092 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2093 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2094 | 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) | |
| 2095 | 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) | |
| 2096 | if Debounces.on == false then break end | |
| 2097 | wait() | |
| 2098 | end | |
| 2099 | z5 = Instance.new("Sound", rarm)
| |
| 2100 | z5.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2101 | z5.Volume = .6 | |
| 2102 | z5.Pitch = pt[math.random(1,#pt)] | |
| 2103 | z5.Looped = false | |
| 2104 | z5:Play() | |
| 2105 | for i = 1, 3 do | |
| 2106 | 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) | |
| 2107 | 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) | |
| 2108 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 2109 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 2110 | 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) | |
| 2111 | 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) | |
| 2112 | if Debounces.on == false then break end | |
| 2113 | wait() | |
| 2114 | end | |
| 2115 | z6 = Instance.new("Sound", larm)
| |
| 2116 | z6.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2117 | z6.Volume = .6 | |
| 2118 | z6.Pitch = pt[math.random(1,#pt)] | |
| 2119 | z6.Looped = false | |
| 2120 | z6:Play() | |
| 2121 | for i = 1, 3 do | |
| 2122 | 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) | |
| 2123 | 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) | |
| 2124 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2125 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2126 | 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) | |
| 2127 | 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) | |
| 2128 | if Debounces.on == false then break end | |
| 2129 | wait() | |
| 2130 | end | |
| 2131 | z7 = Instance.new("Sound", rarm)
| |
| 2132 | z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
| 2133 | z7.Volume = .6 | |
| 2134 | z7.Pitch = pt[math.random(1,#pt)] | |
| 2135 | z7.Looped = false | |
| 2136 | z7:Play() | |
| 2137 | for i = 1, 3 do | |
| 2138 | 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) | |
| 2139 | 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) | |
| 2140 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2141 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2142 | 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) | |
| 2143 | 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) | |
| 2144 | if Debounces.on == false then break end | |
| 2145 | wait() | |
| 2146 | end | |
| 2147 | z8 = Instance.new("Sound", larm)
| |
| 2148 | z8.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2149 | z8.Volume = .6 | |
| 2150 | z8.Pitch = pt[math.random(1,#pt)] | |
| 2151 | z8.Looped = false | |
| 2152 | z8:Play() | |
| 2153 | for i = 1, 3 do | |
| 2154 | 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) | |
| 2155 | 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) | |
| 2156 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2157 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2158 | 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) | |
| 2159 | 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) | |
| 2160 | if Debounces.on == false then break end | |
| 2161 | wait() | |
| 2162 | end | |
| 2163 | z9 = Instance.new("Sound", rarm)
| |
| 2164 | z9.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2165 | z9.Volume = 0.6 | |
| 2166 | z9.Pitch = pt[math.random(1,#pt)] | |
| 2167 | z9.Looped = false | |
| 2168 | z9:Play() | |
| 2169 | for i = 1, 3 do | |
| 2170 | 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) | |
| 2171 | 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) | |
| 2172 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2173 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2174 | 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) | |
| 2175 | 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) | |
| 2176 | if Debounces.on == false then break end | |
| 2177 | wait() | |
| 2178 | end | |
| 2179 | z10 = Instance.new("Sound", larm)
| |
| 2180 | z10.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2181 | z10.Volume = .6 | |
| 2182 | z10.Pitch = pt[math.random(1,#pt)] | |
| 2183 | z10.Looped = false | |
| 2184 | z10:Play() | |
| 2185 | for i = 1, 3 do | |
| 2186 | 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) | |
| 2187 | 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) | |
| 2188 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2189 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2190 | 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) | |
| 2191 | 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) | |
| 2192 | if Debounces.on == false then break end | |
| 2193 | wait() | |
| 2194 | end | |
| 2195 | z11 = Instance.new("Sound", rarm)
| |
| 2196 | z11.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2197 | z11.Volume = .6 | |
| 2198 | z11.Pitch = pt[math.random(1,#pt)] | |
| 2199 | z11.Looped = false | |
| 2200 | z11:Play() | |
| 2201 | for i = 1, 3 do | |
| 2202 | 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) | |
| 2203 | 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) | |
| 2204 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 2205 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 2206 | 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) | |
| 2207 | 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) | |
| 2208 | if Debounces.on == false then break end | |
| 2209 | wait() | |
| 2210 | end | |
| 2211 | z12 = Instance.new("Sound", larm)
| |
| 2212 | z12.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2213 | z12.Volume = .6 | |
| 2214 | z12.Pitch = pt[math.random(1,#pt)] | |
| 2215 | z12.Looped = false | |
| 2216 | z12:Play() | |
| 2217 | for i = 1, 3 do | |
| 2218 | 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) | |
| 2219 | 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) | |
| 2220 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2221 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2222 | 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) | |
| 2223 | 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) | |
| 2224 | if Debounces.on == false then break end | |
| 2225 | wait() | |
| 2226 | end | |
| 2227 | z13 = Instance.new("Sound", rarm)
| |
| 2228 | z13.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2229 | z13.Volume = 0.6 | |
| 2230 | z13.Pitch = pt[math.random(1,#pt)] | |
| 2231 | z13.Looped = false | |
| 2232 | z13:Play() | |
| 2233 | for i = 1, 3 do | |
| 2234 | 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) | |
| 2235 | 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) | |
| 2236 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2237 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2238 | 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) | |
| 2239 | 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) | |
| 2240 | if Debounces.on == false then break end | |
| 2241 | wait() | |
| 2242 | end | |
| 2243 | z14 = Instance.new("Sound", larm)
| |
| 2244 | z14.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2245 | z14.Volume = .6 | |
| 2246 | z14.Pitch = pt[math.random(1,#pt)] | |
| 2247 | z14.Looped = false | |
| 2248 | z14:Play() | |
| 2249 | for i = 1, 3 do | |
| 2250 | 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) | |
| 2251 | 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) | |
| 2252 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2253 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2254 | 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) | |
| 2255 | 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) | |
| 2256 | if Debounces.on == false then break end | |
| 2257 | wait() | |
| 2258 | end | |
| 2259 | z15 = Instance.new("Sound", rarm)
| |
| 2260 | z15.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2261 | z15.Volume = .6 | |
| 2262 | z15.Pitch = pt[math.random(1,#pt)] | |
| 2263 | z15.Looped = false | |
| 2264 | z15:Play() | |
| 2265 | for i = 1, 3 do | |
| 2266 | 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) | |
| 2267 | 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) | |
| 2268 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
| 2269 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
| 2270 | 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) | |
| 2271 | 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) | |
| 2272 | if Debounces.on == false then break end | |
| 2273 | wait() | |
| 2274 | end | |
| 2275 | z16 = Instance.new("Sound", larm)
| |
| 2276 | z16.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2277 | z16.Volume = .6 | |
| 2278 | z16.Pitch = pt[math.random(1,#pt)] | |
| 2279 | z16.Looped = false | |
| 2280 | z16:Play() | |
| 2281 | for i = 1, 3 do | |
| 2282 | 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) | |
| 2283 | 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) | |
| 2284 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2285 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2286 | 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) | |
| 2287 | 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) | |
| 2288 | if Debounces.on == false then break end | |
| 2289 | wait() | |
| 2290 | end | |
| 2291 | z17 = Instance.new("Sound", rarm)
| |
| 2292 | z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
| 2293 | z17.Volume = .6 | |
| 2294 | z17.Pitch = pt[math.random(1,#pt)] | |
| 2295 | z17.Looped = false | |
| 2296 | z17:Play() | |
| 2297 | for i = 1, 3 do | |
| 2298 | 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) | |
| 2299 | 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) | |
| 2300 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2301 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2302 | 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) | |
| 2303 | 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) | |
| 2304 | if Debounces.on == false then break end | |
| 2305 | wait() | |
| 2306 | end | |
| 2307 | z18 = Instance.new("Sound", larm)
| |
| 2308 | z18.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2309 | z18.Volume = .6 | |
| 2310 | z18.Pitch = pt[math.random(1,#pt)] | |
| 2311 | z18.Looped = false | |
| 2312 | z18:Play() | |
| 2313 | for i = 1, 3 do | |
| 2314 | 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) | |
| 2315 | 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) | |
| 2316 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2317 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2318 | 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) | |
| 2319 | 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) | |
| 2320 | if Debounces.on == false then break end | |
| 2321 | wait() | |
| 2322 | end | |
| 2323 | z19 = Instance.new("Sound", rarm)
| |
| 2324 | z19.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2325 | z19.Volume = 0.6 | |
| 2326 | z19.Pitch = pt[math.random(1,#pt)] | |
| 2327 | z19.Looped = false | |
| 2328 | z19:Play() | |
| 2329 | for i = 1, 3 do | |
| 2330 | 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) | |
| 2331 | 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) | |
| 2332 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
| 2333 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
| 2334 | 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) | |
| 2335 | 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) | |
| 2336 | if Debounces.on == false then break end | |
| 2337 | wait() | |
| 2338 | end | |
| 2339 | z20 = Instance.new("Sound", larm)
| |
| 2340 | z20.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
| 2341 | z20.Volume = .6 | |
| 2342 | z20.Pitch = pt[math.random(1,#pt)] | |
| 2343 | z20.Looped = false | |
| 2344 | z20:Play() | |
| 2345 | for i = 1, 3 do | |
| 2346 | 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) | |
| 2347 | 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) | |
| 2348 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
| 2349 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
| 2350 | 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) | |
| 2351 | 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) | |
| 2352 | if Debounces.on == false then break end | |
| 2353 | wait() | |
| 2354 | end | |
| 2355 | z:Destroy() | |
| 2356 | z2:Destroy() | |
| 2357 | z3:Destroy() | |
| 2358 | z4:Destroy() | |
| 2359 | z5:Destroy() | |
| 2360 | z6:Destroy() | |
| 2361 | z7:Destroy() | |
| 2362 | z8:Destroy() | |
| 2363 | z9:Destroy() | |
| 2364 | z10:Destroy() | |
| 2365 | z11:Destroy() | |
| 2366 | z12:Destroy() | |
| 2367 | z13:Destroy() | |
| 2368 | z14:Destroy() | |
| 2369 | z15:Destroy() | |
| 2370 | z16:Destroy() | |
| 2371 | z17:Destroy() | |
| 2372 | z18:Destroy() | |
| 2373 | z19:Destroy() | |
| 2374 | z20:Destroy() | |
| 2375 | Debounces.LPunch = false | |
| 2376 | Debounces.RPunch = false | |
| 2377 | Debounces.ks = false | |
| 2378 | Debounces.ks2 = false | |
| 2379 | if Debounces.CanAttack == false then | |
| 2380 | Debounces.CanAttack = true | |
| 2381 | Debounces.on = false | |
| 2382 | Debounces.NoIdl = false | |
| 2383 | end | |
| 2384 | end | |
| 2385 | end | |
| 2386 | end) | |
| 2387 | ------------------------------- | |
| 2388 | mouse.KeyDown:connect(function(key) | |
| 2389 | if key == "t" then | |
| 2390 | if Debounces.CanAttack == true then | |
| 2391 | Debounces.CanAttack = false | |
| 2392 | Debounces.NoIdl = true | |
| 2393 | Debounces.on = true | |
| 2394 | Debounces.ks = true | |
| 2395 | kik = rleg.Touched:connect(function(ht) | |
| 2396 | hit = ht.Parent | |
| 2397 | if ht and hit:IsA("Model") then
| |
| 2398 | if hit:FindFirstChild("Humanoid") then
| |
| 2399 | if hit.Name ~= p.Name then | |
| 2400 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 2401 | Debounces.Slashed = true]]-- | |
| 2402 | if Debounces.ks==true then | |
| 2403 | z = Instance.new("Sound",hed)
| |
| 2404 | z.SoundId = "rbxassetid://169380525" | |
| 2405 | z.Volume = 1 | |
| 2406 | z:Play() | |
| 2407 | Debounces.ks=false | |
| 2408 | end | |
| 2409 | hit:FindFirstChild("Humanoid"):TakeDamage(2)
| |
| 2410 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
| |
| 2411 | --Debounces.Slashed = false | |
| 2412 | --end | |
| 2413 | end | |
| 2414 | end | |
| 2415 | elseif ht and hit:IsA("Hat") then
| |
| 2416 | if hit.Parent.Name ~= p.Name then | |
| 2417 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 2418 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
| 2419 | Debounces.Slashed = true]]-- | |
| 2420 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
| |
| 2421 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
| |
| 2422 | --Debounces.Slashed = false | |
| 2423 | --end | |
| 2424 | end | |
| 2425 | end | |
| 2426 | end | |
| 2427 | end) | |
| 2428 | for i = 1,20 do | |
| 2429 | 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) | |
| 2430 | 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) | |
| 2431 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2432 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4) | |
| 2433 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4) | |
| 2434 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
| 2435 | if Debounces.on == false then break end | |
| 2436 | rs:wait() | |
| 2437 | end | |
| 2438 | kik:disconnect() | |
| 2439 | if Debounces.CanAttack == false then | |
| 2440 | Debounces.CanAttack = true | |
| 2441 | Debounces.NoIdl = false | |
| 2442 | Debounces.on = false | |
| 2443 | end | |
| 2444 | end | |
| 2445 | end | |
| 2446 | end) | |
| 2447 | ---------------------------------------------------- | |
| 2448 | mouse.KeyDown:connect(function(key) | |
| 2449 | if key == "y" then | |
| 2450 | if Debounces.CanAttack == true then | |
| 2451 | Debounces.CanAttack = false | |
| 2452 | Debounces.on = true | |
| 2453 | Debounces.NoIdl = true | |
| 2454 | for i = 1, 15 do | |
| 2455 | --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) | |
| 2456 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(-90),math.rad(-90)), 0.6) | |
| 2457 | --hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
| 2458 | --torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
| 2459 | --lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
| 2460 | --rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
| 2461 | if Debounces.on == false then break end | |
| 2462 | rs:wait(2.7) | |
| 2463 | end | |
| 2464 | x = Instance.new("Sound",char)
| |
| 2465 | x.SoundId = "rbxassetid://367850840" --367932544 | |
| 2466 | x.Pitch = 1 | |
| 2467 | x.Volume = .8 | |
| 2468 | wait(.1) | |
| 2469 | x:Play() | |
| 2470 | Debounces.on = false | |
| 2471 | Debounces.Here = false | |
| 2472 | shot = shot + 1 | |
| 2473 | ||
| 2474 | ||
| 2475 | local rng = Instance.new("Part", larm)
| |
| 2476 | rng.Anchored = true | |
| 2477 | --rng.BrickColor = BrickColor.Random --new("Royal purple")
| |
| 2478 | rng.Color = a(); | |
| 2479 | rng.CanCollide = false | |
| 2480 | rng.FormFactor = 3 | |
| 2481 | rng.Name = "Ring" | |
| 2482 | rng.Size = Vector3.new(1, 1, 1) | |
| 2483 | rng.Transparency = 0.35 | |
| 2484 | rng.TopSurface = 0 | |
| 2485 | rng.BottomSurface = 0 | |
| 2486 | rng2 = rng:clone() | |
| 2487 | rng3 = rng2:clone() | |
| 2488 | rng4 = rng2:clone() | |
| 2489 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2490 | rngm.MeshId = "http://www.roblox.com/asset/?id=120647846" | |
| 2491 | rngm.VertexColor = rainb(tick()*5) | |
| 2492 | rngm.Scale = Vector3.new(10,10,10) | |
| 2493 | rngm2 = rngm:clone() | |
| 2494 | rngm2.Scale = Vector3.new(15, 15, 15) | |
| 2495 | rngm3=rngm2:clone() | |
| 2496 | rngm3.Parent = rng3 | |
| 2497 | rngm3.Scale = Vector3.new(8, 8, 8) | |
| 2498 | rngm4 = rngm2:clone() | |
| 2499 | rngm4.Parent = rng4 | |
| 2500 | rngm4.Scale = Vector3.new(6, 6, 6) | |
| 2501 | local bem = Instance.new("Part", larm)
| |
| 2502 | bem.Anchored = true | |
| 2503 | bem.BrickColor = BrickColor.new("White")
| |
| 2504 | bem.Transparency=1 | |
| 2505 | bem.CanCollide = false | |
| 2506 | bem.FormFactor = 3 | |
| 2507 | bem.Name = "Beam" .. shot | |
| 2508 | bem.Size = Vector3.new(1, 1, 1) | |
| 2509 | bem.Transparency = 0.55 | |
| 2510 | bem.Color = a(); | |
| 2511 | bem.TopSurface = 0 | |
| 2512 | bem.BottomSurface = 0 | |
| 2513 | local bemm = Instance.new("SpecialMesh", bem)
| |
| 2514 | bemm.MeshType = 4 | |
| 2515 | bemm.Scale = Vector3.new(1, 4, 4) | |
| 2516 | local out = Instance.new("Part", larm)
| |
| 2517 | out.Anchored = true | |
| 2518 | out.BrickColor = BrickColor.new("White")
| |
| 2519 | out.CanCollide = false | |
| 2520 | out.FormFactor = 3 | |
| 2521 | out.Name = "Out" | |
| 2522 | out.Size = Vector3.new(4, 4, 4) | |
| 2523 | out.Transparency = 0.35 | |
| 2524 | out.TopSurface = 0 | |
| 2525 | out.BottomSurface = 0 | |
| 2526 | local outm = Instance.new("SpecialMesh", out)
| |
| 2527 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
| 2528 | outm.Scale = Vector3.new(6, 4, 6) | |
| 2529 | local bnd = Instance.new("Part", larm)
| |
| 2530 | bnd.Anchored = true | |
| 2531 | bnd.BrickColor = BrickColor.new("Really red")
| |
| 2532 | bnd.CanCollide = false | |
| 2533 | bnd.FormFactor = 3 | |
| 2534 | bnd.Name = "Bend" | |
| 2535 | bnd.Size = Vector3.new(1, 1, 1) | |
| 2536 | bnd.Transparency = 1 | |
| 2537 | bnd.TopSurface = 0 | |
| 2538 | bnd.BottomSurface = 0 | |
| 2539 | local bndm = Instance.new("SpecialMesh", bnd)
| |
| 2540 | bndm.MeshType = 3 | |
| 2541 | bndm.Scale = Vector3.new(8, 8, 8) | |
| 2542 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
| 2543 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 2544 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
| 2545 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
| 2546 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
| 2547 | rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0) | |
| 2548 | Debounces.Shewt = true | |
| 2549 | coroutine.wrap(function() | |
| 2550 | for i = 1, 20, 0.2 do | |
| 2551 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
| 2552 | rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1) | |
| 2553 | rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1) | |
| 2554 | rng.Transparency = i/20 | |
| 2555 | rng3.Transparency = 1/24 | |
| 2556 | rng4.Transparency = i/26 | |
| 2557 | wait() | |
| 2558 | end | |
| 2559 | wait() | |
| 2560 | rng:Destroy() | |
| 2561 | end)() | |
| 2562 | if Debounces.Shewt == true then | |
| 2563 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
| |
| 2564 | hit = ht.Parent | |
| 2565 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
| |
| 2566 | if HasntTouched(hit.Name) == true and deb == false then | |
| 2567 | deb = true | |
| 2568 | coroutine.wrap(function() | |
| 2569 | hit:FindFirstChild("Humanoid").PlatformStand = true
| |
| 2570 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
| |
| 2571 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
| |
| 2572 | end)() | |
| 2573 | table.insert(Touche, hit.Name) | |
| 2574 | deb = false | |
| 2575 | end | |
| 2576 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
| |
| 2577 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
| 2578 | deb = true | |
| 2579 | coroutine.wrap(function() | |
| 2580 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
| |
| 2581 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
| |
| 2582 | wait(1) | |
| 2583 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
| |
| 2584 | end)() | |
| 2585 | table.insert(Touche, hit.Parent.Name) | |
| 2586 | deb = false | |
| 2587 | for i, v in pairs(Touche) do | |
| 2588 | print(v) | |
| 2589 | end | |
| 2590 | end | |
| 2591 | end | |
| 2592 | end) | |
| 2593 | end | |
| 2594 | for i = 0, 260, 8 do | |
| 2595 | bem.Size = Vector3.new(i, 3, 3) | |
| 2596 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
| 2597 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
| 2598 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
| 2599 | bnd.Size = Vector3.new(1,1,1) | |
| 2600 | bndm.Scale = Vector3.new(8,8,8) | |
| 2601 | if i % 10 == 0 then | |
| 2602 | local newRng = rng2:Clone() | |
| 2603 | newRng.Parent = larm | |
| 2604 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
| 2605 | local newRngm = rngm2:clone() | |
| 2606 | newRngm.Parent=newRng | |
| 2607 | coroutine.wrap(function() | |
| 2608 | for i = 1, 10, 0.2 do | |
| 2609 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3) | |
| 2610 | newRng.Transparency = i/10 | |
| 2611 | wait() | |
| 2612 | end | |
| 2613 | wait() | |
| 2614 | newRng:Destroy() | |
| 2615 | end)() | |
| 2616 | end | |
| 2617 | wait() | |
| 2618 | end | |
| 2619 | wait() | |
| 2620 | Debounces.Shewt = false | |
| 2621 | bem:Destroy() | |
| 2622 | out:Destroy() | |
| 2623 | bnd:Destroy() | |
| 2624 | Debounces.Ready = false | |
| 2625 | for i, v in pairs(Touche) do | |
| 2626 | table.remove(Touche, i) | |
| 2627 | end | |
| 2628 | wait() | |
| 2629 | table.insert(Touche, char.Name) | |
| 2630 | Debounces.NoIdl = false | |
| 2631 | if Debounces.CanAttack == false then | |
| 2632 | Debounces.CanAttack = true | |
| 2633 | end | |
| 2634 | end | |
| 2635 | end | |
| 2636 | end) | |
| 2637 | ---------------------------------------------------- | |
| 2638 | --[[mouse.KeyDown:connect(function(key) | |
| 2639 | if key == "y" then | |
| 2640 | if Debounces.CanAttack == true then | |
| 2641 | Debounces.CanAttack = false | |
| 2642 | Debounces.NoIdl = true | |
| 2643 | Debounces.on = true | |
| 2644 | local shell = Instance.new("Part",torso)
| |
| 2645 | shell.BrickColor = BrickColor.new("Royal purple")
| |
| 2646 | shell.Anchored = false | |
| 2647 | shell.CanCollide = false | |
| 2648 | shell.Locked = true | |
| 2649 | shell.TopSurface = "SmoothNoOutlines" | |
| 2650 | shell.BottomSurface = "SmoothNoOutlines" | |
| 2651 | shell.Size = Vector3.new(1.2,1.2,1.2) | |
| 2652 | shell.FormFactor = 3 | |
| 2653 | local shellm = Instance.new("SpecialMesh",shell)
| |
| 2654 | shellm.MeshType = "Sphere" | |
| 2655 | shellm.Scale = Vector3.new(1.2,1.2,1.2) | |
| 2656 | Omega = function() | |
| 2657 | local X = Instance.new("Part",char)
| |
| 2658 | local O = Instance.new("ObjectValue",X)
| |
| 2659 | O.Name = "creator" | |
| 2660 | X.Locked = true | |
| 2661 | X.Name = "Shell" | |
| 2662 | X.Anchored = false | |
| 2663 | X.CanCollide = false | |
| 2664 | X.Transparency = 0.5 | |
| 2665 | X.Reflectance = 0 | |
| 2666 | X.BottomSurface = 0 | |
| 2667 | X.TopSurface = 0 | |
| 2668 | X.Shape = 0 | |
| 2669 | local V = Instance.new("ObjectValue",X)
| |
| 2670 | V.Value = char | |
| 2671 | V.Name = "creator" | |
| 2672 | X.BrickColor = BrickColor.new("Royal purple")
| |
| 2673 | X.Size = Vector3.new(40,40,40) | |
| 2674 | --X.Material = "Neon" | |
| 2675 | local Z = Instance.new("SpecialMesh",X)
| |
| 2676 | Z.MeshType = "Sphere" | |
| 2677 | Z.Scale = Vector3.new(0.2,0.2,0.2) | |
| 2678 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
| 2679 | local bv = Instance.new("BodyVelocity",X)
| |
| 2680 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 2681 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
| 2682 | bv.velocity = root.CFrame.lookVector*10 | |
| 2683 | Explode = X.Touched:connect(function(hit) | |
| 2684 | if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then
| |
| 2685 | local cf = X.CFrame | |
| 2686 | bv:Destroy() | |
| 2687 | X.Anchored = true | |
| 2688 | Z:Remove() | |
| 2689 | Explode:disconnect() | |
| 2690 | X.Size = Vector3.new(3,3,3) | |
| 2691 | X.Touched:connect(function(hit) end) | |
| 2692 | X.CanCollide = false | |
| 2693 | for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do | |
| 2694 | if v:FindFirstChild('Humanoid') then
| |
| 2695 | v.Humanoid:TakeDamage(math.random(80,120)) | |
| 2696 | end | |
| 2697 | end | |
| 2698 | for i = 1, (40) do rs:wait() | |
| 2699 | X.Transparency = X.Transparency + (1/40) | |
| 2700 | X.Size = X.Size + Vector3.new(1,1,1) | |
| 2701 | X.CFrame = root.CFrame * CFrame.new(0,0,-10) | |
| 2702 | end | |
| 2703 | X:Destroy() | |
| 2704 | end | |
| 2705 | end) | |
| 2706 | end | |
| 2707 | for i = 1,200 do | |
| 2708 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 2709 | 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) | |
| 2710 | 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) | |
| 2711 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2712 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2713 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2714 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2715 | if Debounces.on == false then break end | |
| 2716 | rs:wait() | |
| 2717 | end | |
| 2718 | for i = 1,30 do | |
| 2719 | shell.CFrame = torso.CFrame * CFrame.new(0,8,0) | |
| 2720 | 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) | |
| 2721 | 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) | |
| 2722 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2723 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2724 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2725 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2726 | if Debounces.on == false then break end | |
| 2727 | rs:wait() | |
| 2728 | end | |
| 2729 | for i = 1,40 do | |
| 2730 | shell.CFrame = torso.CFrame * CFrame.new(0,20,0) | |
| 2731 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
| 2732 | 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) | |
| 2733 | 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) | |
| 2734 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2735 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2736 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2737 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2738 | if Debounces.on == false then break end | |
| 2739 | rs:wait() | |
| 2740 | end | |
| 2741 | for i = 1,40 do | |
| 2742 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-30) | |
| 2743 | 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) | |
| 2744 | 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) | |
| 2745 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2746 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2747 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2748 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2749 | if Debounces.on == false then break end | |
| 2750 | rs:wait() | |
| 2751 | end | |
| 2752 | for i = 1,60 do | |
| 2753 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
| 2754 | 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) | |
| 2755 | 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) | |
| 2756 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2757 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2758 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2759 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2760 | if Debounces.on == false then break end | |
| 2761 | rs:wait() | |
| 2762 | end | |
| 2763 | for i = 1,60 do | |
| 2764 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
| 2765 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
| 2766 | 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) | |
| 2767 | 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) | |
| 2768 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 2769 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 2770 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2771 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
| 2772 | if Debounces.on == false then break end | |
| 2773 | rs:wait() | |
| 2774 | end | |
| 2775 | if Debounces.CanAttack == false then | |
| 2776 | Debounces.CanAttack = true | |
| 2777 | Debounces.NoIdl = false | |
| 2778 | Debounces.on = false | |
| 2779 | end | |
| 2780 | end | |
| 2781 | end | |
| 2782 | end)]]-- | |
| 2783 | ---------------------------------------------------- | |
| 2784 | Charging = false | |
| 2785 | mouse.KeyDown:connect(function(key) | |
| 2786 | if key == "r" then | |
| 2787 | if Charging == false then | |
| 2788 | Charging = true | |
| 2789 | if Debounces.CanAttack == true then | |
| 2790 | Debounces.CanAttack = false | |
| 2791 | Debounces.NoIdl = true | |
| 2792 | Debounces.on = true | |
| 2793 | for i = 1,20 do | |
| 2794 | 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) | |
| 2795 | 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) | |
| 2796 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 2797 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
| 2798 | 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) | |
| 2799 | 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) | |
| 2800 | if Debounces.on == false then break end | |
| 2801 | rs:wait() | |
| 2802 | end | |
| 2803 | --[[for i = 1,20 do | |
| 2804 | 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) | |
| 2805 | 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) | |
| 2806 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
| 2807 | 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) | |
| 2808 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
| 2809 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
| 2810 | if Debounces.on == false then break end | |
| 2811 | rs:wait() | |
| 2812 | end]]-- | |
| 2813 | pt=Instance.new('Part',torso)
| |
| 2814 | pt.Anchored=true | |
| 2815 | pt.CanCollide=false | |
| 2816 | pt.Locked = true | |
| 2817 | pt.FormFactor='Custom' | |
| 2818 | pt.Size=Vector3.new(1,1,1) | |
| 2819 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 2820 | pt.Transparency=.6 | |
| 2821 | pt.BrickColor=BrickColor.new('White')
| |
| 2822 | msh=Instance.new('SpecialMesh',pt)
| |
| 2823 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 2824 | msh.Scale=Vector3.new(8,4,8) | |
| 2825 | pt2=pt:clone() | |
| 2826 | pt2.Parent = torso | |
| 2827 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
| 2828 | pt2.BrickColor=BrickColor.new("Royal purple")
| |
| 2829 | msh2=msh:clone() | |
| 2830 | msh2.Parent=pt2 | |
| 2831 | msh2.Scale=Vector3.new(10,5,10) | |
| 2832 | ||
| 2833 | 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}
| |
| 2834 | ||
| 2835 | bl = Instance.new("Part", char)
| |
| 2836 | bl.Color = a(); | |
| 2837 | bl.Locked = true | |
| 2838 | bl.Name = "Shell" | |
| 2839 | --bl.BrickColor = BrickColor.new("White")
| |
| 2840 | bl.Anchored = true | |
| 2841 | bl.CanCollide = false | |
| 2842 | bl.Transparency = 0 | |
| 2843 | bl.Reflectance = 0 | |
| 2844 | bl.BottomSurface = 0 | |
| 2845 | bl.TopSurface = 0 | |
| 2846 | bl.Shape = 0 | |
| 2847 | blm = Instance.new("SpecialMesh",bl)
| |
| 2848 | blm.MeshType = "Sphere" | |
| 2849 | blm.Scale = Vector3.new(1,1,1) | |
| 2850 | blm.MeshId = "rbxassetid://9982590" | |
| 2851 | ||
| 2852 | coroutine.resume(coroutine.create(function() | |
| 2853 | for i=1, math.huge, 4 do | |
| 2854 | if Charging == true then | |
| 2855 | rs:wait() | |
| 2856 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
| 2857 | blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1) | |
| 2858 | bl.Transparency = bl.Transparency + 0.005 | |
| 2859 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
| 2860 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
| 2861 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
| 2862 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
| 2863 | elseif Charging == false then break | |
| 2864 | end | |
| 2865 | end | |
| 2866 | end)) | |
| 2867 | ||
| 2868 | repeat | |
| 2869 | local p = Instance.new('Part',torso)
| |
| 2870 | p.formFactor = 'Custom' | |
| 2871 | p.Size = Vector3.new(1,1,1) | |
| 2872 | p.BrickColor = workspace.Base.BrickColor | |
| 2873 | p.CanCollide = false | |
| 2874 | p.Transparency = 0 | |
| 2875 | p.Anchored = true | |
| 2876 | p.Locked=true | |
| 2877 | p.Material = workspace.Base.Material | |
| 2878 | s = math.random(1,40)/10 | |
| 2879 | local m = Instance.new("BlockMesh",p)
| |
| 2880 | m.Scale = Vector3.new(s,s,s) | |
| 2881 | 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()) | |
| 2882 | --[[coroutine.wrap(function() | |
| 2883 | wait(2) | |
| 2884 | while Charging == true do | |
| 2885 | wait(2) | |
| 2886 | GroundWave1() | |
| 2887 | wait(2) | |
| 2888 | end | |
| 2889 | end)()]]-- | |
| 2890 | Spawn(function() | |
| 2891 | while rs:wait() do | |
| 2892 | if Charging == true then | |
| 2893 | 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))) | |
| 2894 | 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))) | |
| 2895 | 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)) | |
| 2896 | torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
| 2897 | 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))) | |
| 2898 | 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))) | |
| 2899 | elseif Charging == false then break | |
| 2900 | end | |
| 2901 | end | |
| 2902 | end) | |
| 2903 | Spawn(function() | |
| 2904 | while rs:wait() do | |
| 2905 | if p.Transparency >= 1 then p:Destroy() break end | |
| 2906 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
| 2907 | p.Transparency = p.Transparency+0.01 | |
| 2908 | end | |
| 2909 | end) | |
| 2910 | wait(.3) | |
| 2911 | until Charging == false | |
| 2912 | end | |
| 2913 | end | |
| 2914 | end | |
| 2915 | end) | |
| 2916 | ---------------------------------------------------- | |
| 2917 | mouse.KeyUp:connect(function(key) | |
| 2918 | if key == "r" then | |
| 2919 | if Charging == true then | |
| 2920 | Charging = false | |
| 2921 | pt:Destroy() | |
| 2922 | pt2:Destroy() | |
| 2923 | bl:Destroy() | |
| 2924 | if Debounces.CanAttack == false then | |
| 2925 | Debounces.CanAttack = true | |
| 2926 | Debounces.NoIdl = false | |
| 2927 | Debounces.on = false | |
| 2928 | end | |
| 2929 | end | |
| 2930 | end | |
| 2931 | end) | |
| 2932 | ---------------------------------------------------- | |
| 2933 | mouse.KeyDown:connect(function(key) | |
| 2934 | if key == "g" then | |
| 2935 | if Debounces.CanAttack == true then | |
| 2936 | Debounces.CanAttack = false | |
| 2937 | Debounces.NoIdl = true | |
| 2938 | Debounces.on = true | |
| 2939 | local shell = Instance.new("Part",torso)
| |
| 2940 | shell.BrickColor = BrickColor.new("Royal purple")
| |
| 2941 | shell.Anchored = true | |
| 2942 | shell.CanCollide = false | |
| 2943 | shell.Locked = true | |
| 2944 | shell.TopSurface = "SmoothNoOutlines" | |
| 2945 | shell.BottomSurface = "SmoothNoOutlines" | |
| 2946 | shell.Size = Vector3.new(1,1,1) | |
| 2947 | shellm = Instance.new("SpecialMesh",shell)
| |
| 2948 | shellm.MeshType = "Sphere" | |
| 2949 | shellm.Scale = Vector3.new(1,1,1) | |
| 2950 | local shell2 = Instance.new("Part",torso)
| |
| 2951 | shell2.BrickColor = BrickColor.new("Royal purple")
| |
| 2952 | shell2.Anchored = true | |
| 2953 | shell2.CanCollide = false | |
| 2954 | shell2.Locked = true | |
| 2955 | shell2.TopSurface = "SmoothNoOutlines" | |
| 2956 | shell2.BottomSurface = "SmoothNoOutlines" | |
| 2957 | shell2.Size = Vector3.new(1,1,1) | |
| 2958 | shellm2 = Instance.new("SpecialMesh",shell2)
| |
| 2959 | shellm2.MeshType = "Sphere" | |
| 2960 | shellm2.Scale = Vector3.new(1,1,1) | |
| 2961 | ||
| 2962 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 2963 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 2964 | local List = {}
| |
| 2965 | for i,v in pairs(workspace:GetChildren())do | |
| 2966 | if v:IsA("Model")then
| |
| 2967 | if v:findFirstChild("Torso")then
| |
| 2968 | if v ~= char then | |
| 2969 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 2970 | table.insert(List,v) | |
| 2971 | end | |
| 2972 | end | |
| 2973 | end | |
| 2974 | end | |
| 2975 | end | |
| 2976 | return List | |
| 2977 | end | |
| 2978 | ||
| 2979 | Shell = function() | |
| 2980 | local X = Instance.new("Part",char)
| |
| 2981 | local O = Instance.new("ObjectValue",X)
| |
| 2982 | O.Name = "creator" | |
| 2983 | X.Locked = true | |
| 2984 | X.Name = "Shell" | |
| 2985 | X.Anchored = false | |
| 2986 | X.CanCollide = false | |
| 2987 | X.Transparency = 0 | |
| 2988 | X.Reflectance = 0 | |
| 2989 | X.BottomSurface = 0 | |
| 2990 | X.TopSurface = 0 | |
| 2991 | X.Shape = 0 | |
| 2992 | local V = Instance.new("ObjectValue",X)
| |
| 2993 | V.Value = char | |
| 2994 | V.Name = "creator" | |
| 2995 | X.BrickColor = BrickColor.new("Royal purple")
| |
| 2996 | X.Size = Vector3.new(1,1,1) | |
| 2997 | --X.Material = "Neon" | |
| 2998 | local Z = Instance.new("SpecialMesh",X)
| |
| 2999 | Z.MeshType = "Sphere" | |
| 3000 | Z.Scale = Vector3.new(1,1,1) | |
| 3001 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
| 3002 | local bv = Instance.new("BodyVelocity",X)
| |
| 3003 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 3004 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
| 3005 | bv.velocity = root.CFrame.lookVector*65 | |
| 3006 | Explode = X.Touched:connect(function(hit) | |
| 3007 | if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
| |
| 3008 | local cf = X.CFrame | |
| 3009 | bv:Destroy() | |
| 3010 | X.Anchored = true | |
| 3011 | Z:Remove() | |
| 3012 | Explode:disconnect() | |
| 3013 | X.Size = Vector3.new(3,3,3) | |
| 3014 | X.Touched:connect(function(hit) end) | |
| 3015 | X.CanCollide = false | |
| 3016 | for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do | |
| 3017 | if v:FindFirstChild('Humanoid') then
| |
| 3018 | v.Humanoid:TakeDamage(math.random(6,12)) | |
| 3019 | end | |
| 3020 | end | |
| 3021 | for i = 1, (40) do rs:wait() | |
| 3022 | X.Transparency = X.Transparency + (1/40) | |
| 3023 | X.Size = X.Size + Vector3.new(1,1,1) | |
| 3024 | X.CFrame = cf | |
| 3025 | end | |
| 3026 | X:Destroy() | |
| 3027 | end | |
| 3028 | end) | |
| 3029 | end | |
| 3030 | m = Instance.new("Sound",char)
| |
| 3031 | m.SoundId = "rbxassetid://367850840" | |
| 3032 | m.Pitch = 1 | |
| 3033 | m.Volume = .8 | |
| 3034 | ||
| 3035 | ||
| 3036 | Shell() | |
| 3037 | for i = 1, 10 do | |
| 3038 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3039 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3040 | 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) | |
| 3041 | 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) | |
| 3042 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7) | |
| 3043 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7) | |
| 3044 | 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) | |
| 3045 | 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) | |
| 3046 | if Debounces.on == false then break end | |
| 3047 | rs:wait() | |
| 3048 | m = Instance.new("Sound",larm)
| |
| 3049 | m.SoundId = "rbxassetid://367850840" | |
| 3050 | m.Pitch = 1 | |
| 3051 | m.Volume = .8 | |
| 3052 | m:Play() | |
| 3053 | end | |
| 3054 | wait(2) | |
| 3055 | Shell() | |
| 3056 | shell.Transparency = 1 | |
| 3057 | for i = 1, 10 do | |
| 3058 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3059 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3060 | 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) | |
| 3061 | 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) | |
| 3062 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 3063 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 3064 | 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) | |
| 3065 | 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) | |
| 3066 | if Debounces.on == false then break end | |
| 3067 | rs:wait() | |
| 3068 | m2 = Instance.new("Sound",rarm)
| |
| 3069 | m2.SoundId = "rbxassetid://367850840" | |
| 3070 | m2.Pitch = 1 | |
| 3071 | m2.Volume = .8 | |
| 3072 | m2:Play() | |
| 3073 | end | |
| 3074 | wait(2) | |
| 3075 | Shell() | |
| 3076 | shell.Transparency = 0 | |
| 3077 | shell2.Transparency = 1 | |
| 3078 | for i = 1, 10 do | |
| 3079 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3080 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3081 | 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) | |
| 3082 | 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) | |
| 3083 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 3084 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 3085 | 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) | |
| 3086 | 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) | |
| 3087 | if Debounces.on == false then break end | |
| 3088 | rs:wait() | |
| 3089 | m3 = Instance.new("Sound",larm)
| |
| 3090 | m3.SoundId = "rbxassetid://367850840" | |
| 3091 | m3.Pitch = 1 | |
| 3092 | m3.Volume = .8 | |
| 3093 | m3:Play() | |
| 3094 | end | |
| 3095 | wait(2) | |
| 3096 | Shell() | |
| 3097 | shell2.Transparency = 0 | |
| 3098 | shell.Transparency = 1 | |
| 3099 | for i = 1, 10 do | |
| 3100 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3101 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3102 | 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) | |
| 3103 | 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) | |
| 3104 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 3105 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 3106 | 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) | |
| 3107 | 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) | |
| 3108 | if Debounces.on == false then break end | |
| 3109 | rs:wait() | |
| 3110 | m4 = Instance.new("Sound",rarm)
| |
| 3111 | m4.SoundId = "rbxassetid://367850840" | |
| 3112 | m4.Pitch = 1 | |
| 3113 | m4.Volume = .8 | |
| 3114 | m4:Play() | |
| 3115 | end | |
| 3116 | Shell() | |
| 3117 | shell.Transparency = 0 | |
| 3118 | shell2.Transparency = 1 | |
| 3119 | for i = 1, 10 do | |
| 3120 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3121 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3122 | 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) | |
| 3123 | 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) | |
| 3124 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 3125 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 3126 | 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) | |
| 3127 | 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) | |
| 3128 | if Debounces.on == false then break end | |
| 3129 | rs:wait() | |
| 3130 | m:Play() | |
| 3131 | end | |
| 3132 | Shell() | |
| 3133 | shell2.Transparency = 0 | |
| 3134 | shell.Transparency = 1 | |
| 3135 | for i = 1, 10 do | |
| 3136 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3137 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3138 | 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) | |
| 3139 | 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) | |
| 3140 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 3141 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 3142 | 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) | |
| 3143 | 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) | |
| 3144 | if Debounces.on == false then break end | |
| 3145 | rs:wait() | |
| 3146 | m:Play() | |
| 3147 | end | |
| 3148 | Shell() | |
| 3149 | shell.Transparency = 0 | |
| 3150 | shell2.Transparency = 1 | |
| 3151 | for i = 1, 10 do | |
| 3152 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3153 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3154 | 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) | |
| 3155 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5) | |
| 3156 | 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) | |
| 3157 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 3158 | 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) | |
| 3159 | 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) | |
| 3160 | if Debounces.on == false then break end | |
| 3161 | rs:wait() | |
| 3162 | m:Play() | |
| 3163 | end | |
| 3164 | Shell() | |
| 3165 | shell2.Transparency = 0 | |
| 3166 | shell.Transparency = 1 | |
| 3167 | for i = 1, 10 do | |
| 3168 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3169 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3170 | 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) | |
| 3171 | 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) | |
| 3172 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 3173 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 3174 | 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) | |
| 3175 | 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) | |
| 3176 | if Debounces.on == false then break end | |
| 3177 | rs:wait() | |
| 3178 | m:Play() | |
| 3179 | end | |
| 3180 | Shell() | |
| 3181 | shell.Transparency = 0 | |
| 3182 | shell2.Transparency = 1 | |
| 3183 | for i = 1, 10 do | |
| 3184 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3185 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3186 | 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) | |
| 3187 | 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) | |
| 3188 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 3189 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 3190 | 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) | |
| 3191 | 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) | |
| 3192 | if Debounces.on == false then break end | |
| 3193 | rs:wait() | |
| 3194 | m:Play() | |
| 3195 | end | |
| 3196 | Shell() | |
| 3197 | shell2.Transparency = 0 | |
| 3198 | shell.Transparency = 1 | |
| 3199 | for i = 1, 10 do | |
| 3200 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3201 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3202 | 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) | |
| 3203 | 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) | |
| 3204 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 3205 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 3206 | 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) | |
| 3207 | 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) | |
| 3208 | if Debounces.on == false then break end | |
| 3209 | rs:wait() | |
| 3210 | m:Play() | |
| 3211 | end | |
| 3212 | Shell() | |
| 3213 | shell.Transparency = 0 | |
| 3214 | shell2.Transparency = 1 | |
| 3215 | for i = 1, 10 do | |
| 3216 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3217 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3218 | 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) | |
| 3219 | 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) | |
| 3220 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 3221 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 3222 | 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) | |
| 3223 | 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) | |
| 3224 | if Debounces.on == false then break end | |
| 3225 | rs:wait() | |
| 3226 | m:Play() | |
| 3227 | ||
| 3228 | end | |
| 3229 | Shell() | |
| 3230 | shell2.Transparency = 0 | |
| 3231 | shell.Transparency = 1 | |
| 3232 | for i = 1, 10 do | |
| 3233 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3234 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3235 | 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) | |
| 3236 | 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) | |
| 3237 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
| 3238 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
| 3239 | 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) | |
| 3240 | 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) | |
| 3241 | if Debounces.on == false then break end | |
| 3242 | rs:wait() | |
| 3243 | m:Play() | |
| 3244 | ||
| 3245 | end | |
| 3246 | Shell() | |
| 3247 | shell.Transparency = 0 | |
| 3248 | shell2.Transparency = 1 | |
| 3249 | for i = 1, 10 do | |
| 3250 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
| 3251 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
| 3252 | 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) | |
| 3253 | 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) | |
| 3254 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
| 3255 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
| 3256 | 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) | |
| 3257 | 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) | |
| 3258 | if Debounces.on == false then break end | |
| 3259 | rs:wait() | |
| 3260 | m:Play() | |
| 3261 | ||
| 3262 | end | |
| 3263 | shell.Transparency = 1 | |
| 3264 | if Debounces.CanAttack == false then | |
| 3265 | Debounces.CanAttack = true | |
| 3266 | Debounces.NoIdl = false | |
| 3267 | Debounces.on = false | |
| 3268 | end | |
| 3269 | end | |
| 3270 | end | |
| 3271 | end) | |
| 3272 | ---------------------------------------------------- | |
| 3273 | Search = false | |
| 3274 | mouse.KeyDown:connect(function(key) | |
| 3275 | if key == "n" then | |
| 3276 | if Search == false then | |
| 3277 | Search = true | |
| 3278 | for i,v in pairs(game.Players:getPlayers()) do | |
| 3279 | if v.Name~=char.Name then | |
| 3280 | for j,k in pairs(v.Character:GetChildren()) do | |
| 3281 | if k:IsA("BasePart") and k.Transparency >= 1 then
| |
| 3282 | bawx=Instance.new("SelectionBox",cam)
| |
| 3283 | bawx.Color = BrickColor.new("Bright red")
| |
| 3284 | bawx.Transparency = .5 | |
| 3285 | bawx.Adornee = k | |
| 3286 | end | |
| 3287 | end | |
| 3288 | end | |
| 3289 | end | |
| 3290 | elseif Search == true then | |
| 3291 | Search = false | |
| 3292 | for i, v in pairs(cam:GetChildren()) do | |
| 3293 | if v:IsA("SelectionBox") then
| |
| 3294 | v:Destroy() | |
| 3295 | end | |
| 3296 | end | |
| 3297 | end | |
| 3298 | end | |
| 3299 | end) | |
| 3300 | ---------------------------------------------------- | |
| 3301 | Grab = false | |
| 3302 | mouse.KeyDown:connect(function(key) | |
| 3303 | if key == "z" then | |
| 3304 | Debounces.on = true | |
| 3305 | Debounces.NoIdl = true | |
| 3306 | Debounces.ks = true | |
| 3307 | if Grab == false then | |
| 3308 | gp = nil | |
| 3309 | for i = 1, 20 do | |
| 3310 | 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) | |
| 3311 | 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) | |
| 3312 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 3313 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
| 3314 | 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) | |
| 3315 | 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) | |
| 3316 | if Debounces.on == false then break end | |
| 3317 | rs:wait() | |
| 3318 | end | |
| 3319 | con1=larm.Touched:connect(function(hit) -- this is grab | |
| 3320 | ht = hit.Parent | |
| 3321 | hum1=ht:FindFirstChild('Humanoid')
| |
| 3322 | if hum1 ~= nil then | |
| 3323 | if Debounces.ks==true then | |
| 3324 | z = Instance.new("Sound",hed)
| |
| 3325 | z.SoundId = "rbxassetid://169380525" | |
| 3326 | z.Volume = 1 | |
| 3327 | z:Play() | |
| 3328 | Debounces.ks=false | |
| 3329 | end | |
| 3330 | hum1.PlatformStand=true | |
| 3331 | gp = ht | |
| 3332 | Grab = true | |
| 3333 | asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0))
| |
| 3334 | asd.Parent = larm | |
| 3335 | asd.Name = "asd" | |
| 3336 | asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0) | |
| 3337 | --[[elseif hum1 == nil then | |
| 3338 | con1:disconnect() | |
| 3339 | wait() return]]-- | |
| 3340 | end | |
| 3341 | end) | |
| 3342 | for i = 1, 20 do | |
| 3343 | 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) | |
| 3344 | 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) | |
| 3345 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
| 3346 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
| 3347 | 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) | |
| 3348 | 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) | |
| 3349 | if Debounces.on == false then break end | |
| 3350 | rs:wait() | |
| 3351 | end | |
| 3352 | if hum1 == nil then | |
| 3353 | Debounces.on = false | |
| 3354 | Debounces.NoIdl = false | |
| 3355 | end | |
| 3356 | con1:disconnect() | |
| 3357 | elseif Grab == true then | |
| 3358 | Grab = false | |
| 3359 | Punch() | |
| 3360 | z = Instance.new("Sound",hed)
| |
| 3361 | z.SoundId = "rbxassetid://169380525" | |
| 3362 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3363 | z.Volume = 1 | |
| 3364 | z:Play() | |
| 3365 | for i = 1, 10 do | |
| 3366 | 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) | |
| 3367 | 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) | |
| 3368 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 3369 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 3370 | 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) | |
| 3371 | 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) | |
| 3372 | if Debounces.on == false then break end | |
| 3373 | rs:wait() | |
| 3374 | end | |
| 3375 | Punch() | |
| 3376 | z = Instance.new("Sound",hed)
| |
| 3377 | z.SoundId = "rbxassetid://169380525" | |
| 3378 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3379 | z.Volume = 1 | |
| 3380 | z:Play() | |
| 3381 | for i = 1, 10 do | |
| 3382 | 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) | |
| 3383 | 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) | |
| 3384 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 3385 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 3386 | 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) | |
| 3387 | 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) | |
| 3388 | if Debounces.on == false then break end | |
| 3389 | rs:wait() | |
| 3390 | end | |
| 3391 | Punch() | |
| 3392 | z = Instance.new("Sound",hed)
| |
| 3393 | z.SoundId = "rbxassetid://169380525" | |
| 3394 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3395 | z.Volume = 1 | |
| 3396 | z:Play() | |
| 3397 | for i = 1, 10 do | |
| 3398 | 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) | |
| 3399 | 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) | |
| 3400 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 3401 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 3402 | 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) | |
| 3403 | 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) | |
| 3404 | if Debounces.on == false then break end | |
| 3405 | rs:wait() | |
| 3406 | end | |
| 3407 | Punch() | |
| 3408 | z = Instance.new("Sound",hed)
| |
| 3409 | z.SoundId = "rbxassetid://169380525" | |
| 3410 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3411 | z.Volume = 1 | |
| 3412 | z:Play() | |
| 3413 | for i = 1, 10 do | |
| 3414 | 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) | |
| 3415 | 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) | |
| 3416 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 3417 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 3418 | 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) | |
| 3419 | 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) | |
| 3420 | if Debounces.on == false then break end | |
| 3421 | rs:wait() | |
| 3422 | end | |
| 3423 | Punch() | |
| 3424 | z = Instance.new("Sound",hed)
| |
| 3425 | z.SoundId = "rbxassetid://169380525" | |
| 3426 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3427 | z.Volume = 1 | |
| 3428 | z:Play() | |
| 3429 | for i = 1, 10 do | |
| 3430 | 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) | |
| 3431 | 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) | |
| 3432 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 3433 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 3434 | 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) | |
| 3435 | 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) | |
| 3436 | if Debounces.on == false then break end | |
| 3437 | rs:wait() | |
| 3438 | end | |
| 3439 | Punch() | |
| 3440 | z = Instance.new("Sound",hed)
| |
| 3441 | z.SoundId = "rbxassetid://169380525" | |
| 3442 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3443 | z.Volume = 1 | |
| 3444 | z:Play() | |
| 3445 | for i = 1, 10 do | |
| 3446 | 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) | |
| 3447 | 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) | |
| 3448 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 3449 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 3450 | 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) | |
| 3451 | 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) | |
| 3452 | if Debounces.on == false then break end | |
| 3453 | rs:wait() | |
| 3454 | end | |
| 3455 | Punch() | |
| 3456 | z = Instance.new("Sound",hed)
| |
| 3457 | z.SoundId = "rbxassetid://169380525" | |
| 3458 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3459 | z.Volume = 1 | |
| 3460 | z:Play() | |
| 3461 | for i = 1, 10 do | |
| 3462 | 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) | |
| 3463 | 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) | |
| 3464 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 3465 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 3466 | 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) | |
| 3467 | 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) | |
| 3468 | if Debounces.on == false then break end | |
| 3469 | rs:wait() | |
| 3470 | end | |
| 3471 | Punch() | |
| 3472 | z = Instance.new("Sound",hed)
| |
| 3473 | z.SoundId = "rbxassetid://169380525" | |
| 3474 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3475 | z.Volume = 1 | |
| 3476 | z:Play() | |
| 3477 | for i = 1, 10 do | |
| 3478 | 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) | |
| 3479 | 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) | |
| 3480 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 3481 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 3482 | 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) | |
| 3483 | 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) | |
| 3484 | if Debounces.on == false then break end | |
| 3485 | rs:wait() | |
| 3486 | end | |
| 3487 | Punch() | |
| 3488 | z = Instance.new("Sound",hed)
| |
| 3489 | z.SoundId = "rbxassetid://169380525" | |
| 3490 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3491 | z.Volume = 1 | |
| 3492 | z:Play() | |
| 3493 | for i = 1, 10 do | |
| 3494 | 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) | |
| 3495 | 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) | |
| 3496 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 3497 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 3498 | 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) | |
| 3499 | 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) | |
| 3500 | if Debounces.on == false then break end | |
| 3501 | rs:wait() | |
| 3502 | end | |
| 3503 | Punch() | |
| 3504 | z = Instance.new("Sound",hed)
| |
| 3505 | z.SoundId = "rbxassetid://169380525" | |
| 3506 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3507 | z.Volume = 1 | |
| 3508 | z:Play() | |
| 3509 | for i = 1, 10 do | |
| 3510 | 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) | |
| 3511 | 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) | |
| 3512 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 3513 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 3514 | 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) | |
| 3515 | 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) | |
| 3516 | if Debounces.on == false then break end | |
| 3517 | rs:wait() | |
| 3518 | end | |
| 3519 | Punch() | |
| 3520 | z = Instance.new("Sound",hed)
| |
| 3521 | z.SoundId = "rbxassetid://169380525" | |
| 3522 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3523 | z.Volume = 1 | |
| 3524 | z:Play() | |
| 3525 | for i = 1, 10 do | |
| 3526 | 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) | |
| 3527 | 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) | |
| 3528 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
| 3529 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
| 3530 | 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) | |
| 3531 | 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) | |
| 3532 | if Debounces.on == false then break end | |
| 3533 | rs:wait() | |
| 3534 | end | |
| 3535 | Punch() | |
| 3536 | z = Instance.new("Sound",hed)
| |
| 3537 | z.SoundId = "rbxassetid://169380525" | |
| 3538 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 3539 | z.Volume = 1 | |
| 3540 | z:Play() | |
| 3541 | for i = 1, 10 do | |
| 3542 | 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) | |
| 3543 | 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) | |
| 3544 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
| 3545 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
| 3546 | 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) | |
| 3547 | 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) | |
| 3548 | if Debounces.on == false then break end | |
| 3549 | rs:wait() | |
| 3550 | end | |
| 3551 | con1:disconnect() | |
| 3552 | Debounces.on = false | |
| 3553 | Debounces.NoIdl = false | |
| 3554 | if gp ~= nil then | |
| 3555 | gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140
| |
| 3556 | for i,v in pairs(larm:GetChildren()) do | |
| 3557 | if v.Name == "asd" and v:IsA("Weld") then
| |
| 3558 | v:Remove() | |
| 3559 | end | |
| 3560 | end | |
| 3561 | --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
| |
| 3562 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
| 3563 | bv.P = 125000 | |
| 3564 | bv.velocity = char.Head.CFrame.lookVector * 200]]-- | |
| 3565 | hum1=nil | |
| 3566 | ht=nil | |
| 3567 | Debounces.on = false | |
| 3568 | Debounces.NoIdl = false | |
| 3569 | elseif ht == nil then wait() | |
| 3570 | Grab = false | |
| 3571 | Debounces.on = false | |
| 3572 | Debounces.NoIdl = false | |
| 3573 | end | |
| 3574 | end | |
| 3575 | end | |
| 3576 | end) | |
| 3577 | ---------------------------------------------------- | |
| 3578 | mouse.KeyDown:connect(function(key) | |
| 3579 | if string.byte(key) == 52 then | |
| 3580 | char.Humanoid.WalkSpeed = 60 | |
| 3581 | end | |
| 3582 | end) | |
| 3583 | mouse.KeyUp:connect(function(key) | |
| 3584 | if string.byte(key) == 52 then | |
| 3585 | char.Humanoid.WalkSpeed = 16 | |
| 3586 | end | |
| 3587 | end) | |
| 3588 | ------------------------------- | |
| 3589 | local animpose = "Idle" | |
| 3590 | local lastanimpose = "Idle" | |
| 3591 | local sine = 0 | |
| 3592 | local change = 1 | |
| 3593 | local val = 0 | |
| 3594 | local ffing = false | |
| 3595 | ------------------------------- | |
| 3596 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 3597 | --[[if char.Humanoid.Jump == true then | |
| 3598 | jump = true | |
| 3599 | else | |
| 3600 | jump = false | |
| 3601 | end]] | |
| 3602 | char.Humanoid.FreeFalling:connect(function(f) | |
| 3603 | if f then | |
| 3604 | ffing = true | |
| 3605 | else | |
| 3606 | ffing = false | |
| 3607 | end | |
| 3608 | end) | |
| 3609 | sine = sine + change | |
| 3610 | if jumpn == true then | |
| 3611 | animpose = "Jumping" | |
| 3612 | elseif ffing == true then | |
| 3613 | animpose = "Freefalling" | |
| 3614 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
| 3615 | animpose = "Idle" | |
| 3616 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
| 3617 | animpose = "Walking" | |
| 3618 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
| 3619 | animpose = "Running" | |
| 3620 | end | |
| 3621 | if animpose ~= lastanimpose then | |
| 3622 | sine = 0 | |
| 3623 | if Debounces.NoIdl == false then | |
| 3624 | if animpose == "Idle" then | |
| 3625 | for i = 1, 2 do | |
| 3626 | 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) | |
| 3627 | 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) | |
| 3628 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
| 3629 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3630 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 3631 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 3632 | end | |
| 3633 | elseif animpose == "Walking" then | |
| 3634 | for i = 1, 2 do | |
| 3635 | 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) | |
| 3636 | 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) | |
| 3637 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
| 3638 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
| 3639 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
| 3640 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
| 3641 | end | |
| 3642 | elseif animpose == "Running" then | |
| 3643 | for i = 1, 2 do | |
| 3644 | 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) | |
| 3645 | 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) | |
| 3646 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4) | |
| 3647 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4) | |
| 3648 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4) | |
| 3649 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4) | |
| 3650 | wait() | |
| 3651 | end | |
| 3652 | end | |
| 3653 | else | |
| 3654 | end | |
| 3655 | end | |
| 3656 | lastanimpose = animpose | |
| 3657 | if Debounces.NoIdl == false then | |
| 3658 | if animpose == "Idle" then | |
| 3659 | change = 0.5 | |
| 3660 | 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) | |
| 3661 | 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) | |
| 3662 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.53,-.1)*CFrame.Angles(math.rad(-5+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
| 3663 | 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) | |
| 3664 | ||
| 3665 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(-1)), 0.4) | |
| 3666 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(1)), 0.4) | |
| 3667 | ||
| 3668 | --[[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) | |
| 3669 | 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) ]] | |
| 3670 | ||
| 3671 | elseif animpose == "Walking" then | |
| 3672 | change = 1 | |
| 3673 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-32),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
| 3674 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-32),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
| 3675 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.53, -.1) * CFrame.Angles(math.rad(-5),0,0), 0.4) | |
| 3676 | 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) | |
| 3677 | ||
| 3678 | ||
| 3679 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(-1)), 0.4) | |
| 3680 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(1)), 0.4) | |
| 3681 | ||
| 3682 | --[[lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
| 3683 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) ]] | |
| 3684 | ||
| 3685 | elseif animpose == "Running" then | |
| 3686 | change = 1 | |
| 3687 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.35,.3)*CFrame.Angles(math.rad(-30),math.rad(-14),math.rad(-30+2*math.cos(sine/18))), 0.2) | |
| 3688 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,0.35,.2)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(30+2*math.cos(sine/18))), 0.2) | |
| 3689 | --larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,0.35,.2)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(30+2*math.cos(sine/18))), 0.2) | |
| 3690 | ||
| 3691 | --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) | |
| 3692 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.53, -.1) * CFrame.Angles(math.rad(-5),0,0), 0.4) | |
| 3693 | --hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4) | |
| 3694 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/24), 0) * CFrame.Angles(math.rad(-10),math.rad(-0), math.rad(0)), 0.2) | |
| 3695 | ||
| 3696 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(-1)), 0.4) | |
| 3697 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(1)), 0.4) | |
| 3698 | ||
| 3699 | --[[lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.8, 0.1) * CFrame.Angles(math.rad(-10), math.rad(10), math.rad(0)), 0.4) | |
| 3700 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.8, 0.1) * CFrame.Angles(math.rad(-10), math.rad(10), math.rad(0)), 0.4) ]] | |
| 3701 | --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) | |
| 3702 | end | |
| 3703 | end | |
| 3704 | end) | |
| 3705 | ||
| 3706 | hum.MaxHealth = 9001 | |
| 3707 | wait(3) | |
| 3708 | hum.Health = 9001 | |
| 3709 | ||
| 3710 | --[[function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module | |
| 3711 | local magz = (Part0 - Part1).magnitude | |
| 3712 | local curpos = Part0 | |
| 3713 | local trz = {-Offset,Offset}
| |
| 3714 | for i=1,Times do | |
| 3715 | local li = Instance.new("Part", torso)
| |
| 3716 | li.Name = "Lightning" | |
| 3717 | li.TopSurface =0 | |
| 3718 | li.Material = "Neon" | |
| 3719 | li.BottomSurface = 0 | |
| 3720 | li.Anchored = true | |
| 3721 | li.Locked = true | |
| 3722 | li.Transparency = Trans or 0.4 | |
| 3723 | li.BrickColor = BrickColor.new(Color) | |
| 3724 | li.formFactor = "Custom" | |
| 3725 | li.CanCollide = false | |
| 3726 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
| 3727 | local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
| 3728 | local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet | |
| 3729 | if Times == i then | |
| 3730 | local magz2 = (curpos - Part1).magnitude | |
| 3731 | li.Size = Vector3.new(Thickness,Thickness,magz2) | |
| 3732 | li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2) | |
| 3733 | else | |
| 3734 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
| 3735 | end | |
| 3736 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p | |
| 3737 | game.Debris:AddItem(li,.1) | |
| 3738 | end | |
| 3739 | end | |
| 3740 | ||
| 3741 | BodyParts = {} -- Parts to emit lightning effects from
| |
| 3742 | for _, v in pairs(char:GetChildren()) do | |
| 3743 | if v:IsA("Part") then
| |
| 3744 | table.insert(BodyParts, v) | |
| 3745 | end | |
| 3746 | end | |
| 3747 | ||
| 3748 | Bounding = {} -- Calculate the bounding boxes
| |
| 3749 | for _, v in pairs(BodyParts) do | |
| 3750 | local temp = {X=nil, Y=nil, Z=nil}
| |
| 3751 | temp.X = v.Size.X/2 * 10 | |
| 3752 | temp.Y = v.Size.Y/2 * 10 | |
| 3753 | temp.Z = v.Size.Z/2 * 10 | |
| 3754 | Bounding[v.Name] = temp | |
| 3755 | --table.insert(Bounding, v.Name, temp) | |
| 3756 | end | |
| 3757 | ||
| 3758 | while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly | |
| 3759 | local Body1 = BodyParts[math.random(#BodyParts)] | |
| 3760 | local Body2 = BodyParts[math.random(#BodyParts)] | |
| 3761 | local Pos1 = Vector3.new( | |
| 3762 | math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10, | |
| 3763 | math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10, | |
| 3764 | math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10 | |
| 3765 | ) | |
| 3766 | local Pos2 = Vector3.new( | |
| 3767 | math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10, | |
| 3768 | math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10, | |
| 3769 | math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10 | |
| 3770 | ) | |
| 3771 | local SPos1 = Body1.Position + Pos1 | |
| 3772 | local SPos2 = Body2.Position + Pos2 | |
| 3773 | Lightning(SPos1, SPos2, 4, 3, "Bright blue", .3, .56) | |
| 3774 | end ]] |