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