SHOW:
|
|
- or go back to the newest paste.
| 1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
| 2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 3 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 4 | local RealPlayer = Player | |
| 5 | - | local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
|
| 5 | + | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
|
| 6 | plr = game:GetService("Players").LocalPlayer
| |
| 7 | char = plr.Character | |
| 8 | hum = char.Humanoid | |
| 9 | local cam = game.Workspace.CurrentCamera | |
| 10 | Camera = cam | |
| 11 | local CamInterrupt = false | |
| 12 | local TwoD = false | |
| 13 | local TargetInfo = {nil, nil}
| |
| 14 | cam.CameraType = "Custom" | |
| 15 | t = char.Torso | |
| 16 | h = char.Head | |
| 17 | ra = char["Right Arm"] | |
| 18 | la = char["Left Arm"] | |
| 19 | rl = char["Right Leg"] | |
| 20 | ll = char["Left Leg"] | |
| 21 | tors = char.Torso | |
| 22 | lleg = char["Left Leg"] | |
| 23 | root = char.HumanoidRootPart | |
| 24 | hed = char.Head | |
| 25 | rleg = char["Right Leg"] | |
| 26 | rarm = char["Right Arm"] | |
| 27 | larm = char["Left Arm"] | |
| 28 | radian = math.rad | |
| 29 | random = math.random | |
| 30 | Vec3 = Vector3.new | |
| 31 | Inst = Instance.new | |
| 32 | cFrame = CFrame.new | |
| 33 | Euler = CFrame.fromEulerAnglesXYZ | |
| 34 | vt = Vector3.new | |
| 35 | bc = BrickColor.new | |
| 36 | br = BrickColor.random | |
| 37 | it = Instance.new | |
| 38 | cf = CFrame.new | |
| 39 | local eff = true | |
| 40 | local shielding = false | |
| 41 | ||
| 42 | local Booleans = {
| |
| 43 | CamFollow = true, | |
| 44 | GyroUse = true | |
| 45 | } | |
| 46 | ||
| 47 | function lerp(object, newCFrame, alpha) | |
| 48 | return object:lerp(newCFrame, alpha) | |
| 49 | end | |
| 50 | ||
| 51 | local Directer = Inst("BodyGyro", root)
| |
| 52 | Directer.MaxTorque = Vec3(0, 0, 0) | |
| 53 | Directer.P = 600000 | |
| 54 | local CPart = Inst("Part")
| |
| 55 | CPart.Anchored = true | |
| 56 | CPart.CanCollide = false | |
| 57 | CPart.Locked = true | |
| 58 | CPart.Transparency = 1 | |
| 59 | ||
| 60 | local rainbowmode = false | |
| 61 | local chaosmode = false | |
| 62 | ||
| 63 | kan = Instance.new("Sound",char)
| |
| 64 | kan.Volume = 1.25 | |
| 65 | kan.TimePosition = 0 | |
| 66 | kan.PlaybackSpeed = 1 | |
| 67 | kan.Pitch = 1 | |
| 68 | kan.SoundId = "rbxassetid://0" | |
| 69 | kan.Name = "wrecked" | |
| 70 | kan.Looped = true | |
| 71 | kan:Play() | |
| 72 | ||
| 73 | function newTheme(ID,timepos,pitch,vol) | |
| 74 | local kanz = kan | |
| 75 | --kanz:Stop() | |
| 76 | --kanz.Volume = vol | |
| 77 | --kanz.TimePosition = timepos | |
| 78 | kanz.PlaybackSpeed = pitch | |
| 79 | kanz.Pitch = pitch | |
| 80 | kanz.SoundId = ID | |
| 81 | kanz.Name = "wrecked" | |
| 82 | kanz.Looped = true | |
| 83 | kanz.Volume = 0.3 | |
| 84 | --kanz:Play() | |
| 85 | --coroutine.resume(coroutine.create(function() | |
| 86 | --wait(0.05) | |
| 87 | --end)) | |
| 88 | end | |
| 89 | ||
| 90 | function newThemeCust(ID,timepos,pitch,vol) | |
| 91 | local kanz = kan | |
| 92 | kanz:Stop() | |
| 93 | kanz.Volume = vol | |
| 94 | kanz.TimePosition = timepos | |
| 95 | kanz.PlaybackSpeed = pitch | |
| 96 | kanz.Pitch = pitch | |
| 97 | kanz.SoundId = ID | |
| 98 | kanz.Name = "wrecked" | |
| 99 | kanz.Looped = true | |
| 100 | kanz:Play() | |
| 101 | coroutine.resume(coroutine.create(function() | |
| 102 | wait(0.05) | |
| 103 | end)) | |
| 104 | end | |
| 105 | ||
| 106 | ||
| 107 | ||
| 108 | function CameraShake(Times, Power, PlayerTarget) | |
| 109 | coroutine.resume(coroutine.create(function() | |
| 110 | FV = Instance.new("BoolValue", PlayerTarget)
| |
| 111 | FV.Name = "CameraShake" | |
| 112 | for ShakeNum=1,Times do | |
| 113 | swait() | |
| 114 | local ef=Power | |
| 115 | if ef>=1 then | |
| 116 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) | |
| 117 | else | |
| 118 | ef=Power*10 | |
| 119 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) | |
| 120 | end | |
| 121 | end | |
| 122 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
| 123 | FV:Destroy() | |
| 124 | end)) | |
| 125 | end | |
| 126 | ||
| 127 | function CameraEnshaking(Length,Intensity) | |
| 128 | coroutine.resume(coroutine.create(function() | |
| 129 | local intensity = 1*Intensity | |
| 130 | local rotM = 0.01*Intensity | |
| 131 | for i = 0, Length, 0.1 do | |
| 132 | swait() | |
| 133 | intensity = intensity - 0.05*Intensity/Length | |
| 134 | rotM = rotM - 0.0005*Intensity/Length | |
| 135 | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) | |
| 136 | cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM) | |
| 137 | end | |
| 138 | Humanoid.CameraOffset = Vec3(0, 0, 0) | |
| 139 | end)) | |
| 140 | end | |
| 141 | CamShake=function(Part,Distan,Power,Times) | |
| 142 | local de=Part.Position | |
| 143 | for i,v in pairs(workspace:children()) do | |
| 144 | if v:IsA("Model") and v:findFirstChild("Humanoid") then
| |
| 145 | for _,c in pairs(v:children()) do | |
| 146 | if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then | |
| 147 | local Noob=v.Humanoid | |
| 148 | if Noob~=nil then | |
| 149 | coroutine.resume(coroutine.create(function() | |
| 150 | FV = Instance.new("BoolValue", Noob)
| |
| 151 | FV.Name = "CameraShake" | |
| 152 | for ShakeNum=1,Times do | |
| 153 | swait() | |
| 154 | local ef=Power | |
| 155 | if ef>=1 then | |
| 156 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) | |
| 157 | else | |
| 158 | ef=Power*10 | |
| 159 | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) | |
| 160 | end | |
| 161 | end | |
| 162 | Humanoid.CameraOffset = Vector3.new(0,0,0) | |
| 163 | FV:Destroy() | |
| 164 | end)) | |
| 165 | CameraShake(Times, Power, Noob) | |
| 166 | end | |
| 167 | end | |
| 168 | end | |
| 169 | end | |
| 170 | end | |
| 171 | end | |
| 172 | ||
| 173 | ||
| 174 | ||
| 175 | local Create = LoadLibrary("RbxUtility").Create
| |
| 176 | ||
| 177 | CFuncs = {
| |
| 178 | ["Part"] = {
| |
| 179 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 180 | local Part = Create("Part"){
| |
| 181 | Parent = Parent, | |
| 182 | Reflectance = Reflectance, | |
| 183 | Transparency = Transparency, | |
| 184 | CanCollide = false, | |
| 185 | Locked = true, | |
| 186 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 187 | Name = Name, | |
| 188 | Size = Size, | |
| 189 | Material = Material, | |
| 190 | } | |
| 191 | RemoveOutlines(Part) | |
| 192 | return Part | |
| 193 | end; | |
| 194 | }; | |
| 195 | ||
| 196 | ["Mesh"] = {
| |
| 197 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 198 | local Msh = Create(Mesh){
| |
| 199 | Parent = Part, | |
| 200 | Offset = OffSet, | |
| 201 | Scale = Scale, | |
| 202 | } | |
| 203 | if Mesh == "SpecialMesh" then | |
| 204 | Msh.MeshType = MeshType | |
| 205 | Msh.MeshId = MeshId | |
| 206 | end | |
| 207 | return Msh | |
| 208 | end; | |
| 209 | }; | |
| 210 | ||
| 211 | ["Mesh"] = {
| |
| 212 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 213 | local Msh = Create(Mesh){
| |
| 214 | Parent = Part, | |
| 215 | Offset = OffSet, | |
| 216 | Scale = Scale, | |
| 217 | } | |
| 218 | if Mesh == "SpecialMesh" then | |
| 219 | Msh.MeshType = MeshType | |
| 220 | Msh.MeshId = MeshId | |
| 221 | end | |
| 222 | return Msh | |
| 223 | end; | |
| 224 | }; | |
| 225 | ||
| 226 | ["Weld"] = {
| |
| 227 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 228 | local Weld = Create("Weld"){
| |
| 229 | Parent = Parent, | |
| 230 | Part0 = Part0, | |
| 231 | Part1 = Part1, | |
| 232 | C0 = C0, | |
| 233 | C1 = C1, | |
| 234 | } | |
| 235 | return Weld | |
| 236 | end; | |
| 237 | }; | |
| 238 | ||
| 239 | ["Sound"] = {
| |
| 240 | Create = function(id, par, vol, pit) | |
| 241 | coroutine.resume(coroutine.create(function() | |
| 242 | local S = Create("Sound"){
| |
| 243 | Volume = vol, | |
| 244 | Name = "EffectSoundo", | |
| 245 | Pitch = pit or 1, | |
| 246 | SoundId = id, | |
| 247 | Parent = par or workspace, | |
| 248 | } | |
| 249 | wait() | |
| 250 | S:play() | |
| 251 | game:GetService("Debris"):AddItem(S, 10)
| |
| 252 | end)) | |
| 253 | end; | |
| 254 | }; | |
| 255 | ||
| 256 | ["LongSound"] = {
| |
| 257 | Create = function(id, par, vol, pit) | |
| 258 | coroutine.resume(coroutine.create(function() | |
| 259 | local S = Create("Sound"){
| |
| 260 | Volume = vol, | |
| 261 | Pitch = pit or 1, | |
| 262 | SoundId = id, | |
| 263 | Parent = par or workspace, | |
| 264 | } | |
| 265 | wait() | |
| 266 | S:play() | |
| 267 | game:GetService("Debris"):AddItem(S, 30)
| |
| 268 | end)) | |
| 269 | end; | |
| 270 | }; | |
| 271 | ||
| 272 | ["ParticleEmitter"] = {
| |
| 273 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 274 | local fp = Create("ParticleEmitter"){
| |
| 275 | Parent = Parent, | |
| 276 | Color = ColorSequence.new(Color1, Color2), | |
| 277 | LightEmission = LightEmission, | |
| 278 | Size = Size, | |
| 279 | Texture = Texture, | |
| 280 | Transparency = Transparency, | |
| 281 | ZOffset = ZOffset, | |
| 282 | Acceleration = Accel, | |
| 283 | Drag = Drag, | |
| 284 | LockedToPart = LockedToPart, | |
| 285 | VelocityInheritance = VelocityInheritance, | |
| 286 | EmissionDirection = EmissionDirection, | |
| 287 | Enabled = Enabled, | |
| 288 | Lifetime = LifeTime, | |
| 289 | Rate = Rate, | |
| 290 | Rotation = Rotation, | |
| 291 | RotSpeed = RotSpeed, | |
| 292 | Speed = Speed, | |
| 293 | VelocitySpread = VelocitySpread, | |
| 294 | } | |
| 295 | return fp | |
| 296 | end; | |
| 297 | }; | |
| 298 | ||
| 299 | CreateTemplate = {
| |
| 300 | ||
| 301 | }; | |
| 302 | } | |
| 303 | ||
| 304 | ||
| 305 | ||
| 306 | New = function(Object, Parent, Name, Data) | |
| 307 | local Object = Instance.new(Object) | |
| 308 | for Index, Value in pairs(Data or {}) do
| |
| 309 | Object[Index] = Value | |
| 310 | end | |
| 311 | Object.Parent = Parent | |
| 312 | Object.Name = Name | |
| 313 | return Object | |
| 314 | end | |
| 315 | local halocolor = BrickColor.new("Really Black")
| |
| 316 | local halocolor2 = BrickColor.new("Really black")
| |
| 317 | local starcolor = BrickColor.new("Really black")
| |
| 318 | local lunacolor = BrickColor.new("Really black")
| |
| 319 | local lunacolor2 = BrickColor.new("Really black")
| |
| 320 | local wepcolor = BrickColor.new("Really black")
| |
| 321 | local maincolor = BrickColor.new("Really black")
| |
| 322 | local m = Instance.new("Model",char)
| |
| 323 | local m2 = Instance.new("Model",char)
| |
| 324 | local m3 = Instance.new("Model",char)
| |
| 325 | local mw1 = Instance.new("Model",char)
| |
| 326 | local mw2 = Instance.new("Model",char)
| |
| 327 | ||
| 328 | local extrawingmod1 = Instance.new("Model",char)
| |
| 329 | local extrawingmod2 = Instance.new("Model",char)
| |
| 330 | ||
| 331 | function CreateParta(parent,transparency,reflectance,material,brickcolor) | |
| 332 | local p = Instance.new("Part")
| |
| 333 | p.TopSurface = 0 | |
| 334 | p.BottomSurface = 0 | |
| 335 | p.Parent = parent | |
| 336 | p.Size = Vector3.new(0.1,0.1,0.1) | |
| 337 | p.Transparency = transparency | |
| 338 | p.Reflectance = reflectance | |
| 339 | p.CanCollide = false | |
| 340 | p.Locked = true | |
| 341 | p.BrickColor = brickcolor | |
| 342 | p.Material = material | |
| 343 | return p | |
| 344 | end | |
| 345 | ||
| 346 | function CreateMesh(parent,meshtype,x1,y1,z1) | |
| 347 | local mesh = Instance.new("SpecialMesh",parent)
| |
| 348 | mesh.MeshType = meshtype | |
| 349 | mesh.Scale = Vector3.new(x1*10,y1*10,z1*10) | |
| 350 | return mesh | |
| 351 | end | |
| 352 | ||
| 353 | function CreateSpecialMesh(parent,meshid,x1,y1,z1) | |
| 354 | local mesh = Instance.new("SpecialMesh",parent)
| |
| 355 | mesh.MeshType = "FileMesh" | |
| 356 | mesh.MeshId = meshid | |
| 357 | mesh.Scale = Vector3.new(x1,y1,z1) | |
| 358 | return mesh | |
| 359 | end | |
| 360 | ||
| 361 | ||
| 362 | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) | |
| 363 | local mesh = Instance.new("SpecialMesh",parent)
| |
| 364 | mesh.MeshType = "FileMesh" | |
| 365 | mesh.MeshId = meshid | |
| 366 | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" | |
| 367 | mesh.Scale = Vector3.new(x1,y1,z1) | |
| 368 | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) | |
| 369 | return mesh | |
| 370 | end | |
| 371 | ||
| 372 | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) | |
| 373 | local weld = Instance.new("Weld")
| |
| 374 | weld.Parent = parent | |
| 375 | weld.Part0 = part0 | |
| 376 | weld.Part1 = part1 | |
| 377 | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) | |
| 378 | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) | |
| 379 | return weld | |
| 380 | end | |
| 381 | ||
| 382 | ||
| 383 | -------------- | |
| 384 | local secondchar = Instance.new("Model",char)
| |
| 385 | local GhostCol = BrickColor.new("Really black")
| |
| 386 | local sectors = CreateParta(secondchar,1,0,"Neon",GhostCol) | |
| 387 | CreateMesh(sectors,"Brick",2*8,2*8,1*8) | |
| 388 | local torsweld = CreateWeld(sectors,root,sectors,1,-1,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 389 | ||
| 390 | local seclarm = CreateParta(secondchar,1,0,"Neon",GhostCol) | |
| 391 | CreateMesh(seclarm,"Brick",1*8,2*8,1*8) | |
| 392 | local larmsweld = CreateWeld(seclarm,sectors,seclarm,1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 393 | ||
| 394 | local secrarm = CreateParta(secondchar,1,0,"Neon",GhostCol) | |
| 395 | CreateMesh(secrarm,"Brick",1*8,2*8,1*8) | |
| 396 | local rarmsweld = CreateWeld(secrarm,sectors,secrarm,-1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 397 | ||
| 398 | local seclleg = CreateParta(secondchar,1,0,"Neon",GhostCol) | |
| 399 | CreateMesh(seclleg,"Brick",1*8,2*8,1*8) | |
| 400 | local llegsweld = CreateWeld(seclleg,sectors,seclleg,0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 401 | ||
| 402 | local secrleg = CreateParta(secondchar,1,0,"Neon",GhostCol) | |
| 403 | CreateMesh(secrleg,"Brick",1*8,2*8,1*8) | |
| 404 | local rlegsweld = CreateWeld(secrleg,sectors,secrleg,-0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 405 | ||
| 406 | local seched = CreateParta(secondchar,1,0,"Neon",GhostCol) | |
| 407 | CreateMesh(seched,"Brick",1*8,1*8,1*8) | |
| 408 | local hedsweld = CreateWeld(seched,sectors,seched,0,-1.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 409 | -------------- | |
| 410 | local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 411 | CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 412 | local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) | |
| 413 | CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 414 | ||
| 415 | local handlex = CreateParta(mw2,1,1,"Neon",maincolor) | |
| 416 | CreateMesh(handle,"Brick",0,0,0) | |
| 417 | local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 418 | local valuaring = 10 | |
| 419 | for i = 0, 49 do | |
| 420 | valuaring = valuaring + 10 | |
| 421 | rn = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 422 | CreateMesh(rn,"Brick",0.25,0.1,0.1) | |
| 423 | CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 424 | end | |
| 425 | ||
| 426 | handlex = CreateParta(mw2,1,1,"Neon",maincolor) | |
| 427 | CreateMesh(handle,"Brick",0,0,0) | |
| 428 | CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 429 | local valuaring = 10 | |
| 430 | for i = 0, 49 do | |
| 431 | valuaring = valuaring + 10 | |
| 432 | rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 433 | CreateMesh(rn,"Brick",0.5,0.2,0.2) | |
| 434 | CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 435 | end | |
| 436 | ||
| 437 | ||
| 438 | local handle = CreateParta(m,1,1,"Neon",maincolor) | |
| 439 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 440 | local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 441 | ||
| 442 | --- Left wing. | |
| 443 | ||
| 444 | local lwing1 = CreateParta(m,1,1,"Neon",maincolor) | |
| 445 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 446 | local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 447 | ||
| 448 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 449 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 450 | CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 451 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 452 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 453 | CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 454 | A0 = Instance.new('Attachment',wed)
| |
| 455 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 456 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 457 | CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 458 | A1 = Instance.new('Attachment',wed)
| |
| 459 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 460 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 461 | CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 462 | ||
| 463 | tl1 = Instance.new('Trail',wed)
| |
| 464 | tl1.Attachment0 = A0 | |
| 465 | tl1.Attachment1 = A1 | |
| 466 | --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
| 467 | tl1.LightEmission = 1 | |
| 468 | tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 469 | tl1.Color = ColorSequence.new(BrickColor.new('Really black').Color)
| |
| 470 | tl1.Lifetime = 0.6 | |
| 471 | ||
| 472 | ||
| 473 | local lwing2 = CreateParta(m,1,1,"Neon",maincolor) | |
| 474 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 475 | local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 476 | ||
| 477 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 478 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 479 | CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 480 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 481 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 482 | CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 483 | A0 = Instance.new('Attachment',wed)
| |
| 484 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 485 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 486 | CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 487 | A1 = Instance.new('Attachment',wed)
| |
| 488 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 489 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 490 | CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 491 | ||
| 492 | tl2 = Instance.new('Trail',wed)
| |
| 493 | tl2.Attachment0 = A0 | |
| 494 | tl2.Attachment1 = A1 | |
| 495 | --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
| 496 | tl2.LightEmission = 1 | |
| 497 | tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 498 | tl2.Color = ColorSequence.new(BrickColor.new('Really black').Color)
| |
| 499 | tl2.Lifetime = 0.6 | |
| 500 | ||
| 501 | local lwing3 = CreateParta(m,1,1,"Neon",maincolor) | |
| 502 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 503 | local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 504 | ||
| 505 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 506 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 507 | CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 508 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 509 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 510 | CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 511 | A0 = Instance.new('Attachment',wed)
| |
| 512 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 513 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 514 | CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 515 | A1 = Instance.new('Attachment',wed)
| |
| 516 | wed = CreateParta(mw1,0,0,"Neon",halocolor) | |
| 517 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 518 | CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 519 | ||
| 520 | tl3 = Instance.new('Trail',wed)
| |
| 521 | tl3.Attachment0 = A0 | |
| 522 | tl3.Attachment1 = A1 | |
| 523 | --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
| 524 | tl3.LightEmission = 1 | |
| 525 | tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 526 | tl3.Color = ColorSequence.new(BrickColor.new('Really black').Color)
| |
| 527 | tl3.Lifetime = 0.6 | |
| 528 | ||
| 529 | tl1.Enabled = false | |
| 530 | tl2.Enabled = false | |
| 531 | tl3.Enabled = false | |
| 532 | local lwing4 = CreateParta(m,1,1,"Neon",maincolor) | |
| 533 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 534 | local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 535 | ||
| 536 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 537 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 538 | CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 539 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 540 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 541 | CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 542 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 543 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 544 | CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 545 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 546 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 547 | CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 548 | ||
| 549 | local lwing5 = CreateParta(m,1,1,"Neon",maincolor) | |
| 550 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 551 | local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 552 | ||
| 553 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 554 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 555 | CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 556 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 557 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 558 | CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 559 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 560 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 561 | CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 562 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 563 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 564 | CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 565 | ||
| 566 | local lwing6 = CreateParta(m,1,1,"Neon",maincolor) | |
| 567 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 568 | local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 569 | ||
| 570 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 571 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 572 | CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 573 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 574 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 575 | CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 576 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 577 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 578 | CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 579 | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) | |
| 580 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 581 | CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 582 | ||
| 583 | -- Right wing. | |
| 584 | ||
| 585 | local rwing1 = CreateParta(m,1,1,"Neon",maincolor) | |
| 586 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 587 | local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 588 | ||
| 589 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 590 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 591 | CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 592 | A0 = Instance.new('Attachment',wed)
| |
| 593 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 594 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 595 | CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 596 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 597 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 598 | CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 599 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 600 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 601 | CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 602 | A1 = Instance.new('Attachment',wed)
| |
| 603 | ||
| 604 | tr1 = Instance.new('Trail',wed)
| |
| 605 | tr1.Attachment0 = A0 | |
| 606 | tr1.Attachment1 = A1 | |
| 607 | --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
| 608 | tr1.LightEmission = 1 | |
| 609 | tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 610 | tr1.Color = ColorSequence.new(BrickColor.new('Really black').Color)
| |
| 611 | tr1.Lifetime = 0.6 | |
| 612 | ||
| 613 | local rwing2 = CreateParta(m,1,1,"Neon",maincolor) | |
| 614 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 615 | local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 616 | ||
| 617 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 618 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 619 | CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 620 | A0 = Instance.new('Attachment',wed)
| |
| 621 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 622 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 623 | CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 624 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 625 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 626 | CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 627 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 628 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 629 | CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 630 | A1 = Instance.new('Attachment',wed)
| |
| 631 | ||
| 632 | tr2 = Instance.new('Trail',wed)
| |
| 633 | tr2.Attachment0 = A0 | |
| 634 | tr2.Attachment1 = A1 | |
| 635 | --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
| 636 | tr2.LightEmission = 1 | |
| 637 | tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 638 | tr2.Color = ColorSequence.new(BrickColor.new('Really black').Color)
| |
| 639 | tr2.Lifetime = 0.6 | |
| 640 | ||
| 641 | local rwing3 = CreateParta(m,1,1,"Neon",maincolor) | |
| 642 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 643 | local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 644 | ||
| 645 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 646 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 647 | CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 648 | A0 = Instance.new('Attachment',wed)
| |
| 649 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 650 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 651 | CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 652 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 653 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 654 | CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 655 | wed = CreateParta(mw2,0,0,"Neon",halocolor) | |
| 656 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 657 | CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 658 | A1 = Instance.new('Attachment',wed)
| |
| 659 | ||
| 660 | tr3 = Instance.new('Trail',wed)
| |
| 661 | tr3.Attachment0 = A0 | |
| 662 | tr3.Attachment1 = A1 | |
| 663 | --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073" | |
| 664 | tr3.LightEmission = 1 | |
| 665 | tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
| |
| 666 | tr3.Color = ColorSequence.new(BrickColor.new('Really black').Color)
| |
| 667 | tr3.Lifetime = 0.6 | |
| 668 | ||
| 669 | ||
| 670 | local rwing4 = CreateParta(m,1,1,"Neon",maincolor) | |
| 671 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 672 | local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 673 | ||
| 674 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 675 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 676 | CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 677 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 678 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 679 | CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 680 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 681 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 682 | CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 683 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 684 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 685 | CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 686 | ||
| 687 | local rwing5 = CreateParta(m,1,1,"Neon",maincolor) | |
| 688 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 689 | local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 690 | ||
| 691 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 692 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 693 | CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 694 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 695 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 696 | CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 697 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 698 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 699 | CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 700 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 701 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 702 | CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 703 | ||
| 704 | local rwing6 = CreateParta(m,1,1,"Neon",maincolor) | |
| 705 | CreateMesh(handle,"Brick",0.5,0.5,0.5) | |
| 706 | local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 707 | ||
| 708 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 709 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 710 | CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 711 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 712 | CreateMesh(wed,"Wedge",0.05,0.5,0.5) | |
| 713 | CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 714 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 715 | CreateMesh(wed,"Wedge",0.05,0.5,3) | |
| 716 | CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 717 | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) | |
| 718 | CreateMesh(wed,"Wedge",0.05,3,0.5) | |
| 719 | CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 720 | ||
| 721 | ---- HERES THE RING | |
| 722 | ||
| 723 | ||
| 724 | --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) | |
| 725 | CreateMesh(ran,"Wedge",1.02,1.02,1.02) | |
| 726 | CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 727 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 728 | CreateMesh(ran,"Wedge",0.9,0.9,1.025) | |
| 729 | CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 730 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 731 | CreateMesh(ran,"Wedge",1.025,0.9,0.9) | |
| 732 | CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 733 | ||
| 734 | ||
| 735 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 736 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 737 | CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 738 | ||
| 739 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 740 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 741 | CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 742 | ||
| 743 | ||
| 744 | ||
| 745 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 746 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
| 747 | CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 748 | ||
| 749 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 750 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
| 751 | CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 752 | ||
| 753 | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) | |
| 754 | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) | |
| 755 | CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 756 | ||
| 757 | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 758 | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) | |
| 759 | CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 760 | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) | |
| 761 | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) | |
| 762 | CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 763 | ||
| 764 | --- second ring | |
| 765 | ||
| 766 | ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) | |
| 767 | CreateMesh(ran,"Wedge",1.02,1.02,1.02) | |
| 768 | CreateWeld(ran,rarm,ran,0,0.15,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 769 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 770 | CreateMesh(ran,"Wedge",0.9,0.9,1.025) | |
| 771 | CreateWeld(ran,rarm,ran,0,0.155,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 772 | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 773 | CreateMesh(ran,"Wedge",1.025,0.9,0.9) | |
| 774 | CreateWeld(ran,rarm,ran,0,0.155,-0.025,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 775 | ||
| 776 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 777 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 778 | CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 779 | ||
| 780 | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 781 | CreateMesh(gan,"Brick",1.075,0.1,1.075) | |
| 782 | CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 783 | ||
| 784 | ||
| 785 | ||
| 786 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 787 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
| 788 | CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 789 | ||
| 790 | gan = CreateParta(m2,0,0,"Neon",halocolor2) | |
| 791 | CreateMesh(gan,"Brick",1.095,0.035,1.095) | |
| 792 | CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 793 | ||
| 794 | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) | |
| 795 | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) | |
| 796 | CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 797 | ||
| 798 | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) | |
| 799 | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) | |
| 800 | CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
| 801 | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) | |
| 802 | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) | |
| 803 | CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]-- | |
| 804 | ||
| 805 | ||
| 806 | ||
| 807 | for i, v in pairs(m:GetChildren()) do | |
| 808 | if v:IsA("Part") then
| |
| 809 | v.BrickColor = BrickColor.new("Really black")
| |
| 810 | v.Material = "Glass" | |
| 811 | end | |
| 812 | end | |
| 813 | for i, v in pairs(m2:GetChildren()) do | |
| 814 | if v:IsA("Part") then
| |
| 815 | v.BrickColor = BrickColor.new("Really black")
| |
| 816 | v.Material = "Granite" | |
| 817 | end | |
| 818 | end | |
| 819 | for i, v in pairs(m3:GetChildren()) do | |
| 820 | if v:IsA("Part") then
| |
| 821 | v.BrickColor = BrickColor.new("Really black")
| |
| 822 | v.Material = "Neon" | |
| 823 | end | |
| 824 | end | |
| 825 | for i, v in pairs(mw2:GetChildren()) do | |
| 826 | if v:IsA("Part") then
| |
| 827 | v.BrickColor = BrickColor.new("Really black")
| |
| 828 | v.Material = "Neon" | |
| 829 | end | |
| 830 | end | |
| 831 | for i, v in pairs(mw1:GetChildren()) do | |
| 832 | if v:IsA("Part") then
| |
| 833 | v.Transparency = 1 | |
| 834 | v.BrickColor = BrickColor.new("Really black")
| |
| 835 | v.Material = "Neon" | |
| 836 | end | |
| 837 | end | |
| 838 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 839 | if v:IsA("Part") then
| |
| 840 | v.Transparency = 1 | |
| 841 | v.BrickColor = BrickColor.new("Really black")
| |
| 842 | v.Material = "Neon" | |
| 843 | end | |
| 844 | end | |
| 845 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 846 | if v:IsA("Part") then
| |
| 847 | v.Transparency = 1 | |
| 848 | v.BrickColor = BrickColor.new("Really black")
| |
| 849 | v.Material = "Neon" | |
| 850 | end | |
| 851 | end | |
| 852 | local MAINRUINCOLOR = BrickColor.new("Really black")
| |
| 853 | ------------------------------- | |
| 854 | local talksound = Instance.new("Sound",char.Torso)
| |
| 855 | talksound.SoundId = "rbxassetid://455601633"talksound.Volume = 1 | |
| 856 | function swait(num) | |
| 857 | if num==0 or num==nil then | |
| 858 | game:service'RunService'.Stepped:wait(0) | |
| 859 | else | |
| 860 | for i=0,num do | |
| 861 | game:service'RunService'.Stepped:wait(0) | |
| 862 | end | |
| 863 | end | |
| 864 | end | |
| 865 | ||
| 866 | function chatfunc(text) | |
| 867 | local chat = coroutine.wrap(function() | |
| 868 | if char:FindFirstChild("TalkingBillBoard") ~= nil then
| |
| 869 | char:FindFirstChild("TalkingBillBoard"):Destroy()
| |
| 870 | end | |
| 871 | local naeeym2 = Instance.new("BillboardGui",char)
| |
| 872 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 873 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 874 | naeeym2.Adornee = char.Head | |
| 875 | naeeym2.Name = "TalkingBillBoard" | |
| 876 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 877 | tecks2.BackgroundTransparency = 1 | |
| 878 | tecks2.BorderSizePixel = 0 | |
| 879 | tecks2.Text = "" | |
| 880 | tecks2.Font = "Fantasy" | |
| 881 | tecks2.TextSize = 30 | |
| 882 | tecks2.TextStrokeTransparency = 0 | |
| 883 | tecks2.TextColor3 = Color3.new(200,0,0) | |
| 884 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 885 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 886 | local tecks3 = Instance.new("TextLabel",naeeym2)
| |
| 887 | tecks3.BackgroundTransparency = 1 | |
| 888 | tecks3.BorderSizePixel = 0 | |
| 889 | tecks3.Text = "" | |
| 890 | tecks3.Font = "Fantasy" | |
| 891 | tecks3.TextSize = 30 | |
| 892 | tecks3.TextStrokeTransparency = 0 | |
| 893 | tecks3.TextColor3 = Color3.new(200,0,0) | |
| 894 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
| 895 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
| 896 | for i = 1,string.len(text),1 do | |
| 897 | tecks2.Text = string.sub(text,1,i) | |
| 898 | tecks3.Text = string.sub(text,1,i) | |
| 899 | talksound:Play() | |
| 900 | wait(0.01) | |
| 901 | end | |
| 902 | wait(2) | |
| 903 | for i = 1, 50 do | |
| 904 | swait() | |
| 905 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 906 | tecks2.Rotation = tecks2.Rotation - .8 | |
| 907 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 908 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
| 909 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 910 | tecks3.Rotation = tecks2.Rotation + .8 | |
| 911 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 912 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
| 913 | end | |
| 914 | naeeym2:Destroy() | |
| 915 | end) | |
| 916 | chat() | |
| 917 | end | |
| 918 | function onChatted(msg) | |
| 919 | chatfunc(msg) | |
| 920 | end | |
| 921 | ------------------------------- | |
| 922 | ------------------------ | |
| 923 | function insanitymode() | |
| 924 | rainbowmode = false | |
| 925 | glitchymode = false | |
| 926 | chaosmode = true | |
| 927 | tl1.Enabled = true | |
| 928 | tl2.Enabled = true | |
| 929 | tl3.Enabled = true | |
| 930 | local lust = ModeOfGlitch == 69 | |
| 931 | newTheme("rbxassetid://0",0,1,1)
| |
| 932 | coroutine.resume(coroutine.create(function() | |
| 933 | tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 934 | tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 935 | tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 936 | attack = true | |
| 937 | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
| |
| 938 | CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
| |
| 939 | CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
| |
| 940 | CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
| |
| 941 | CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
| |
| 942 | CameraEnshaking(5,2.5) | |
| 943 | MAINRUINCOLOR = BrickColor.new("Black")
| |
| 944 | ModeOfGlitch = 666666 | |
| 945 | for i, v in pairs(mw2:GetChildren()) do | |
| 946 | if v:IsA("Part") then
| |
| 947 | v.BrickColor = MAINRUINCOLOR | |
| 948 | v.Material = "Neon" | |
| 949 | end | |
| 950 | end | |
| 951 | for i, v in pairs(mw1:GetChildren()) do | |
| 952 | if v:IsA("Part") then
| |
| 953 | v.Transparency = 0.75 | |
| 954 | v.BrickColor = BrickColor.random() | |
| 955 | v.Material = "Neon" | |
| 956 | end | |
| 957 | end | |
| 958 | for i, v in pairs(m:GetChildren()) do | |
| 959 | if v:IsA("Part") then
| |
| 960 | v.BrickColor = BrickColor.new("Black")
| |
| 961 | v.Material = "Neon" | |
| 962 | end | |
| 963 | end | |
| 964 | for i, v in pairs(m2:GetChildren()) do | |
| 965 | if v:IsA("Part") then
| |
| 966 | v.BrickColor = BrickColor.random() | |
| 967 | v.Material = "Neon" | |
| 968 | end | |
| 969 | end | |
| 970 | for i, v in pairs(m3:GetChildren()) do | |
| 971 | if v:IsA("Part") then
| |
| 972 | v.BrickColor = BrickColor.new("Black")
| |
| 973 | v.Material = "Neon" | |
| 974 | end | |
| 975 | end | |
| 976 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 977 | if v:IsA("Part") then
| |
| 978 | v.Transparency = .75 | |
| 979 | v.BrickColor = BrickColor.Random() | |
| 980 | v.Material = "Neon" | |
| 981 | end | |
| 982 | end | |
| 983 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 984 | if v:IsA("Part") then
| |
| 985 | v.Transparency = 0 | |
| 986 | v.BrickColor = BrickColor.new("Black")
| |
| 987 | v.Material = "Neon" | |
| 988 | end | |
| 989 | end | |
| 990 | attack = false | |
| 991 | end)) | |
| 992 | end | |
| 993 | ----------------------------------- | |
| 994 | -------------------- | |
| 995 | Me = game.Players.LocalPlayer | |
| 996 | char = Me.Character | |
| 997 | larm = char["Left Arm"] | |
| 998 | rarm = char["Right Arm"] | |
| 999 | lleg = char["Left Leg"] | |
| 1000 | rleg = char["Right Leg"] | |
| 1001 | torso = char.Torso | |
| 1002 | ||
| 1003 | lleg.Transparency = 1 | |
| 1004 | rleg.Transparency = 1 | |
| 1005 | larm.Transparency = 1 | |
| 1006 | rarm.Transparency = 1 | |
| 1007 | torso.Transparency = 1 | |
| 1008 | ------------------------------------------------------------------ Player ------------------------------------------------------------------- | |
| 1009 | ||
| 1010 | ----------------------------------------------------------------- Left Arm ----------------------------------------------------------------- | |
| 1011 | larm1 = Instance.new("Part", char)
| |
| 1012 | larm1.Name = "Middle" | |
| 1013 | larm1.BrickColor = BrickColor.new("Really red")
| |
| 1014 | larm1.Size = Vector3.new(1, 2, 1) | |
| 1015 | larm1.CanCollide = false | |
| 1016 | larm1.BottomSurface = "Smooth" | |
| 1017 | larm1.TopSurface = "Smooth" | |
| 1018 | larm1.Material = "Neon" | |
| 1019 | Weld = Instance.new("Weld",larm)
| |
| 1020 | Weld.Part0 = larm | |
| 1021 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
| 1022 | Weld.Part1 = larm1 | |
| 1023 | Weld.C1 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
| 1024 | ||
| 1025 | larm2 = Instance.new("Part", char)
| |
| 1026 | larm2.BrickColor = BrickColor.new("Really red")
| |
| 1027 | larm2.Size = Vector3.new(1, 0.4, 1) | |
| 1028 | larm2.CanCollide = false | |
| 1029 | larm2.BottomSurface = "Smooth" | |
| 1030 | larm2.TopSurface = "Smooth" | |
| 1031 | Weld = Instance.new("Weld",larm)
| |
| 1032 | Weld.Part0 = larm | |
| 1033 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
| 1034 | Weld.Part1 = larm2 | |
| 1035 | Weld.C1 = CFrame.new(-0.452633858, -0.349740982, -1.50225353, -0.00506608887, 0.999986708, -0.00096991309, -0.0106740929, 0.000915773562, 0.999942601, 0.999930143, 0.0050761546, 0.0106693096) | |
| 1036 | ||
| 1037 | larm3 = Instance.new("Part", char)
| |
| 1038 | larm3.BrickColor = BrickColor.new("Really red")
| |
| 1039 | larm3.Size = Vector3.new(1, 0.4, 1) | |
| 1040 | larm3.CanCollide = false | |
| 1041 | larm3.BottomSurface = "Smooth" | |
| 1042 | larm3.TopSurface = "Smooth" | |
| 1043 | Weld = Instance.new("Weld",larm)
| |
| 1044 | Weld.Part0 = larm | |
| 1045 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
| 1046 | Weld.Part1 = larm3 | |
| 1047 | Weld.C1 = CFrame.new(-0.452513218, -1.90224648, -0.0102577209, -0.00506604509, 0.999986708, -0.000969912624, 0.999930143, 0.00507611083, 0.0106693096, 0.0106740929, -0.000915773562, -0.999942601) | |
| 1048 | ||
| 1049 | larm4 = Instance.new("Part", char)
| |
| 1050 | larm4.BrickColor = BrickColor.new("Really red")
| |
| 1051 | larm4.Size = Vector3.new(1, 0.4, 1) | |
| 1052 | larm4.CanCollide = false | |
| 1053 | larm4.BottomSurface = "Smooth" | |
| 1054 | larm4.TopSurface = "Smooth" | |
| 1055 | Weld = Instance.new("Weld",larm)
| |
| 1056 | Weld.Part0 = larm | |
| 1057 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
| 1058 | Weld.Part1 = larm4 | |
| 1059 | Weld.C1 = CFrame.new(-0.452511787, -0.41024971, 1.50225258, -0.00506623974, 0.999986708, -0.000969914719, 0.0106740929, -0.000915773562, -0.999942601, -0.999930143, -0.00507630548, -0.0106693096) | |
| 1060 | ||
| 1061 | larm5 = Instance.new("Part", char)
| |
| 1062 | larm5.BrickColor = BrickColor.new("Really red")
| |
| 1063 | larm5.Size = Vector3.new(1, 0.4, 1) | |
| 1064 | larm5.CanCollide = false | |
| 1065 | larm5.BottomSurface = "Smooth" | |
| 1066 | larm5.TopSurface = "Smooth" | |
| 1067 | Weld = Instance.new("Weld",larm)
| |
| 1068 | Weld.Part0 = larm | |
| 1069 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
| 1070 | Weld.Part1 = larm5 | |
| 1071 | Weld.C1 = CFrame.new(-1.50225163, -0.762512684, 0.0102577209, 0.999930143, 0.0050761546, 0.0106693534, -0.00506608794, 0.999986708, -0.000970000518, -0.0106741367, 0.000915860757, 0.999942601) | |
| 1072 | ||
| 1073 | larm6 = Instance.new("Part", char)
| |
| 1074 | larm6.BrickColor = BrickColor.new("Really red")
| |
| 1075 | larm6.Size = Vector3.new(1, 0.4, 1) | |
| 1076 | larm6.CanCollide = false | |
| 1077 | larm6.BottomSurface = "Smooth" | |
| 1078 | larm6.TopSurface = "Smooth" | |
| 1079 | Mesh = Instance.new("SpecialMesh", larm6)
| |
| 1080 | Mesh.MeshType = "Brick" | |
| 1081 | Mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
| 1082 | Weld = Instance.new("Weld",larm)
| |
| 1083 | Weld.Part0 = larm | |
| 1084 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
| 1085 | Weld.Part1 = larm6 | |
| 1086 | Weld.C1 = CFrame.new(0.0102558136, 0.847481251, 1.50225353, -0.0106740929, 0.00091586099, 0.999942601, -0.00506608794, 0.999986708, -0.000970000518, -0.999930143, -0.0050761546, -0.0106693096) | |
| 1087 | ||
| 1088 | larm7 = Instance.new("Part", char)
| |
| 1089 | larm7.BrickColor = BrickColor.new("Really red")
| |
| 1090 | larm7.Size = Vector3.new(0.5, 0.3, 2) | |
| 1091 | larm7.CanCollide = false | |
| 1092 | larm7.BottomSurface = "Smooth" | |
| 1093 | larm7.TopSurface = "Smooth" | |
| 1094 | larm7.Material = "Neon" | |
| 1095 | Weld = Instance.new("Weld",larm)
| |
| 1096 | Weld.Part0 = larm | |
| 1097 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
| 1098 | Weld.Part1 = larm7 | |
| 1099 | Weld.C1 = CFrame.new(-0.339956284, 1.83238316, 1.50933075, 0.11770986, 0.484406531, 0.866887927, -0.967169523, 0.253912479, -0.0105566857, -0.225227386, -0.837184966, 0.498391271) | |
| 1100 | ||
| 1101 | larm8 = Instance.new("Part", char)
| |
| 1102 | larm8.BrickColor = BrickColor.new("Really red")
| |
| 1103 | larm8.Size = Vector3.new(1, 0.4, 1) | |
| 1104 | larm8.CanCollide = false | |
| 1105 | larm8.BottomSurface = "Smooth" | |
| 1106 | larm8.TopSurface = "Smooth" | |
| 1107 | Weld = Instance.new("Weld",larm)
| |
| 1108 | Weld.Part0 = larm | |
| 1109 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
| 1110 | Weld.Part1 = larm8 | |
| 1111 | Weld.C1 = CFrame.new(0.247514963, -0.0102424622, 1.58225441, -0.00506623974, 0.999986708, -0.000969914719, 0.0106740929, -0.000915773562, -0.999942601, -0.999930143, -0.00507630548, -0.0106693096) | |
| 1112 | ----------------------------------------------------------------- Right Arm ----------------------------------------------------------------- | |
| 1113 | rarm1 = Instance.new("Part", char)
| |
| 1114 | rarm1.Name = "Middle" | |
| 1115 | rarm1.BrickColor = BrickColor.new("Really red")
| |
| 1116 | rarm1.Size = Vector3.new(1, 2, 1) | |
| 1117 | rarm1.CanCollide = false | |
| 1118 | rarm1.BottomSurface = "Smooth" | |
| 1119 | rarm1.TopSurface = "Smooth" | |
| 1120 | rarm1.Material = "Neon" | |
| 1121 | Weld = Instance.new("Weld",rarm)
| |
| 1122 | Weld.Part0 = rarm | |
| 1123 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
| 1124 | Weld.Part1 = rarm1 | |
| 1125 | Weld.C1 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
| 1126 | ||
| 1127 | rarm2 = Instance.new("Part", char)
| |
| 1128 | rarm2.BrickColor = BrickColor.new("Really red")
| |
| 1129 | rarm2.Size = Vector3.new(1, 0.4, 1) | |
| 1130 | rarm2.CanCollide = false | |
| 1131 | rarm2.BottomSurface = "Smooth" | |
| 1132 | rarm2.TopSurface = "Smooth" | |
| 1133 | Weld = Instance.new("Weld",rarm)
| |
| 1134 | Weld.Part0 = rarm | |
| 1135 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
| 1136 | Weld.Part1 = rarm2 | |
| 1137 | Weld.C1 = CFrame.new(-0.458259583, -0.356315613, 1.50168037, 0.00366159994, 0.999978125, -0.00550877256, 0.00621323148, 0.00548594771, 0.999965668, 0.999974012, -0.00369570963, -0.00619300362) | |
| 1138 | ||
| 1139 | rarm3 = Instance.new("Part", char)
| |
| 1140 | rarm3.BrickColor = BrickColor.new("Really red")
| |
| 1141 | rarm3.Size = Vector3.new(1, 0.4, 1) | |
| 1142 | rarm3.CanCollide = false | |
| 1143 | rarm3.BottomSurface = "Smooth" | |
| 1144 | rarm3.TopSurface = "Smooth" | |
| 1145 | Weld = Instance.new("Weld",rarm)
| |
| 1146 | Weld.Part0 = rarm | |
| 1147 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
| 1148 | Weld.Part1 = rarm3 | |
| 1149 | Weld.C1 = CFrame.new(-1.50168133, -0.768137932, -0.00367927551, -0.999974012, 0.00369570986, 0.00619304739, 0.00366159948, 0.999978125, -0.00550886011, -0.00621327572, -0.00548603525, -0.999965668) | |
| 1150 | ||
| 1151 | rarm4 = Instance.new("Part", char)
| |
| 1152 | rarm4.BrickColor = BrickColor.new("Really red")
| |
| 1153 | rarm4.Size = Vector3.new(1, 0.4, 1) | |
| 1154 | rarm4.CanCollide = false | |
| 1155 | rarm4.BottomSurface = "Smooth" | |
| 1156 | rarm4.TopSurface = "Smooth" | |
| 1157 | Weld = Instance.new("Weld",rarm)
| |
| 1158 | Weld.Part0 = rarm | |
| 1159 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
| 1160 | Weld.Part1 = rarm4 | |
| 1161 | Weld.C1 = CFrame.new(-0.00368309021, 1.8716774, 0.458146095, -0.00621323194, -0.00548603525, -0.999965668, 0.999974012, -0.0036957534, -0.00619300315, -0.00366164325, -0.999978125, 0.00550886057) | |
| 1162 | ||
| 1163 | rarm5 = Instance.new("Part", char)
| |
| 1164 | rarm5.BrickColor = BrickColor.new("Really red")
| |
| 1165 | rarm5.Size = Vector3.new(1, 0.4, 1) | |
| 1166 | rarm5.CanCollide = false | |
| 1167 | rarm5.BottomSurface = "Smooth" | |
| 1168 | rarm5.TopSurface = "Smooth" | |
| 1169 | Mesh = Instance.new("SpecialMesh", rarm5)
| |
| 1170 | Mesh.MeshType = "Brick" | |
| 1171 | Mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
| 1172 | Weld = Instance.new("Weld",rarm)
| |
| 1173 | Weld.Part0 = rarm | |
| 1174 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
| 1175 | Weld.Part1 = rarm5 | |
| 1176 | Weld.C1 = CFrame.new(0.00368118286, 0.841855764, -1.50168228, 0.00621323194, 0.00548603525, 0.999965668, 0.00366159948, 0.999978125, -0.00550886011, -0.999974012, 0.00369570963, 0.00619300362) | |
| 1177 | ||
| 1178 | rarm6 = Instance.new("Part", char)
| |
| 1179 | rarm6.BrickColor = BrickColor.new("Really red")
| |
| 1180 | rarm6.Size = Vector3.new(1, 0.4, 1) | |
| 1181 | rarm6.CanCollide = false | |
| 1182 | rarm6.BottomSurface = "Smooth" | |
| 1183 | rarm6.TopSurface = "Smooth" | |
| 1184 | Weld = Instance.new("Weld",rarm)
| |
| 1185 | Weld.Part0 = rarm | |
| 1186 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
| 1187 | Weld.Part1 = rarm6 | |
| 1188 | Weld.C1 = CFrame.new(-1.50168133, -0.403675079, 0.458138466, -0.999974012, 0.00369575364, 0.00619304692, -0.00621327572, -0.00548603525, -0.999965668, -0.00366164325, -0.999978125, 0.00550886057) | |
| 1189 | ||
| 1190 | rarm7 = Instance.new("Part", char)
| |
| 1191 | rarm7.BrickColor = BrickColor.new("Really red")
| |
| 1192 | rarm7.Size = Vector3.new(0.5, 0.3, 2) | |
| 1193 | rarm7.CanCollide = false | |
| 1194 | rarm7.BottomSurface = "Smooth" | |
| 1195 | rarm7.TopSurface = "Smooth" | |
| 1196 | rarm7.Material = "Neon" | |
| 1197 | Weld = Instance.new("Weld",rarm)
| |
| 1198 | Weld.Part0 = rarm | |
| 1199 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
| 1200 | Weld.Part1 = rarm7 | |
| 1201 | Weld.C1 = CFrame.new(0.344418526, -1.80139351, -1.50391006, 0.122256897, -0.48818168, -0.864136577, -0.966848493, -0.25524351, 0.00740774209, -0.224181563, 0.834583461, -0.503202915) | |
| 1202 | ||
| 1203 | rarm8 = Instance.new("Part", char)
| |
| 1204 | rarm8.BrickColor = BrickColor.new("Really red")
| |
| 1205 | rarm8.Size = Vector3.new(1, 0.4, 1) | |
| 1206 | rarm8.CanCollide = false | |
| 1207 | rarm8.BottomSurface = "Smooth" | |
| 1208 | rarm8.TopSurface = "Smooth" | |
| 1209 | Weld = Instance.new("Weld",rarm)
| |
| 1210 | Weld.Part0 = rarm | |
| 1211 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
| 1212 | Weld.Part1 = rarm8 | |
| 1213 | Weld.C1 = CFrame.new(0.241888285, -0.00366973877, -1.56167889, 0.00366144883, 0.999978125, -0.00550877163, -0.00621323148, -0.00548594771, -0.999965668, -0.999974012, 0.00369555852, 0.00619300455) | |
| 1214 | ----------------------------------------------------------------- Left Leg ----------------------------------------------------------------- | |
| 1215 | lleg1 = Instance.new("Part", char)
| |
| 1216 | lleg1.Name = "Middle" | |
| 1217 | lleg1.BrickColor = BrickColor.new("Really red")
| |
| 1218 | lleg1.Size = Vector3.new(1, 2, 1) | |
| 1219 | lleg1.CanCollide = false | |
| 1220 | lleg1.BottomSurface = "Smooth" | |
| 1221 | lleg1.TopSurface = "Smooth" | |
| 1222 | lleg1.Material = "Neon" | |
| 1223 | Weld = Instance.new("Weld",lleg)
| |
| 1224 | Weld.Part0 = lleg | |
| 1225 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1226 | Weld.Part1 = lleg1 | |
| 1227 | Weld.C1 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1228 | ||
| 1229 | lleg2 = Instance.new("Part", char)
| |
| 1230 | lleg2.BrickColor = BrickColor.new("Really red")
| |
| 1231 | lleg2.Size = Vector3.new(1, 0.4, 1) | |
| 1232 | lleg2.CanCollide = false | |
| 1233 | lleg2.BottomSurface = "Smooth" | |
| 1234 | lleg2.TopSurface = "Smooth" | |
| 1235 | Weld = Instance.new("Weld",lleg)
| |
| 1236 | Weld.Part0 = lleg | |
| 1237 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1238 | Weld.Part1 = lleg2 | |
| 1239 | Weld.C1 = CFrame.new(0.898587704, 4.77446556, 2.3581152, -7.17753299e-023, 1, 4.37113883e-008, 1.64202821e-015, -4.37113883e-008, 1, 1, -1.4355066e-022, 0) | |
| 1240 | ||
| 1241 | lleg3 = Instance.new("Part", char)
| |
| 1242 | lleg3.BrickColor = BrickColor.new("Really red")
| |
| 1243 | lleg3.Size = Vector3.new(0.5, 0.3, 2) | |
| 1244 | lleg3.CanCollide = false | |
| 1245 | lleg3.BottomSurface = "Smooth" | |
| 1246 | lleg3.TopSurface = "Smooth" | |
| 1247 | Weld = Instance.new("Weld",lleg)
| |
| 1248 | Weld.Part0 = lleg | |
| 1249 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1250 | Weld.Part1 = lleg3 | |
| 1251 | Weld.C1 = CFrame.new(4.69929504, -1.49470997, 3.25491428, 0.183012843, 0.683012605, 0.707106829, -0.965925813, 0.258819133, 1.06770166e-007, -0.183012709, -0.683012724, 0.707106769) | |
| 1252 | ||
| 1253 | lleg4 = Instance.new("Part", char)
| |
| 1254 | lleg4.BrickColor = BrickColor.new("Really red")
| |
| 1255 | lleg4.Size = Vector3.new(1, 0.4, 1) | |
| 1256 | lleg4.CanCollide = false | |
| 1257 | lleg4.BottomSurface = "Smooth" | |
| 1258 | lleg4.TopSurface = "Smooth" | |
| 1259 | Weld = Instance.new("Weld",lleg)
| |
| 1260 | Weld.Part0 = lleg | |
| 1261 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1262 | Weld.Part1 = lleg4 | |
| 1263 | Weld.C1 = CFrame.new(0.899408102, 1.9581213, -5.17447472, 4.37113883e-008, 1, 8.74227766e-008, 1, -4.37113883e-008, -2.68657252e-016, -1.37337096e-015, 8.74227766e-008, -1) | |
| 1264 | ||
| 1265 | lleg5 = Instance.new("Part", char)
| |
| 1266 | lleg5.BrickColor = BrickColor.new("Really red")
| |
| 1267 | lleg5.Size = Vector3.new(1, 0.4, 1) | |
| 1268 | lleg5.CanCollide = false | |
| 1269 | lleg5.BottomSurface = "Smooth" | |
| 1270 | lleg5.TopSurface = "Smooth" | |
| 1271 | Weld = Instance.new("Weld",lleg)
| |
| 1272 | Weld.Part0 = lleg | |
| 1273 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1274 | Weld.Part1 = lleg5 | |
| 1275 | Weld.C1 = CFrame.new(0.899407625, -5.57446861, -2.3581152, -1.50995788e-007, 1, 8.74227766e-008, -1.20315126e-014, 8.74227766e-008, -1, -1, -1.50995788e-007, -8.24226416e-015) | |
| 1276 | ||
| 1277 | lleg6 = Instance.new("Part", char)
| |
| 1278 | lleg6.BrickColor = BrickColor.new("Really red")
| |
| 1279 | lleg6.Size = Vector3.new(1, 0.4, 1) | |
| 1280 | lleg6.CanCollide = false | |
| 1281 | lleg6.BottomSurface = "Smooth" | |
| 1282 | lleg6.TopSurface = "Smooth" | |
| 1283 | Weld = Instance.new("Weld",lleg)
| |
| 1284 | Weld.Part0 = lleg | |
| 1285 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1286 | Weld.Part1 = lleg6 | |
| 1287 | Weld.C1 = CFrame.new(1.49948871, -2.31810665, 5.08444977, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
| 1288 | ||
| 1289 | lleg7 = Instance.new("Part", char)
| |
| 1290 | lleg7.BrickColor = BrickColor.new("Really red")
| |
| 1291 | lleg7.Size = Vector3.new(1, 0.4, 1) | |
| 1292 | lleg7.CanCollide = false | |
| 1293 | lleg7.BottomSurface = "Smooth" | |
| 1294 | lleg7.TopSurface = "Smooth" | |
| 1295 | Weld = Instance.new("Weld",lleg)
| |
| 1296 | Weld.Part0 = lleg | |
| 1297 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1298 | Weld.Part1 = lleg7 | |
| 1299 | Weld.C1 = CFrame.new(1.4994036, -2.33812618, 5.26447296, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
| 1300 | ----------------------------------------------------------------- Right Leg ----------------------------------------------------------------- | |
| 1301 | rleg1 = Instance.new("Part", char)
| |
| 1302 | rleg1.Name = "Middle" | |
| 1303 | rleg1.BrickColor = BrickColor.new("Really red")
| |
| 1304 | rleg1.Size = Vector3.new(1, 2, 1) | |
| 1305 | rleg1.CanCollide = false | |
| 1306 | rleg1.BottomSurface = "Smooth" | |
| 1307 | rleg1.TopSurface = "Smooth" | |
| 1308 | rleg1.Material = "Neon" | |
| 1309 | Weld = Instance.new("Weld",rleg)
| |
| 1310 | Weld.Part0 = rleg | |
| 1311 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1312 | Weld.Part1 = rleg1 | |
| 1313 | Weld.C1 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1314 | ||
| 1315 | rleg2 = Instance.new("Part", char)
| |
| 1316 | rleg2.BrickColor = BrickColor.new("Really red")
| |
| 1317 | rleg2.Size = Vector3.new(1, 0.4, 1) | |
| 1318 | rleg2.CanCollide = false | |
| 1319 | rleg2.BottomSurface = "Smooth" | |
| 1320 | rleg2.TopSurface = "Smooth" | |
| 1321 | Weld = Instance.new("Weld",rleg)
| |
| 1322 | Weld.Part0 = rleg | |
| 1323 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1324 | Weld.Part1 = rleg2 | |
| 1325 | Weld.C1 = CFrame.new(0.905565023, 3.75810814, -5.17447472, 4.37113883e-008, 1, 8.74227766e-008, 1, -4.37113883e-008, -2.68657252e-016, -1.37337096e-015, 8.74227766e-008, -1) | |
| 1326 | ||
| 1327 | rleg3 = Instance.new("Part", char)
| |
| 1328 | rleg3.BrickColor = BrickColor.new("Really red")
| |
| 1329 | rleg3.Size = Vector3.new(1, 0.4, 1) | |
| 1330 | rleg3.CanCollide = false | |
| 1331 | rleg3.BottomSurface = "Smooth" | |
| 1332 | rleg3.TopSurface = "Smooth" | |
| 1333 | Weld = Instance.new("Weld",rleg)
| |
| 1334 | Weld.Part0 = rleg | |
| 1335 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1336 | Weld.Part1 = rleg3 | |
| 1337 | Weld.C1 = CFrame.new(1.4545058, -3.34725952, 5.0867691, -0.0153048551, 0.999882877, -5.25215728e-006, -0.999882638, -0.0153048476, 0.000690514687, 0.000690353394, 1.58197654e-005, 0.999999762) | |
| 1338 | ||
| 1339 | rleg4 = Instance.new("Part", char)
| |
| 1340 | rleg4.BrickColor = BrickColor.new("Really red")
| |
| 1341 | rleg4.Size = Vector3.new(1, 0.4, 1) | |
| 1342 | rleg4.CanCollide = false | |
| 1343 | rleg4.BottomSurface = "Smooth" | |
| 1344 | rleg4.TopSurface = "Smooth" | |
| 1345 | Weld = Instance.new("Weld",rleg)
| |
| 1346 | Weld.Part0 = rleg | |
| 1347 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1348 | Weld.Part1 = rleg4 | |
| 1349 | Weld.C1 = CFrame.new(1.5055685, -3.33812618, 5.26447296, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
| 1350 | ||
| 1351 | rleg5 = Instance.new("Part", char)
| |
| 1352 | rleg5.BrickColor = BrickColor.new("Really red")
| |
| 1353 | rleg5.Size = Vector3.new(1, 0.4, 1) | |
| 1354 | rleg5.CanCollide = false | |
| 1355 | rleg5.BottomSurface = "Smooth" | |
| 1356 | rleg5.TopSurface = "Smooth" | |
| 1357 | Weld = Instance.new("Weld",rleg)
| |
| 1358 | Weld.Part0 = rleg | |
| 1359 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1360 | Weld.Part1 = rleg5 | |
| 1361 | Weld.C1 = CFrame.new(0.905564308, -5.57446861, -3.3581152, -1.50995788e-007, 1, 8.74227766e-008, -1.20315126e-014, 8.74227766e-008, -1, -1, -1.50995788e-007, -8.24226416e-015) | |
| 1362 | ||
| 1363 | rleg6 = Instance.new("Part", char)
| |
| 1364 | rleg6.BrickColor = BrickColor.new("Really red")
| |
| 1365 | rleg6.Size = Vector3.new(1, 0.4, 1) | |
| 1366 | rleg6.CanCollide = false | |
| 1367 | rleg6.BottomSurface = "Smooth" | |
| 1368 | rleg6.TopSurface = "Smooth" | |
| 1369 | Weld = Instance.new("Weld",rleg)
| |
| 1370 | Weld.Part0 = rleg | |
| 1371 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1372 | Weld.Part1 = rleg6 | |
| 1373 | Weld.C1 = CFrame.new(0.904744625, 4.77446556, 3.3581152, -7.17753299e-023, 1, 4.37113883e-008, 1.64202821e-015, -4.37113883e-008, 1, 1, -1.4355066e-022, 0) | |
| 1374 | ||
| 1375 | rleg7 = Instance.new("Part", char)
| |
| 1376 | rleg7.BrickColor = BrickColor.new("Really red")
| |
| 1377 | rleg7.Size = Vector3.new(0.5, 0.3, 2) | |
| 1378 | rleg7.CanCollide = false | |
| 1379 | rleg7.BottomSurface = "Smooth" | |
| 1380 | rleg7.TopSurface = "Smooth" | |
| 1381 | Weld = Instance.new("Weld",rleg)
| |
| 1382 | Weld.Part0 = rleg | |
| 1383 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1384 | Weld.Part1 = rleg7 | |
| 1385 | Weld.C1 = CFrame.new(-3.66284275, -3.99935341, -4.29136944, 0.183012664, -0.683012724, -0.707106829, -0.965925872, -0.258818954, -3.53088581e-008, -0.183012635, 0.683012784, -0.707106769) | |
| 1386 | ----------------------------------------------------------------- Torso ----------------------------------------------------------------- | |
| 1387 | Chest1 = Instance.new("Part", char)
| |
| 1388 | Chest1.Name = "Ball" | |
| 1389 | Chest1.BrickColor = BrickColor.new("Really red")
| |
| 1390 | Chest1.Size = Vector3.new(1, 0.4, 1) | |
| 1391 | Chest1.CanCollide = false | |
| 1392 | Chest1.BottomSurface = "Smooth" | |
| 1393 | Chest1.TopSurface = "Smooth" | |
| 1394 | Chest1.Material = "Neon" | |
| 1395 | Mesh = Instance.new("CylinderMesh", Chest1)
| |
| 1396 | Mesh.Scale = Vector3.new(0.9, 0.4, 0.9) | |
| 1397 | Weld = Instance.new("Weld",torso)
| |
| 1398 | Weld.Part0 = torso | |
| 1399 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1400 | Weld.Part1 = Chest1 | |
| 1401 | Weld.C1 = CFrame.new(0, 0.700000763, 0.176463604, -1, 0, 0, 0, 0, -1, 0, -1, 0) | |
| 1402 | ||
| 1403 | Chest2 = Instance.new("Part", char)
| |
| 1404 | Chest2.BrickColor = BrickColor.new("Really red")
| |
| 1405 | Chest2.Name = "Middle" | |
| 1406 | Chest2.Size = Vector3.new(2, 2, 1) | |
| 1407 | Chest2.CanCollide = false | |
| 1408 | Chest2.BottomSurface = "Smooth" | |
| 1409 | Chest2.TopSurface = "Smooth" | |
| 1410 | Chest2.Material = "Neon" | |
| 1411 | Weld = Instance.new("Weld",torso)
| |
| 1412 | Weld.Part0 = torso | |
| 1413 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1414 | Weld.Part1 = Chest2 | |
| 1415 | Weld.C1 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1416 | ||
| 1417 | Chest3 = Instance.new("Part", char)
| |
| 1418 | Chest3.BrickColor = BrickColor.new("Really red")
| |
| 1419 | Chest3.Size = Vector3.new(1, 0.4, 1) | |
| 1420 | Chest3.CanCollide = false | |
| 1421 | Chest3.BottomSurface = "Smooth" | |
| 1422 | Chest3.TopSurface = "Smooth" | |
| 1423 | Weld = Instance.new("Weld",torso)
| |
| 1424 | Weld.Part0 = torso | |
| 1425 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1426 | Weld.Part1 = Chest3 | |
| 1427 | Weld.C1 = CFrame.new(-0.476491928, -0.5, -0.499999046, 5.15558582e-008, 1, -7.54979013e-008, -3.35276091e-008, 7.54979013e-008, 1, 1, -5.15558582e-008, 3.35276091e-008) | |
| 1428 | ||
| 1429 | Chest4 = Instance.new("Part", char)
| |
| 1430 | Chest4.BrickColor = BrickColor.new("Really red")
| |
| 1431 | Chest4.Size = Vector3.new(1, 0.4, 1) | |
| 1432 | Chest4.CanCollide = false | |
| 1433 | Chest4.BottomSurface = "Smooth" | |
| 1434 | Chest4.TopSurface = "Smooth" | |
| 1435 | Weld = Instance.new("Weld",torso)
| |
| 1436 | Weld.Part0 = torso | |
| 1437 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1438 | Weld.Part1 = Chest4 | |
| 1439 | Weld.C1 = CFrame.new(-0.476491451, -0.5, 0.5, -1.4355066e-022, 1, 4.37113883e-008, 3.28405643e-015, -4.37113883e-008, 1, 1, -2.8710132e-022, 1.64202821e-015) | |
| 1440 | ||
| 1441 | Chest5 = Instance.new("Part", char)
| |
| 1442 | Chest5.BrickColor = BrickColor.new("Really red")
| |
| 1443 | Chest5.Size = Vector3.new(1, 0.4, 1) | |
| 1444 | Chest5.CanCollide = false | |
| 1445 | Chest5.BottomSurface = "Smooth" | |
| 1446 | Chest5.TopSurface = "Smooth" | |
| 1447 | Weld = Instance.new("Weld",torso)
| |
| 1448 | Weld.Part0 = torso | |
| 1449 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1450 | Weld.Part1 = Chest5 | |
| 1451 | Weld.C1 = CFrame.new(-0.499999046, 0.5, 0.476491451, 1, -4.37113918e-008, 4.37113847e-008, -4.37113847e-008, 0, 1, -4.37113883e-008, -1, 0) | |
| 1452 | ||
| 1453 | Chest6 = Instance.new("Part", char)
| |
| 1454 | Chest6.BrickColor = BrickColor.new("Really red")
| |
| 1455 | Chest6.Size = Vector3.new(1, 0.4, 1) | |
| 1456 | Chest6.CanCollide = false | |
| 1457 | Chest6.BottomSurface = "Smooth" | |
| 1458 | Chest6.TopSurface = "Smooth" | |
| 1459 | Weld = Instance.new("Weld",torso)
| |
| 1460 | Weld.Part0 = torso | |
| 1461 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1462 | Weld.Part1 = Chest6 | |
| 1463 | Weld.C1 = CFrame.new(0.5236063, -0.449995041, 0, 0, 1, 8.74227766e-008, 3.28405643e-015, -8.74227766e-008, 1, 1, -1.4355066e-022, 0) | |
| 1464 | ||
| 1465 | Chest7 = Instance.new("Part", char)
| |
| 1466 | Chest7.BrickColor = BrickColor.new("Really red")
| |
| 1467 | Chest7.Size = Vector3.new(1, 0.4, 1) | |
| 1468 | Chest7.CanCollide = false | |
| 1469 | Chest7.BottomSurface = "Smooth" | |
| 1470 | Chest7.TopSurface = "Smooth" | |
| 1471 | Weld = Instance.new("Weld",torso)
| |
| 1472 | Weld.Part0 = torso | |
| 1473 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1474 | Weld.Part1 = Chest7 | |
| 1475 | Weld.C1 = CFrame.new(0.5, 0.5, 0.476491928, 1, -4.37113918e-008, 4.37113847e-008, -4.37113847e-008, 0, 1, -4.37113883e-008, -1, 0) | |
| 1476 | ||
| 1477 | Chest8 = Instance.new("Part", char)
| |
| 1478 | Chest8.BrickColor = BrickColor.new("Really red")
| |
| 1479 | Chest8.Size = Vector3.new(1, 0.4, 1) | |
| 1480 | Chest8.CanCollide = false | |
| 1481 | Chest8.BottomSurface = "Smooth" | |
| 1482 | Chest8.TopSurface = "Smooth" | |
| 1483 | Weld = Instance.new("Weld",torso)
| |
| 1484 | Weld.Part0 = torso | |
| 1485 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1486 | Weld.Part1 = Chest8 | |
| 1487 | Weld.C1 = CFrame.new(0, 0.389970779, -0.473520517, 1, -4.37113954e-008, 4.37113847e-008, -4.37113883e-008, -4.37113883e-008, 1, -4.37113883e-008, -1, -4.37113883e-008) | |
| 1488 | ||
| 1489 | Chest9 = Instance.new("Part", char)
| |
| 1490 | Chest9.BrickColor = BrickColor.new("Really red")
| |
| 1491 | Chest9.Size = Vector3.new(0.5, 0.3, 2) | |
| 1492 | Chest9.CanCollide = false | |
| 1493 | Chest9.BottomSurface = "Smooth" | |
| 1494 | Chest9.TopSurface = "Smooth" | |
| 1495 | Weld = Instance.new("Weld",torso)
| |
| 1496 | Weld.Part0 = torso | |
| 1497 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1498 | Weld.Part1 = Chest9 | |
| 1499 | Weld.C1 = CFrame.new(-0.458083153, 0.580001831, 0.306574821, -0.866025448, -0.49999997, 4.37113883e-008, -3.78551732e-008, -2.18556924e-008, -1, 0.49999997, -0.866025448, 0) | |
| 1500 | ||
| 1501 | Chest10 = Instance.new("Part", char)
| |
| 1502 | Chest10.BrickColor = BrickColor.new("Really red")
| |
| 1503 | Chest10.Size = Vector3.new(1, 0.4, 1) | |
| 1504 | Chest10.CanCollide = false | |
| 1505 | Chest10.BottomSurface = "Smooth" | |
| 1506 | Chest10.TopSurface = "Smooth" | |
| 1507 | Mesh = Instance.new("SpecialMesh", Chest10)
| |
| 1508 | Mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
| 1509 | Weld = Instance.new("Weld",torso)
| |
| 1510 | Weld.Part0 = torso | |
| 1511 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1512 | Weld.Part1 = Chest10 | |
| 1513 | Weld.C1 = CFrame.new(-1.07653379, 0.899993896, 0, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
| 1514 | ||
| 1515 | Chest11 = Instance.new("Part", char)
| |
| 1516 | Chest11.BrickColor = BrickColor.new("Really red")
| |
| 1517 | Chest11.Size = Vector3.new(0.5, 0.3, 2) | |
| 1518 | Chest11.CanCollide = false | |
| 1519 | Chest11.BottomSurface = "Smooth" | |
| 1520 | Chest11.TopSurface = "Smooth" | |
| 1521 | Weld = Instance.new("Weld",torso)
| |
| 1522 | Weld.Part0 = torso | |
| 1523 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1524 | Weld.Part1 = Chest11 | |
| 1525 | Weld.C1 = CFrame.new(0.973486662, -0.460004807, -9.53674316e-007, 1.50995803e-007, 1, 7.54979013e-008, -1.85052948e-014, -7.54979013e-008, 1, 1, -1.50995803e-007, 7.10542736e-015) | |
| 1526 | ||
| 1527 | Chest12 = Instance.new("Part", char)
| |
| 1528 | Chest12.BrickColor = BrickColor.new("Really red")
| |
| 1529 | Chest12.Size = Vector3.new(0.5, 0.3, 2) | |
| 1530 | Chest12.CanCollide = false | |
| 1531 | Chest12.BottomSurface = "Smooth" | |
| 1532 | Chest12.TopSurface = "Smooth" | |
| 1533 | Weld = Instance.new("Weld",torso)
| |
| 1534 | Weld.Part0 = torso | |
| 1535 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1536 | Weld.Part1 = Chest12 | |
| 1537 | Weld.C1 = CFrame.new(-0.973600388, 0.450008392, -7.62939453e-006, -9.32088255e-008, -1, -4.37113883e-008, 5.82035878e-011, -4.37113883e-008, 1, -1, 9.32088255e-008, 5.82076609e-011) | |
| 1538 | ||
| 1539 | Chest13 = Instance.new("Part", char)
| |
| 1540 | Chest13.BrickColor = BrickColor.new("Really red")
| |
| 1541 | Chest13.Size = Vector3.new(0.5, 0.3, 2) | |
| 1542 | Chest13.CanCollide = false | |
| 1543 | Chest13.BottomSurface = "Smooth" | |
| 1544 | Chest13.TopSurface = "Smooth" | |
| 1545 | Weld = Instance.new("Weld",torso)
| |
| 1546 | Weld.Part0 = torso | |
| 1547 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1548 | Weld.Part1 = Chest13 | |
| 1549 | Weld.C1 = CFrame.new(-0.729999542, -0.117254257, -1.91926646, -1, -3.23980487e-008, -4.22219593e-008, 3.23980487e-008, 0.258819044, -0.965925813, 4.22219593e-008, -0.965925813, -0.258819044) | |
| 1550 | ||
| 1551 | Chest14 = Instance.new("Part", char)
| |
| 1552 | Chest14.BrickColor = BrickColor.new("Really red")
| |
| 1553 | Chest14.Size = Vector3.new(0.5, 0.3, 2) | |
| 1554 | Chest14.CanCollide = false | |
| 1555 | Chest14.BottomSurface = "Smooth" | |
| 1556 | Chest14.TopSurface = "Smooth" | |
| 1557 | Weld = Instance.new("Weld",torso)
| |
| 1558 | Weld.Part0 = torso | |
| 1559 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1560 | Weld.Part1 = Chest14 | |
| 1561 | Weld.C1 = CFrame.new(0.769999504, -0.150730133, -1.91693306, -1, -3.31366472e-008, -4.24129745e-008, 3.31366472e-008, 0.241921902, -0.970295727, 4.24129745e-008, -0.970295727, -0.241921902) | |
| 1562 | ||
| 1563 | Chest15 = Instance.new("Part", char)
| |
| 1564 | Chest15.BrickColor = BrickColor.new("Really red")
| |
| 1565 | Chest15.Size = Vector3.new(0.5, 0.3, 2) | |
| 1566 | Chest15.CanCollide = false | |
| 1567 | Chest15.BottomSurface = "Smooth" | |
| 1568 | Chest15.TopSurface = "Smooth" | |
| 1569 | Weld = Instance.new("Weld",torso)
| |
| 1570 | Weld.Part0 = torso | |
| 1571 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1572 | Weld.Part1 = Chest15 | |
| 1573 | Weld.C1 = CFrame.new(-0.209440231, 1.25000095, 1.42984772, -6.16862437e-008, 0.656059027, 0.754709601, -1, -6.53672387e-008, -2.49122056e-008, 3.2989405e-008, -0.754709601, 0.656059027) | |
| 1574 | ||
| 1575 | Chest16 = Instance.new("Part", char)
| |
| 1576 | Chest16.BrickColor = BrickColor.new("Really red")
| |
| 1577 | Chest16.Size = Vector3.new(0.5, 0.3, 2) | |
| 1578 | Chest16.CanCollide = false | |
| 1579 | Chest16.BottomSurface = "Smooth" | |
| 1580 | Chest16.TopSurface = "Smooth" | |
| 1581 | Weld = Instance.new("Weld",torso)
| |
| 1582 | Weld.Part0 = torso | |
| 1583 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1584 | Weld.Part1 = Chest16 | |
| 1585 | Weld.C1 = CFrame.new(-0.158526421, 1.25000095, 1.0131588, -7.35374925e-008, 0.927183867, 0.374606639, -1, -7.43167945e-008, -1.23653887e-008, 1.63745764e-008, -0.374606639, 0.927183867) | |
| 1586 | ||
| 1587 | Chest17 = Instance.new("Part", char)
| |
| 1588 | Chest17.BrickColor = BrickColor.new("Really red")
| |
| 1589 | Chest17.Size = Vector3.new(0.5, 0.3, 2) | |
| 1590 | Chest17.CanCollide = false | |
| 1591 | Chest17.BottomSurface = "Smooth" | |
| 1592 | Chest17.TopSurface = "Smooth" | |
| 1593 | Weld = Instance.new("Weld",torso)
| |
| 1594 | Weld.Part0 = torso | |
| 1595 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1596 | Weld.Part1 = Chest17 | |
| 1597 | Weld.C1 = CFrame.new(-0.229999542, -0.117254257, -1.91926742, -1, -3.23980487e-008, -4.22219593e-008, 3.23980487e-008, 0.258819044, -0.965925813, 4.22219593e-008, -0.965925813, -0.258819044) | |
| 1598 | ||
| 1599 | Chest18 = Instance.new("Part", char)
| |
| 1600 | Chest18.BrickColor = BrickColor.new("Really red")
| |
| 1601 | Chest18.Size = Vector3.new(0.5, 0.3, 2) | |
| 1602 | Chest18.CanCollide = false | |
| 1603 | Chest18.BottomSurface = "Smooth" | |
| 1604 | Chest18.TopSurface = "Smooth" | |
| 1605 | Weld = Instance.new("Weld",torso)
| |
| 1606 | Weld.Part0 = torso | |
| 1607 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1608 | Weld.Part1 = Chest18 | |
| 1609 | Weld.C1 = CFrame.new(0.269999504, -0.117254257, -1.91926742, -1, -3.23980487e-008, -4.22219593e-008, 3.23980487e-008, 0.258819044, -0.965925813, 4.22219593e-008, -0.965925813, -0.258819044) | |
| 1610 | ||
| 1611 | Chest19 = Instance.new("Part", char)
| |
| 1612 | Chest19.BrickColor = BrickColor.new("Really red")
| |
| 1613 | Chest19.Size = Vector3.new(0.5, 0.3, 2) | |
| 1614 | Chest19.CanCollide = false | |
| 1615 | Chest19.BottomSurface = "Smooth" | |
| 1616 | Chest19.TopSurface = "Smooth" | |
| 1617 | Weld = Instance.new("Weld",torso)
| |
| 1618 | Weld.Part0 = torso | |
| 1619 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1620 | Weld.Part1 = Chest19 | |
| 1621 | Weld.C1 = CFrame.new(-0.00685310364, 1.25, 1.45221233, -2.47515253e-008, 0.224950925, 0.974370122, -1, -4.7067342e-008, -1.45362469e-008, 4.2591072e-008, -0.974370122, 0.224950925) | |
| 1622 | ||
| 1623 | Chest20 = Instance.new("Part", char)
| |
| 1624 | Chest20.BrickColor = BrickColor.new("Really red")
| |
| 1625 | Chest20.Size = Vector3.new(1, 0.4, 1) | |
| 1626 | Chest20.CanCollide = false | |
| 1627 | Chest20.BottomSurface = "Smooth" | |
| 1628 | Chest20.TopSurface = "Smooth" | |
| 1629 | Mesh = Instance.new("SpecialMesh",Chest20)
| |
| 1630 | Mesh.Scale = Vector3.new(1.1,1.1,1.1) | |
| 1631 | Weld = Instance.new("Weld",torso)
| |
| 1632 | Weld.Part0 = torso | |
| 1633 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1634 | Weld.Part1 = Chest20 | |
| 1635 | Weld.C1 = CFrame.new(-1.07653379, -0.899992943, 0, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
| 1636 | ||
| 1637 | Chest21 = Instance.new("Part", char)
| |
| 1638 | Chest21.BrickColor = BrickColor.new("Really red")
| |
| 1639 | Chest21.Size = Vector3.new(0.5, 0.3, 2) | |
| 1640 | Chest21.CanCollide = false | |
| 1641 | Chest21.BottomSurface = "Smooth" | |
| 1642 | Chest21.TopSurface = "Smooth" | |
| 1643 | Weld = Instance.new("Weld",torso)
| |
| 1644 | Weld.Part0 = torso | |
| 1645 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1646 | Weld.Part1 = Chest21 | |
| 1647 | Weld.C1 = CFrame.new(-0.209432602, -1.14999962, 1.429842, -6.16862437e-008, 0.656059027, 0.754709601, -1, -6.53672387e-008, -2.49122056e-008, 3.2989405e-008, -0.754709601, 0.656059027) | |
| 1648 | ||
| 1649 | Chest22 = Instance.new("Part", char)
| |
| 1650 | Chest22.BrickColor = BrickColor.new("Really red")
| |
| 1651 | Chest22.Size = Vector3.new(0.5, 0.3, 2) | |
| 1652 | Chest22.CanCollide = false | |
| 1653 | Chest22.BottomSurface = "Smooth" | |
| 1654 | Chest22.TopSurface = "Smooth" | |
| 1655 | Weld = Instance.new("Weld",torso)
| |
| 1656 | Weld.Part0 = torso | |
| 1657 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1658 | Weld.Part1 = Chest22 | |
| 1659 | Weld.C1 = CFrame.new(-0.00685119629, -1.15000057, 1.45220757, -2.47515253e-008, 0.224950925, 0.974370122, -1, -4.7067342e-008, -1.45362469e-008, 4.2591072e-008, -0.974370122, 0.224950925) | |
| 1660 | ||
| 1661 | Chest23 = Instance.new("Part", char)
| |
| 1662 | Chest23.BrickColor = BrickColor.new("Really red")
| |
| 1663 | Chest23.Size = Vector3.new(0.5, 0.3, 2) | |
| 1664 | Chest23.CanCollide = false | |
| 1665 | Chest23.BottomSurface = "Smooth" | |
| 1666 | Chest23.TopSurface = "Smooth" | |
| 1667 | Weld = Instance.new("Weld",torso)
| |
| 1668 | Weld.Part0 = torso | |
| 1669 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1670 | Weld.Part1 = Chest23 | |
| 1671 | Weld.C1 = CFrame.new(-0.158511639, -1.15000057, 1.01315498, -7.35374925e-008, 0.927183926, 0.374606401, -1, -7.43168016e-008, -1.23653807e-008, 1.63745657e-008, -0.374606401, 0.927183926) | |
| 1672 | ||
| 1673 | Chest24 = Instance.new("Part", char)
| |
| 1674 | Chest24.BrickColor = BrickColor.new("Really red")
| |
| 1675 | Chest24.Size = Vector3.new(0.5, 0.3, 2) | |
| 1676 | Chest24.CanCollide = false | |
| 1677 | Chest24.BottomSurface = "Smooth" | |
| 1678 | Chest24.TopSurface = "Smooth" | |
| 1679 | Weld = Instance.new("Weld",torso)
| |
| 1680 | Weld.Part0 = torso | |
| 1681 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1682 | Weld.Part1 = Chest24 | |
| 1683 | Weld.C1 = CFrame.new(-0.458065987, -0.579999924, 0.306604624, 0.866025388, -0.50000006, 4.37113883e-008, 4.53686155e-008, 1.66003517e-007, 1, -0.50000006, -0.866025388, 1.66447563e-007) | |
| 1684 | ----- | |
| 1685 | ----------------------- | |
| 1686 | --[[ Name : Abyslumv2? Or Abyslum Remade????? ]]-- | |
| 1687 | ------------------------------------------------------- | |
| 1688 | --A script By makhail07 | |
| 1689 | --Credit to shackluster for the original script. | |
| 1690 | ||
| 1691 | --Discord Creterisk#2958 | |
| 1692 | ||
| 1693 | --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION | |
| 1694 | --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT | |
| 1695 | --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT | |
| 1696 | --YOU FUCKING SKIDS, | |
| 1697 | --For Those who log/decompile this, If you sell or trade this, | |
| 1698 | --and I find out who you are, i will take massive action. | |
| 1699 | ||
| 1700 | ------------------------------------------------------- | |
| 1701 | ||
| 1702 | local FavIDs = {
| |
| 1703 | 340106355, --Nefl Crystals | |
| 1704 | 927529620, --Dimension | |
| 1705 | 876981900, --Fantasy | |
| 1706 | 398987889, --Ordinary Days | |
| 1707 | 1117396305, --Oh wait, it's you. | |
| 1708 | 885996042, --Action Winter Journey | |
| 1709 | 919231299, --Sprawling Idiot Effigy | |
| 1710 | 743466274, --Good Day Sunshine | |
| 1711 | 727411183, --Knife Fight | |
| 1712 | 1402748531, --The Earth Is Counting On You! | |
| 1713 | 595230126 --Robot Language | |
| 1714 | } | |
| 1715 | ||
| 1716 | ||
| 1717 | ||
| 1718 | --The reality of my life isn't real but a Universe -makhail07 | |
| 1719 | wait(0.2) | |
| 1720 | local plr = game:service'Players'.LocalPlayer | |
| 1721 | print('Local User is '..plr.Name)
| |
| 1722 | print('Abyslum Loaded')
| |
| 1723 | print('The Abyss Will Come...')
| |
| 1724 | local char = plr.Character | |
| 1725 | local hum = char.Humanoid | |
| 1726 | local hed = char.Head | |
| 1727 | local root = char.HumanoidRootPart | |
| 1728 | local rootj = root.RootJoint | |
| 1729 | local tors = char.Torso | |
| 1730 | local ra = char["Right Arm"] | |
| 1731 | local la = char["Left Arm"] | |
| 1732 | local rl = char["Right Leg"] | |
| 1733 | local ll = char["Left Leg"] | |
| 1734 | local neck = tors["Neck"] | |
| 1735 | local mouse = plr:GetMouse() | |
| 1736 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 1737 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
| 1738 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
| 1739 | local maincolor = BrickColor.new("Really red")
| |
| 1740 | hum.DisplayDistanceType = "None" | |
| 1741 | ||
| 1742 | ------------------------------------------------------- | |
| 1743 | --Start Good Stuff-- | |
| 1744 | ------------------------------------------------------- | |
| 1745 | cam = game.Workspace.CurrentCamera | |
| 1746 | CF = CFrame.new | |
| 1747 | angles = CFrame.Angles | |
| 1748 | attack = false | |
| 1749 | Euler = CFrame.fromEulerAnglesXYZ | |
| 1750 | Rad = math.rad | |
| 1751 | IT = Instance.new | |
| 1752 | BrickC = BrickColor.new | |
| 1753 | Cos = math.cos | |
| 1754 | Acos = math.acos | |
| 1755 | Sin = math.sin | |
| 1756 | Asin = math.asin | |
| 1757 | Abs = math.abs | |
| 1758 | Mrandom = math.random | |
| 1759 | Floor = math.floor | |
| 1760 | ------------------------------------------------------- | |
| 1761 | --End Good Stuff-- | |
| 1762 | ------------------------------------------------------- | |
| 1763 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 1764 | RSH, LSH = nil, nil | |
| 1765 | RW = Instance.new("Weld")
| |
| 1766 | LW = Instance.new("Weld")
| |
| 1767 | RH = tors["Right Hip"] | |
| 1768 | LH = tors["Left Hip"] | |
| 1769 | RSH = tors["Right Shoulder"] | |
| 1770 | LSH = tors["Left Shoulder"] | |
| 1771 | RSH.Parent = nil | |
| 1772 | LSH.Parent = nil | |
| 1773 | RW.Name = "RW" | |
| 1774 | RW.Part0 = tors | |
| 1775 | RW.C0 = CF(1.5, 0.5, 0) | |
| 1776 | RW.C1 = CF(0, 0.5, 0) | |
| 1777 | RW.Part1 = ra | |
| 1778 | RW.Parent = tors | |
| 1779 | LW.Name = "LW" | |
| 1780 | LW.Part0 = tors | |
| 1781 | LW.C0 = CF(-1.5, 0.5, 0) | |
| 1782 | LW.C1 = CF(0, 0.5, 0) | |
| 1783 | LW.Part1 = la | |
| 1784 | LW.Parent = tors | |
| 1785 | Effects = {}
| |
| 1786 | ------------------------------------------------------- | |
| 1787 | --Start HeartBeat-- | |
| 1788 | ------------------------------------------------------- | |
| 1789 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 1790 | ArtificialHB.Name = "Heartbeat" | |
| 1791 | script:WaitForChild("Heartbeat")
| |
| 1792 | ||
| 1793 | frame = 1 / 60 | |
| 1794 | tf = 0 | |
| 1795 | allowframeloss = false | |
| 1796 | tossremainder = false | |
| 1797 | ||
| 1798 | ||
| 1799 | lastframe = tick() | |
| 1800 | script.Heartbeat:Fire() | |
| 1801 | ||
| 1802 | ||
| 1803 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 1804 | tf = tf + s | |
| 1805 | if tf >= frame then | |
| 1806 | if allowframeloss then | |
| 1807 | script.Heartbeat:Fire() | |
| 1808 | lastframe = tick() | |
| 1809 | else | |
| 1810 | for i = 1, math.floor(tf / frame) do | |
| 1811 | script.Heartbeat:Fire() | |
| 1812 | end | |
| 1813 | lastframe = tick() | |
| 1814 | end | |
| 1815 | if tossremainder then | |
| 1816 | tf = 0 | |
| 1817 | else | |
| 1818 | tf = tf - frame * math.floor(tf / frame) | |
| 1819 | end | |
| 1820 | end | |
| 1821 | end) | |
| 1822 | ------------------------------------------------------- | |
| 1823 | --End HeartBeat-- | |
| 1824 | ------------------------------------------------------- | |
| 1825 | ||
| 1826 | ------------------------------------------------------- | |
| 1827 | --Start Important Functions-- | |
| 1828 | ------------------------------------------------------- | |
| 1829 | function swait(num) | |
| 1830 | if num == 0 or num == nil then | |
| 1831 | game:service("RunService").Stepped:wait(0)
| |
| 1832 | else | |
| 1833 | for i = 0, num do | |
| 1834 | game:service("RunService").Stepped:wait(0)
| |
| 1835 | end | |
| 1836 | end | |
| 1837 | end | |
| 1838 | function thread(f) | |
| 1839 | coroutine.resume(coroutine.create(f)) | |
| 1840 | end | |
| 1841 | function clerp(a, b, t) | |
| 1842 | local qa = {
| |
| 1843 | QuaternionFromCFrame(a) | |
| 1844 | } | |
| 1845 | local qb = {
| |
| 1846 | QuaternionFromCFrame(b) | |
| 1847 | } | |
| 1848 | local ax, ay, az = a.x, a.y, a.z | |
| 1849 | local bx, by, bz = b.x, b.y, b.z | |
| 1850 | local _t = 1 - t | |
| 1851 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 1852 | end | |
| 1853 | function QuaternionFromCFrame(cf) | |
| 1854 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 1855 | local trace = m00 + m11 + m22 | |
| 1856 | if trace > 0 then | |
| 1857 | local s = math.sqrt(1 + trace) | |
| 1858 | local recip = 0.5 / s | |
| 1859 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 1860 | else | |
| 1861 | local i = 0 | |
| 1862 | if m00 < m11 then | |
| 1863 | i = 1 | |
| 1864 | end | |
| 1865 | if m22 > (i == 0 and m00 or m11) then | |
| 1866 | i = 2 | |
| 1867 | end | |
| 1868 | if i == 0 then | |
| 1869 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 1870 | local recip = 0.5 / s | |
| 1871 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 1872 | elseif i == 1 then | |
| 1873 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 1874 | local recip = 0.5 / s | |
| 1875 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 1876 | elseif i == 2 then | |
| 1877 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 1878 | local recip = 0.5 / s | |
| 1879 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 1880 | end | |
| 1881 | end | |
| 1882 | end | |
| 1883 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 1884 | local xs, ys, zs = x + x, y + y, z + z | |
| 1885 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 1886 | local xx = x * xs | |
| 1887 | local xy = x * ys | |
| 1888 | local xz = x * zs | |
| 1889 | local yy = y * ys | |
| 1890 | local yz = y * zs | |
| 1891 | local zz = z * zs | |
| 1892 | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
| 1893 | end | |
| 1894 | function QuaternionSlerp(a, b, t) | |
| 1895 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 1896 | local startInterp, finishInterp | |
| 1897 | if cosTheta >= 1.0E-4 then | |
| 1898 | if 1 - cosTheta > 1.0E-4 then | |
| 1899 | local theta = math.acos(cosTheta) | |
| 1900 | local invSinTheta = 1 / Sin(theta) | |
| 1901 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
| 1902 | finishInterp = Sin(t * theta) * invSinTheta | |
| 1903 | else | |
| 1904 | startInterp = 1 - t | |
| 1905 | finishInterp = t | |
| 1906 | end | |
| 1907 | elseif 1 + cosTheta > 1.0E-4 then | |
| 1908 | local theta = math.acos(-cosTheta) | |
| 1909 | local invSinTheta = 1 / Sin(theta) | |
| 1910 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
| 1911 | finishInterp = Sin(t * theta) * invSinTheta | |
| 1912 | else | |
| 1913 | startInterp = t - 1 | |
| 1914 | finishInterp = t | |
| 1915 | end | |
| 1916 | return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp | |
| 1917 | end | |
| 1918 | function rayCast(Position, Direction, Range, Ignore) | |
| 1919 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 1920 | end | |
| 1921 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 1922 | local Create = RbxUtility.Create | |
| 1923 | ||
| 1924 | ------------------------------------------------------- | |
| 1925 | --Start Damage Function-- | |
| 1926 | ------------------------------------------------------- | |
| 1927 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 1928 | if hit.Parent == nil then | |
| 1929 | return | |
| 1930 | end | |
| 1931 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 1932 | for _, v in pairs(hit.Parent:children()) do | |
| 1933 | if v:IsA("Humanoid") then
| |
| 1934 | h = v | |
| 1935 | end | |
| 1936 | end | |
| 1937 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
| |
| 1938 | ||
| 1939 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 1940 | end | |
| 1941 | ||
| 1942 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 1943 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 1944 | if hit.Parent.DebounceHit.Value == true then | |
| 1945 | return | |
| 1946 | end | |
| 1947 | end | |
| 1948 | if insta == true then | |
| 1949 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 1950 | end | |
| 1951 | local c = Create("ObjectValue"){
| |
| 1952 | Name = "creator", | |
| 1953 | Value = game:service("Players").LocalPlayer,
| |
| 1954 | Parent = h, | |
| 1955 | } | |
| 1956 | game:GetService("Debris"):AddItem(c, .5)
| |
| 1957 | if HitSound ~= nil and HitPitch ~= nil then | |
| 1958 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 1959 | end | |
| 1960 | local Damage = math.random(minim, maxim) | |
| 1961 | local blocked = false | |
| 1962 | local block = hit.Parent:findFirstChild("Block")
| |
| 1963 | if block ~= nil then | |
| 1964 | if block.className == "IntValue" then | |
| 1965 | if block.Value > 0 then | |
| 1966 | blocked = true | |
| 1967 | block.Value = block.Value - 1 | |
| 1968 | print(block.Value) | |
| 1969 | end | |
| 1970 | end | |
| 1971 | end | |
| 1972 | if blocked == false then | |
| 1973 | h.Health = h.Health - Damage | |
| 1974 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 1975 | else | |
| 1976 | h.Health = h.Health - (Damage / 2) | |
| 1977 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 1978 | end | |
| 1979 | if Type == "Knockdown" then | |
| 1980 | local hum = hit.Parent.Humanoid | |
| 1981 | hum.PlatformStand = true | |
| 1982 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 1983 | swait(1) | |
| 1984 | HHumanoid.PlatformStand = false | |
| 1985 | end), hum) | |
| 1986 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
| 1987 | local bodvol = Create("BodyVelocity"){
| |
| 1988 | velocity = angle * knockback, | |
| 1989 | P = 5000, | |
| 1990 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 1991 | Parent = hit, | |
| 1992 | } | |
| 1993 | local rl = Create("BodyAngularVelocity"){
| |
| 1994 | P = 3000, | |
| 1995 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 1996 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 1997 | Parent = hit, | |
| 1998 | } | |
| 1999 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 2000 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 2001 | elseif Type == "Normal" then | |
| 2002 | local vp = Create("BodyVelocity"){
| |
| 2003 | P = 500, | |
| 2004 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 2005 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
| 2006 | } | |
| 2007 | if knockback > 0 then | |
| 2008 | vp.Parent = hit.Parent.Torso | |
| 2009 | end | |
| 2010 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 2011 | elseif Type == "Up" then | |
| 2012 | local bodyVelocity = Create("BodyVelocity"){
| |
| 2013 | velocity = Vector3.new(0, 20, 0), | |
| 2014 | P = 5000, | |
| 2015 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 2016 | Parent = hit, | |
| 2017 | } | |
| 2018 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 2019 | elseif Type == "DarkUp" then | |
| 2020 | coroutine.resume(coroutine.create(function() | |
| 2021 | for i = 0, 1, 0.1 do | |
| 2022 | swait() | |
| 2023 | Effects.Block.Create(BrickColor.new("Really red"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
| |
| 2024 | end | |
| 2025 | end)) | |
| 2026 | local bodyVelocity = Create("BodyVelocity"){
| |
| 2027 | velocity = Vector3.new(0, 20, 0), | |
| 2028 | P = 5000, | |
| 2029 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 2030 | Parent = hit, | |
| 2031 | } | |
| 2032 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 2033 | elseif Type == "Snare" then | |
| 2034 | local bp = Create("BodyPosition"){
| |
| 2035 | P = 2000, | |
| 2036 | D = 100, | |
| 2037 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 2038 | position = hit.Parent.Torso.Position, | |
| 2039 | Parent = hit.Parent.Torso, | |
| 2040 | } | |
| 2041 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 2042 | elseif Type == "Freeze" then | |
| 2043 | local BodPos = Create("BodyPosition"){
| |
| 2044 | P = 50000, | |
| 2045 | D = 1000, | |
| 2046 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 2047 | position = hit.Parent.Torso.Position, | |
| 2048 | Parent = hit.Parent.Torso, | |
| 2049 | } | |
| 2050 | local BodGy = Create("BodyGyro") {
| |
| 2051 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
| 2052 | P = 20e+003, | |
| 2053 | Parent = hit.Parent.Torso, | |
| 2054 | cframe = hit.Parent.Torso.CFrame, | |
| 2055 | } | |
| 2056 | hit.Parent.Torso.Anchored = true | |
| 2057 | coroutine.resume(coroutine.create(function(Part) | |
| 2058 | swait(1.5) | |
| 2059 | Part.Anchored = false | |
| 2060 | end), hit.Parent.Torso) | |
| 2061 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 2062 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 2063 | end | |
| 2064 | local debounce = Create("BoolValue"){
| |
| 2065 | Name = "DebounceHit", | |
| 2066 | Parent = hit.Parent, | |
| 2067 | Value = true, | |
| 2068 | } | |
| 2069 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 2070 | c = Create("ObjectValue"){
| |
| 2071 | Name = "creator", | |
| 2072 | Value = Player, | |
| 2073 | Parent = h, | |
| 2074 | } | |
| 2075 | game:GetService("Debris"):AddItem(c, .5)
| |
| 2076 | end | |
| 2077 | end | |
| 2078 | ------------------------------------------------------- | |
| 2079 | --End Damage Function-- | |
| 2080 | ------------------------------------------------------- | |
| 2081 | ||
| 2082 | ------------------------------------------------------- | |
| 2083 | --Start Damage Function Customization-- | |
| 2084 | ------------------------------------------------------- | |
| 2085 | function ShowDamage(Pos, Text, Time, Color) | |
| 2086 | local Rate = (1 / 30) | |
| 2087 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 2088 | local Text = (Text or "") | |
| 2089 | local Time = (Time or 2) | |
| 2090 | local Color = (Color or Color3.new(255, 0, 0)) | |
| 2091 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 2092 | EffectPart.Anchored = true | |
| 2093 | local BillboardGui = Create("BillboardGui"){
| |
| 2094 | Size = UDim2.new(3, 0, 3, 0), | |
| 2095 | Adornee = EffectPart, | |
| 2096 | Parent = EffectPart, | |
| 2097 | } | |
| 2098 | local TextLabel = Create("TextLabel"){
| |
| 2099 | BackgroundTransparency = 1, | |
| 2100 | Size = UDim2.new(1, 0, 1, 0), | |
| 2101 | Text = Text, | |
| 2102 | Font = "Bodoni", | |
| 2103 | TextColor3 = Color, | |
| 2104 | TextScaled = true, | |
| 2105 | TextStrokeColor3 = Color3.fromRGB(255,0,0), | |
| 2106 | Parent = BillboardGui, | |
| 2107 | } | |
| 2108 | game.Debris:AddItem(EffectPart, (Time)) | |
| 2109 | EffectPart.Parent = game:GetService("Workspace")
| |
| 2110 | delay(0, function() | |
| 2111 | local Frames = (Time / Rate) | |
| 2112 | for Frame = 1, Frames do | |
| 2113 | wait(Rate) | |
| 2114 | local Percent = (Frame / Frames) | |
| 2115 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 2116 | TextLabel.TextTransparency = Percent | |
| 2117 | end | |
| 2118 | if EffectPart and EffectPart.Parent then | |
| 2119 | EffectPart:Destroy() | |
| 2120 | end | |
| 2121 | end) | |
| 2122 | end | |
| 2123 | ------------------------------------------------------- | |
| 2124 | --End Damage Function Customization-- | |
| 2125 | ------------------------------------------------------- | |
| 2126 | ||
| 2127 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
| 2128 | for _, c in pairs(workspace:children()) do | |
| 2129 | local hum = c:findFirstChild("Humanoid")
| |
| 2130 | if hum ~= nil then | |
| 2131 | local head = c:findFirstChild("Head")
| |
| 2132 | if head ~= nil then | |
| 2133 | local targ = head.Position - Part.Position | |
| 2134 | local mag = targ.magnitude | |
| 2135 | if magni >= mag and c.Name ~= plr.Name then | |
| 2136 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
| 2137 | end | |
| 2138 | end | |
| 2139 | end | |
| 2140 | end | |
| 2141 | end | |
| 2142 | ||
| 2143 | ||
| 2144 | CFuncs = {
| |
| 2145 | Part = {
| |
| 2146 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 2147 | local Part = Create("Part")({
| |
| 2148 | Parent = Parent, | |
| 2149 | Reflectance = Reflectance, | |
| 2150 | Transparency = Transparency, | |
| 2151 | CanCollide = false, | |
| 2152 | Locked = true, | |
| 2153 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 2154 | Name = Name, | |
| 2155 | Size = Size, | |
| 2156 | Material = Material | |
| 2157 | }) | |
| 2158 | RemoveOutlines(Part) | |
| 2159 | return Part | |
| 2160 | end | |
| 2161 | }, | |
| 2162 | Mesh = {
| |
| 2163 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 2164 | local Msh = Create(Mesh)({
| |
| 2165 | Parent = Part, | |
| 2166 | Offset = OffSet, | |
| 2167 | Scale = Scale | |
| 2168 | }) | |
| 2169 | if Mesh == "SpecialMesh" then | |
| 2170 | Msh.MeshType = MeshType | |
| 2171 | Msh.MeshId = MeshId | |
| 2172 | end | |
| 2173 | return Msh | |
| 2174 | end | |
| 2175 | }, | |
| 2176 | Mesh = {
| |
| 2177 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 2178 | local Msh = Create(Mesh)({
| |
| 2179 | Parent = Part, | |
| 2180 | Offset = OffSet, | |
| 2181 | Scale = Scale | |
| 2182 | }) | |
| 2183 | if Mesh == "SpecialMesh" then | |
| 2184 | Msh.MeshType = MeshType | |
| 2185 | Msh.MeshId = MeshId | |
| 2186 | end | |
| 2187 | return Msh | |
| 2188 | end | |
| 2189 | }, | |
| 2190 | Weld = {
| |
| 2191 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 2192 | local Weld = Create("Weld")({
| |
| 2193 | Parent = Parent, | |
| 2194 | Part0 = Part0, | |
| 2195 | Part1 = Part1, | |
| 2196 | C0 = C0, | |
| 2197 | C1 = C1 | |
| 2198 | }) | |
| 2199 | return Weld | |
| 2200 | end | |
| 2201 | }, | |
| 2202 | Sound = {
| |
| 2203 | Create = function(id, par, vol, pit) | |
| 2204 | coroutine.resume(coroutine.create(function() | |
| 2205 | local S = Create("Sound")({
| |
| 2206 | Volume = vol, | |
| 2207 | Pitch = pit or 1, | |
| 2208 | SoundId = id, | |
| 2209 | Parent = par or workspace | |
| 2210 | }) | |
| 2211 | wait() | |
| 2212 | S:play() | |
| 2213 | game:GetService("Debris"):AddItem(S, 6)
| |
| 2214 | end)) | |
| 2215 | end | |
| 2216 | }, | |
| 2217 | ParticleEmitter = {
| |
| 2218 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 2219 | local fp = Create("ParticleEmitter")({
| |
| 2220 | Parent = Parent, | |
| 2221 | Color = ColorSequence.new(Color1, Color2), | |
| 2222 | LightEmission = LightEmission, | |
| 2223 | Size = Size, | |
| 2224 | Texture = Texture, | |
| 2225 | Transparency = Transparency, | |
| 2226 | ZOffset = ZOffset, | |
| 2227 | Acceleration = Accel, | |
| 2228 | Drag = Drag, | |
| 2229 | LockedToPart = LockedToPart, | |
| 2230 | VelocityInheritance = VelocityInheritance, | |
| 2231 | EmissionDirection = EmissionDirection, | |
| 2232 | Enabled = Enabled, | |
| 2233 | Lifetime = LifeTime, | |
| 2234 | Rate = Rate, | |
| 2235 | Rotation = Rotation, | |
| 2236 | RotSpeed = RotSpeed, | |
| 2237 | Speed = Speed, | |
| 2238 | VelocitySpread = VelocitySpread | |
| 2239 | }) | |
| 2240 | return fp | |
| 2241 | end | |
| 2242 | } | |
| 2243 | } | |
| 2244 | function RemoveOutlines(part) | |
| 2245 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 2246 | end | |
| 2247 | function CreatePart1(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 2248 | local Part = Create("Part")({
| |
| 2249 | formFactor = FormFactor, | |
| 2250 | Parent = Parent, | |
| 2251 | Reflectance = Reflectance, | |
| 2252 | Transparency = Transparency, | |
| 2253 | CanCollide = false, | |
| 2254 | Locked = true, | |
| 2255 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 2256 | Name = Name, | |
| 2257 | Size = Size, | |
| 2258 | Material = Material | |
| 2259 | }) | |
| 2260 | RemoveOutlines(Part) | |
| 2261 | return Part | |
| 2262 | end | |
| 2263 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 2264 | local Msh = Create(Mesh)({
| |
| 2265 | Parent = Part, | |
| 2266 | Offset = OffSet, | |
| 2267 | Scale = Scale | |
| 2268 | }) | |
| 2269 | if Mesh == "SpecialMesh" then | |
| 2270 | Msh.MeshType = MeshType | |
| 2271 | Msh.MeshId = MeshId | |
| 2272 | end | |
| 2273 | return Msh | |
| 2274 | end | |
| 2275 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 2276 | local Weld = Create("Weld")({
| |
| 2277 | Parent = Parent, | |
| 2278 | Part0 = Part0, | |
| 2279 | Part1 = Part1, | |
| 2280 | C0 = C0, | |
| 2281 | C1 = C1 | |
| 2282 | }) | |
| 2283 | return Weld | |
| 2284 | end | |
| 2285 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
| 2286 | local NEWPART = IT("Part")
| |
| 2287 | NEWPART.formFactor = FORMFACTOR | |
| 2288 | NEWPART.Reflectance = REFLECTANCE | |
| 2289 | NEWPART.Transparency = TRANSPARENCY | |
| 2290 | NEWPART.CanCollide = false | |
| 2291 | NEWPART.Locked = true | |
| 2292 | NEWPART.Anchored = true | |
| 2293 | if ANCHOR == false then | |
| 2294 | NEWPART.Anchored = false | |
| 2295 | end | |
| 2296 | NEWPART.BrickColor = BrickC(tostring(BRICKCOLOR)) | |
| 2297 | NEWPART.Name = NAME | |
| 2298 | NEWPART.Size = SIZE | |
| 2299 | NEWPART.Position = tors.Position | |
| 2300 | NEWPART.Material = MATERIAL | |
| 2301 | NEWPART:BreakJoints() | |
| 2302 | NEWPART.Parent = PARENT | |
| 2303 | return NEWPART | |
| 2304 | end | |
| 2305 | ||
| 2306 | ------------------------------------------------------- | |
| 2307 | --Start Effect Function-- | |
| 2308 | ------------------------------------------------------- | |
| 2309 | EffectModel = Instance.new("Model", char)
| |
| 2310 | Effects = {
| |
| 2311 | Block = {
| |
| 2312 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 2313 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 2314 | prt.Anchored = true | |
| 2315 | prt.CFrame = cframe | |
| 2316 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 2317 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 2318 | if Type == 1 or Type == nil then | |
| 2319 | table.insert(Effects, {
| |
| 2320 | prt, | |
| 2321 | "Block1", | |
| 2322 | delay, | |
| 2323 | x3, | |
| 2324 | y3, | |
| 2325 | z3, | |
| 2326 | msh | |
| 2327 | }) | |
| 2328 | elseif Type == 2 then | |
| 2329 | table.insert(Effects, {
| |
| 2330 | prt, | |
| 2331 | "Block2", | |
| 2332 | delay, | |
| 2333 | x3, | |
| 2334 | y3, | |
| 2335 | z3, | |
| 2336 | msh | |
| 2337 | }) | |
| 2338 | else | |
| 2339 | table.insert(Effects, {
| |
| 2340 | prt, | |
| 2341 | "Block3", | |
| 2342 | delay, | |
| 2343 | x3, | |
| 2344 | y3, | |
| 2345 | z3, | |
| 2346 | msh | |
| 2347 | }) | |
| 2348 | end | |
| 2349 | end | |
| 2350 | }, | |
| 2351 | Sphere = {
| |
| 2352 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 2353 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 2354 | prt.Anchored = true | |
| 2355 | prt.CFrame = cframe | |
| 2356 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 2357 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 2358 | table.insert(Effects, {
| |
| 2359 | prt, | |
| 2360 | "Cylinder", | |
| 2361 | delay, | |
| 2362 | x3, | |
| 2363 | y3, | |
| 2364 | z3, | |
| 2365 | msh | |
| 2366 | }) | |
| 2367 | end | |
| 2368 | }, | |
| 2369 | Cylinder = {
| |
| 2370 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 2371 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 2372 | prt.Anchored = true | |
| 2373 | prt.CFrame = cframe | |
| 2374 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 2375 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 2376 | table.insert(Effects, {
| |
| 2377 | prt, | |
| 2378 | "Cylinder", | |
| 2379 | delay, | |
| 2380 | x3, | |
| 2381 | y3, | |
| 2382 | z3, | |
| 2383 | msh | |
| 2384 | }) | |
| 2385 | end | |
| 2386 | }, | |
| 2387 | Wave = {
| |
| 2388 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 2389 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 2390 | prt.Anchored = true | |
| 2391 | prt.CFrame = cframe | |
| 2392 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
| |
| 2393 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 2394 | table.insert(Effects, {
| |
| 2395 | prt, | |
| 2396 | "Cylinder", | |
| 2397 | delay, | |
| 2398 | x3 / 60, | |
| 2399 | y3 / 60, | |
| 2400 | z3 / 60, | |
| 2401 | msh | |
| 2402 | }) | |
| 2403 | end | |
| 2404 | }, | |
| 2405 | Ring = {
| |
| 2406 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 2407 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 2408 | prt.Anchored = true | |
| 2409 | prt.CFrame = cframe | |
| 2410 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 2411 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 2412 | table.insert(Effects, {
| |
| 2413 | prt, | |
| 2414 | "Cylinder", | |
| 2415 | delay, | |
| 2416 | x3, | |
| 2417 | y3, | |
| 2418 | z3, | |
| 2419 | msh | |
| 2420 | }) | |
| 2421 | end | |
| 2422 | }, | |
| 2423 | Break = {
| |
| 2424 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 2425 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 2426 | prt.Anchored = true | |
| 2427 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2428 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 2429 | local num = math.random(10, 50) / 1000 | |
| 2430 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 2431 | table.insert(Effects, {
| |
| 2432 | prt, | |
| 2433 | "Shatter", | |
| 2434 | num, | |
| 2435 | prt.CFrame, | |
| 2436 | math.random() - math.random(), | |
| 2437 | 0, | |
| 2438 | math.random(50, 100) / 100 | |
| 2439 | }) | |
| 2440 | end | |
| 2441 | }, | |
| 2442 | Spiral = {
| |
| 2443 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 2444 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 2445 | prt.Anchored = true | |
| 2446 | prt.CFrame = cframe | |
| 2447 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 2448 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 2449 | table.insert(Effects, {
| |
| 2450 | prt, | |
| 2451 | "Cylinder", | |
| 2452 | delay, | |
| 2453 | x3, | |
| 2454 | y3, | |
| 2455 | z3, | |
| 2456 | msh | |
| 2457 | }) | |
| 2458 | end | |
| 2459 | }, | |
| 2460 | Push = {
| |
| 2461 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 2462 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 2463 | prt.Anchored = true | |
| 2464 | prt.CFrame = cframe | |
| 2465 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 2466 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 2467 | table.insert(Effects, {
| |
| 2468 | prt, | |
| 2469 | "Cylinder", | |
| 2470 | delay, | |
| 2471 | x3, | |
| 2472 | y3, | |
| 2473 | z3, | |
| 2474 | msh | |
| 2475 | }) | |
| 2476 | end | |
| 2477 | } | |
| 2478 | } | |
| 2479 | function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) | |
| 2480 | local fp = IT("Part")
| |
| 2481 | fp.formFactor = formfactor | |
| 2482 | fp.Parent = parent | |
| 2483 | fp.Reflectance = reflectance | |
| 2484 | fp.Transparency = transparency | |
| 2485 | fp.CanCollide = false | |
| 2486 | fp.Locked = true | |
| 2487 | fp.BrickColor = brickcolor | |
| 2488 | fp.Name = name | |
| 2489 | fp.Size = size | |
| 2490 | fp.Position = tors.Position | |
| 2491 | RemoveOutlines(fp) | |
| 2492 | fp.Material = "SmoothPlastic" | |
| 2493 | fp:BreakJoints() | |
| 2494 | return fp | |
| 2495 | end | |
| 2496 | ||
| 2497 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 2498 | local mesh = IT(Mesh) | |
| 2499 | mesh.Parent = part | |
| 2500 | if Mesh == "SpecialMesh" then | |
| 2501 | mesh.MeshType = meshtype | |
| 2502 | if meshid ~= "nil" then | |
| 2503 | mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid | |
| 2504 | end | |
| 2505 | end | |
| 2506 | mesh.Offset = offset | |
| 2507 | mesh.Scale = scale | |
| 2508 | return mesh | |
| 2509 | end | |
| 2510 | ||
| 2511 | function Magic(bonuspeed, type, pos, scale, value, color, MType) | |
| 2512 | local type = type | |
| 2513 | local rng = Instance.new("Part", char)
| |
| 2514 | rng.Anchored = true | |
| 2515 | rng.BrickColor = color | |
| 2516 | rng.CanCollide = false | |
| 2517 | rng.FormFactor = 3 | |
| 2518 | rng.Name = "Ring" | |
| 2519 | rng.Material = "Neon" | |
| 2520 | rng.Size = Vector3.new(1, 1, 1) | |
| 2521 | rng.Transparency = 0 | |
| 2522 | rng.TopSurface = 0 | |
| 2523 | rng.BottomSurface = 0 | |
| 2524 | rng.CFrame = pos | |
| 2525 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2526 | rngm.MeshType = MType | |
| 2527 | rngm.Scale = scale | |
| 2528 | local scaler2 = 1 | |
| 2529 | if type == "Add" then | |
| 2530 | scaler2 = 1 * value | |
| 2531 | elseif type == "Divide" then | |
| 2532 | scaler2 = 1 / value | |
| 2533 | end | |
| 2534 | coroutine.resume(coroutine.create(function() | |
| 2535 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 2536 | swait() | |
| 2537 | if type == "Add" then | |
| 2538 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 2539 | elseif type == "Divide" then | |
| 2540 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 2541 | end | |
| 2542 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 2543 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) | |
| 2544 | end | |
| 2545 | rng:Destroy() | |
| 2546 | end)) | |
| 2547 | end | |
| 2548 | ||
| 2549 | function Eviscerate(dude) | |
| 2550 | if dude.Name ~= char then | |
| 2551 | local bgf = IT("BodyGyro", dude.Head)
| |
| 2552 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
| 2553 | local val = IT("BoolValue", dude)
| |
| 2554 | val.Name = "IsHit" | |
| 2555 | local ds = coroutine.wrap(function() | |
| 2556 | dude:WaitForChild("Head"):BreakJoints()
| |
| 2557 | wait(0.5) | |
| 2558 | target = nil | |
| 2559 | coroutine.resume(coroutine.create(function() | |
| 2560 | for i, v in pairs(dude:GetChildren()) do | |
| 2561 | if v:IsA("Accessory") then
| |
| 2562 | v:Destroy() | |
| 2563 | end | |
| 2564 | if v:IsA("Humanoid") then
| |
| 2565 | v:Destroy() | |
| 2566 | end | |
| 2567 | if v:IsA("CharacterMesh") then
| |
| 2568 | v:Destroy() | |
| 2569 | end | |
| 2570 | if v:IsA("Model") then
| |
| 2571 | v:Destroy() | |
| 2572 | end | |
| 2573 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 2574 | for x, o in pairs(v:GetChildren()) do | |
| 2575 | if o:IsA("Decal") then
| |
| 2576 | o:Destroy() | |
| 2577 | end | |
| 2578 | end | |
| 2579 | coroutine.resume(coroutine.create(function() | |
| 2580 | v.Material = "Neon" | |
| 2581 | v.CanCollide = false | |
| 2582 | local PartEmmit1 = IT("ParticleEmitter", v)
| |
| 2583 | PartEmmit1.LightEmission = 1 | |
| 2584 | PartEmmit1.Texture = "rbxassetid://284205403" | |
| 2585 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 2586 | PartEmmit1.Rate = 150 | |
| 2587 | PartEmmit1.Lifetime = NumberRange.new(1) | |
| 2588 | PartEmmit1.Size = NumberSequence.new({
| |
| 2589 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
| 2590 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 2591 | }) | |
| 2592 | PartEmmit1.Transparency = NumberSequence.new({
| |
| 2593 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 2594 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 2595 | }) | |
| 2596 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
| 2597 | PartEmmit1.VelocitySpread = 30000 | |
| 2598 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
| 2599 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
| 2600 | local BodPoss = IT("BodyPosition", v)
| |
| 2601 | BodPoss.P = 3000 | |
| 2602 | BodPoss.D = 1000 | |
| 2603 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 2604 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
| 2605 | v.Color = maincolor.Color | |
| 2606 | coroutine.resume(coroutine.create(function() | |
| 2607 | for i = 0, 49 do | |
| 2608 | swait(1) | |
| 2609 | v.Transparency = v.Transparency + 0.08 | |
| 2610 | end | |
| 2611 | wait(0.5) | |
| 2612 | PartEmmit1.Enabled = false | |
| 2613 | wait(3) | |
| 2614 | v:Destroy() | |
| 2615 | dude:Destroy() | |
| 2616 | end)) | |
| 2617 | end)) | |
| 2618 | end | |
| 2619 | end | |
| 2620 | end)) | |
| 2621 | end) | |
| 2622 | ds() | |
| 2623 | end | |
| 2624 | end | |
| 2625 | ||
| 2626 | function FindNearestHead(Position, Distance, SinglePlayer) | |
| 2627 | if SinglePlayer then | |
| 2628 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
| 2629 | end | |
| 2630 | local List = {}
| |
| 2631 | for i, v in pairs(workspace:GetChildren()) do | |
| 2632 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
| |
| 2633 | table.insert(List, v) | |
| 2634 | end | |
| 2635 | end | |
| 2636 | return List | |
| 2637 | end | |
| 2638 | ||
| 2639 | function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) | |
| 2640 | local type = type | |
| 2641 | local rng = Instance.new("Part", char)
| |
| 2642 | rng.Anchored = true | |
| 2643 | rng.BrickColor = color | |
| 2644 | rng.CanCollide = false | |
| 2645 | rng.FormFactor = 3 | |
| 2646 | rng.Name = "Ring" | |
| 2647 | rng.Material = "Neon" | |
| 2648 | rng.Size = Vector3.new(1, 1, 1) | |
| 2649 | rng.Transparency = 0 | |
| 2650 | rng.TopSurface = 0 | |
| 2651 | rng.BottomSurface = 0 | |
| 2652 | rng.CFrame = pos | |
| 2653 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
| 2654 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2655 | rngm.MeshType = MType | |
| 2656 | rngm.Scale = Vector3.new(x1, y1, z1) | |
| 2657 | local scaler2 = 1 | |
| 2658 | local speeder = FastSpeed | |
| 2659 | if type == "Add" then | |
| 2660 | scaler2 = 1 * value | |
| 2661 | elseif type == "Divide" then | |
| 2662 | scaler2 = 1 / value | |
| 2663 | end | |
| 2664 | coroutine.resume(coroutine.create(function() | |
| 2665 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 2666 | swait() | |
| 2667 | if type == "Add" then | |
| 2668 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 2669 | elseif type == "Divide" then | |
| 2670 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 2671 | end | |
| 2672 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
| 2673 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
| 2674 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 2675 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
| 2676 | end | |
| 2677 | rng:Destroy() | |
| 2678 | end)) | |
| 2679 | end | |
| 2680 | ||
| 2681 | function SoulSteal(dude) | |
| 2682 | if dude.Name ~= char then | |
| 2683 | local bgf = IT("BodyGyro", dude.Head)
| |
| 2684 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
| 2685 | local val = IT("BoolValue", dude)
| |
| 2686 | val.Name = "IsHit" | |
| 2687 | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') | |
| 2688 | local soulst = coroutine.wrap(function() | |
| 2689 | local soul = Instance.new("Part",dude)
| |
| 2690 | soul.Size = Vector3.new(1,1,1) | |
| 2691 | soul.CanCollide = false | |
| 2692 | soul.Anchored = false | |
| 2693 | soul.Position = torso.Position | |
| 2694 | soul.Transparency = 1 | |
| 2695 | local PartEmmit1 = IT("ParticleEmitter", soul)
| |
| 2696 | PartEmmit1.LightEmission = 1 | |
| 2697 | PartEmmit1.Texture = "rbxassetid://569507414" | |
| 2698 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 2699 | PartEmmit1.Rate = 250 | |
| 2700 | PartEmmit1.Lifetime = NumberRange.new(1.6) | |
| 2701 | PartEmmit1.Size = NumberSequence.new({
| |
| 2702 | NumberSequenceKeypoint.new(0, 1, 0), | |
| 2703 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 2704 | }) | |
| 2705 | PartEmmit1.Transparency = NumberSequence.new({
| |
| 2706 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 2707 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 2708 | }) | |
| 2709 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
| 2710 | PartEmmit1.VelocitySpread = 30000 | |
| 2711 | PartEmmit1.Rotation = NumberRange.new(-360, 360) | |
| 2712 | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) | |
| 2713 | local BodPoss = IT("BodyPosition", soul)
| |
| 2714 | BodPoss.P = 3000 | |
| 2715 | BodPoss.D = 1000 | |
| 2716 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 2717 | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
| 2718 | wait(1.6) | |
| 2719 | soul.Touched:connect(function(hit) | |
| 2720 | if hit.Parent == char then | |
| 2721 | soul:Destroy() | |
| 2722 | end | |
| 2723 | end) | |
| 2724 | wait(1.2) | |
| 2725 | while soul do | |
| 2726 | swait() | |
| 2727 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 2728 | BodPoss.Position = tors.Position | |
| 2729 | end | |
| 2730 | end) | |
| 2731 | soulst() | |
| 2732 | end | |
| 2733 | end | |
| 2734 | function FaceMouse() | |
| 2735 | local Cam = workspace.CurrentCamera | |
| 2736 | return {
| |
| 2737 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
| 2738 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
| 2739 | } | |
| 2740 | end | |
| 2741 | ------------------------------------------------------- | |
| 2742 | --End Effect Function-- | |
| 2743 | ------------------------------------------------------- | |
| 2744 | function Cso(ID, PARENT, VOLUME, PITCH) | |
| 2745 | local NSound = nil | |
| 2746 | coroutine.resume(coroutine.create(function() | |
| 2747 | NSound = IT("Sound", PARENT)
| |
| 2748 | NSound.Volume = VOLUME | |
| 2749 | NSound.Pitch = PITCH | |
| 2750 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 2751 | swait() | |
| 2752 | NSound:play() | |
| 2753 | game:GetService("Debris"):AddItem(NSound, 10)
| |
| 2754 | end)) | |
| 2755 | return NSound | |
| 2756 | end | |
| 2757 | function CameraEnshaking(Length, Intensity) | |
| 2758 | coroutine.resume(coroutine.create(function() | |
| 2759 | local intensity = 1 * Intensity | |
| 2760 | local rotM = 0.01 * Intensity | |
| 2761 | for i = 0, Length, 0.1 do | |
| 2762 | swait() | |
| 2763 | intensity = intensity - 0.05 * Intensity / Length | |
| 2764 | rotM = rotM - 5.0E-4 * Intensity / Length | |
| 2765 | hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) | |
| 2766 | cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM) | |
| 2767 | end | |
| 2768 | hum.CameraOffset = Vector3.new(0, 0, 0) | |
| 2769 | end)) | |
| 2770 | end | |
| 2771 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
| 2772 | local NEWWELD = IT(TYPE) | |
| 2773 | NEWWELD.Part0 = PART0 | |
| 2774 | NEWWELD.Part1 = PART1 | |
| 2775 | NEWWELD.C0 = C0 | |
| 2776 | NEWWELD.C1 = C1 | |
| 2777 | NEWWELD.Parent = PARENT | |
| 2778 | return NEWWELD | |
| 2779 | end | |
| 2780 | ||
| 2781 | function MakeForm(PART,TYPE) | |
| 2782 | local MSH = nil | |
| 2783 | if TYPE == "Cyl" then | |
| 2784 | MSH = IT("CylinderMesh",PART)
| |
| 2785 | elseif TYPE == "Ball" then | |
| 2786 | MSH = IT("SpecialMesh",PART)
| |
| 2787 | MSH.MeshType = "Sphere" | |
| 2788 | elseif TYPE == "Wedge" then | |
| 2789 | MSH = IT("SpecialMesh",PART)
| |
| 2790 | MSH.MeshType = "Wedge" | |
| 2791 | elseif TYPE == "Block" then | |
| 2792 | MSH = IT("SpecialMesh",PART)
| |
| 2793 | MSH.MeshType = "Brick" | |
| 2794 | end | |
| 2795 | return MSH | |
| 2796 | end | |
| 2797 | ||
| 2798 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
| 2799 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
| 2800 | end | |
| 2801 | ||
| 2802 | function Sink(position,radius) | |
| 2803 | for i,v in ipairs(workspace:GetChildren()) do | |
| 2804 | if v:FindFirstChild("Hit2By"..plr.Name) == nil then
| |
| 2805 | local body = v:GetChildren() | |
| 2806 | for part = 1, #body do | |
| 2807 | if(v:FindFirstChild("Hit2By"..plr.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= char) then
| |
| 2808 | if(body[part].Position - position).Magnitude < radius then | |
| 2809 | if v.ClassName == "Model" then | |
| 2810 | v:FindFirstChildOfClass("Humanoid").Name = "Humanoid"
| |
| 2811 | if v:FindFirstChild("Humanoid") then
| |
| 2812 | local defence = Instance.new("BoolValue",v)
| |
| 2813 | defence.Name = ("Hit2By"..plr.Name)
| |
| 2814 | if v.Humanoid.Health ~= 0 then | |
| 2815 | local TORS = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 2816 | if TORS ~= nil then | |
| 2817 | local HITFLOOR2, HITPOS2 = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + Vector3.new(0, -1, 0))).lookVector, 25 * TORS.Size.Y/2, v) | |
| 2818 | coroutine.resume(coroutine.create(function() | |
| 2819 | if HITFLOOR2 ~= nil then | |
| 2820 | TORS.Anchored = true | |
| 2821 | local Hole2 = CreatePart(3, EffectModel, "Neon", 0, 0, "Really red", "Hole", Vector3.new(TORS.Size.X*4,0,TORS.Size.X*4)) | |
| 2822 | Hole2.Color = Color3.new(255,0,0) | |
| 2823 | local MESH = MakeForm(Hole2,"Block") | |
| 2824 | MESH.Scale = Vector3.new(0,1,0) | |
| 2825 | Hole2.CFrame = CF(HITPOS2) | |
| 2826 | for i = 1, 10 do | |
| 2827 | swait() | |
| 2828 | MESH.Scale = MESH.Scale + Vector3.new(0.1,0,0.1) | |
| 2829 | end | |
| 2830 | Cso("289556450", v:FindFirstChild("Head"), 10, .8)
| |
| 2831 | Cso("154955269", v:FindFirstChild("Head"), 10, 1)
| |
| 2832 | repeat | |
| 2833 | swait() | |
| 2834 | TORS.CFrame = TORS.CFrame * CF(0,-0.1,0) | |
| 2835 | MESH.Scale = MESH.Scale + Vector3.new(0,1.6,0) | |
| 2836 | until TORS.Position.Y<position.Y-4 | |
| 2837 | v:remove() | |
| 2838 | for i = 1, 10 do | |
| 2839 | swait() | |
| 2840 | MESH.Scale = MESH.Scale - Vector3.new(0.1,0,0.1) | |
| 2841 | end | |
| 2842 | Hole2:remove() | |
| 2843 | end | |
| 2844 | end)) | |
| 2845 | end | |
| 2846 | end | |
| 2847 | end | |
| 2848 | end | |
| 2849 | --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength | |
| 2850 | end | |
| 2851 | end | |
| 2852 | end | |
| 2853 | end | |
| 2854 | end | |
| 2855 | end | |
| 2856 | function Trail(Part) | |
| 2857 | local TRAIL = Part:Clone() | |
| 2858 | TRAIL.CanCollide = false | |
| 2859 | TRAIL.Anchored = true | |
| 2860 | TRAIL.Parent = EffectModel | |
| 2861 | TRAIL.Name = "Trail" | |
| 2862 | local TRANS = Part.Transparency | |
| 2863 | coroutine.resume(coroutine.create(function() | |
| 2864 | for i = 1, 20 do | |
| 2865 | swait() | |
| 2866 | TRAIL.Transparency = TRAIL.Transparency + ((1-TRANS)/20) | |
| 2867 | end | |
| 2868 | TRAIL:remove() | |
| 2869 | end)) | |
| 2870 | end | |
| 2871 | ------------------------------------------------------- | |
| 2872 | --End Important Functions-- | |
| 2873 | ------------------------------------------------------- | |
| 2874 | ||
| 2875 | ||
| 2876 | ------------------------------------------------------- | |
| 2877 | --Start Customization-- | |
| 2878 | ------------------------------------------------------- | |
| 2879 | local Player_Size = 1 | |
| 2880 | if Player_Size ~= 1 then | |
| 2881 | root.Size = root.Size * Player_Size | |
| 2882 | tors.Size = tors.Size * Player_Size | |
| 2883 | hed.Size = hed.Size * Player_Size | |
| 2884 | ra.Size = ra.Size * Player_Size | |
| 2885 | la.Size = la.Size * Player_Size | |
| 2886 | rl.Size = rl.Size * Player_Size | |
| 2887 | ll.Size = ll.Size * Player_Size | |
| 2888 | ---------------------------------------------------------------------------------- | |
| 2889 | rootj.Parent = root | |
| 2890 | neck.Parent = tors | |
| 2891 | RW.Parent = tors | |
| 2892 | LW.Parent = tors | |
| 2893 | RH.Parent = tors | |
| 2894 | LH.Parent = tors | |
| 2895 | ---------------------------------------------------------------------------------- | |
| 2896 | rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
| 2897 | rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
| 2898 | neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 2899 | neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) | |
| 2900 | RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0 | |
| 2901 | LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0 | |
| 2902 | ---------------------------------------------------------------------------------- | |
| 2903 | RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 2904 | LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 2905 | RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 2906 | LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 2907 | --hat.Parent = Character | |
| 2908 | end | |
| 2909 | ---------------------------------------------------------------------------------- | |
| 2910 | local SONG = 1810750535 | |
| 2911 | local SONG2 = 0 | |
| 2912 | local Music = Instance.new("Sound",tors)
| |
| 2913 | Music.Volume = 2.5 | |
| 2914 | Music.Looped = true | |
| 2915 | Music.Pitch = 1 --Pitcher | |
| 2916 | ---------------------------------------------------------------------------------- | |
| 2917 | local equipped = false | |
| 2918 | local idle = 0 | |
| 2919 | local change = 1 | |
| 2920 | local val = 0 | |
| 2921 | local toim = 0 | |
| 2922 | local idleanim = 0.4 | |
| 2923 | local sine = 0 | |
| 2924 | local Sit = 1 | |
| 2925 | local VALUE1 = false | |
| 2926 | local VALUE2 = false | |
| 2927 | ---------------------------------------------------------------------------------- | |
| 2928 | hum.WalkSpeed = 26 | |
| 2929 | hum.JumpPower = 57 | |
| 2930 | --hum.Animator.Parent = nil | |
| 2931 | ---------------------------------------------------------------------------------- | |
| 2932 | function detonate() | |
| 2933 | Attack = true | |
| 2934 | Humanoid.JumpPower = 50 | |
| 2935 | Humanoid.WalkSpeed = 0 | |
| 2936 | Humanoid.AutoRotate = false | |
| 2937 | Humanoid.Jump = true | |
| 2938 | for i = 0, 90, 0.1 do | |
| 2939 | swait() | |
| 2940 | PlayAnimationFromTable({
| |
| 2941 | CFrame.new(0, 1.42191756, -0.0488209724, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0 + .2 * math.cos(Sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 2942 | CFrame.new(0, 1.57220244, -0.165338278, 1, 0, 0, 0, 0.906307578, 0.422618866, 0, -0.422618866, 0.906307578) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2943 | CFrame.new(1.07328367, 0.536740482, -0.867595553, 0.405946076, 0.905454516, 0.123935826, 0.327782422, -0.0176637098, -0.944588244, -0.853092313, 0.424075872, -0.303962588) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2944 | CFrame.new(-1.15903234, 0.617531121, -0.714061916, 0.343506157, -0.921160281, -0.182941139, -0.243016839, 0.100976005, -0.964752138, 0.907163978, 0.375856102, -0.189171538) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2945 | CFrame.new(0.5, -1.38367605, -0.476294994, 1, 0, 0, 0, 0.984807789, 0.173647925, 0, -0.173647925, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2946 | CFrame.new(-0.5, -1.65993702, -0.681548595, 1, 0, 0, 0, 0.984807789, -0.173647881, 0, 0.173647881, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2947 | }, .1, false) | |
| 2948 | RootPart.Velocity = Vector3.new(0,6,0) | |
| 2949 | WingWeld.C0 = clerp(WingWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0 - 30 * math.cos(Sine/30)/2)), 0.1) | |
| 2950 | Effects.Sphere2.Create(BrickColor.new(maincol), EffectModel, RightArm.CFrame * CFrame.new(.2,-1.1,0), 1.1, 1.1, 1.1, 1.1, 1.1, 1.1, .08) | |
| 2951 | end | |
| 2952 | beet.Parent = Character | |
| 2953 | local x = 1.1 | |
| 2954 | local y = 20 | |
| 2955 | CFuncs.Sound.Create("324849898", workspace, 10, .9)
| |
| 2956 | for i = 0, 20, 0.1 do | |
| 2957 | swait() | |
| 2958 | PlayAnimationFromTable({
| |
| 2959 | CFrame.new(0, 1.42191756, -0.0488209724, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0 + .2 * math.cos(Sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 2960 | CFrame.new(0, 1.57220244, -0.165338278, 1, 0, 0, 0, 0.906307578, 0.422618866, 0, -0.422618866, 0.906307578) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2961 | CFrame.new(1.07328367, 0.536740482, -0.867595553, 0.405946076, 0.905454516, 0.123935826, 0.327782422, -0.0176637098, -0.944588244, -0.853092313, 0.424075872, -0.303962588) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2962 | CFrame.new(-1.15903234, 0.617531121, -0.714061916, 0.343506157, -0.921160281, -0.182941139, -0.243016839, 0.100976005, -0.964752138, 0.907163978, 0.375856102, -0.189171538) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2963 | CFrame.new(0.5, -1.38367605, -0.476294994, 1, 0, 0, 0, 0.984807789, 0.173647925, 0, -0.173647925, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2964 | CFrame.new(-0.5, -1.65993702, -0.681548595, 1, 0, 0, 0, 0.984807789, -0.173647881, 0, 0.173647881, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2965 | }, .1, false) | |
| 2966 | MagnitudeDamage(Torso, y, 0, 0, 0, "Normal", " ", 1) | |
| 2967 | y = y + .3 | |
| 2968 | x = x + .1 | |
| 2969 | RootPart.Velocity = Vector3.new(0,2,0) | |
| 2970 | WingWeld.C0 = clerp(WingWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0 - 30 * math.cos(Sine/30)/2)), 0.1) | |
| 2971 | Effects.Sphere2.Create(BrickColor.new(maincol), EffectModel, RightArm.CFrame * CFrame.new(.2,-1.1,0), x+.1, x+.1, x+.1, x+.1, x+.1, x+.1, .03) | |
| 2972 | end | |
| 2973 | CFuncs.Sound.Create("665426491", workspace, 10, .9)
| |
| 2974 | for i = 0, 20, 0.1 do | |
| 2975 | swait() | |
| 2976 | PlayAnimationFromTable({
| |
| 2977 | CFrame.new(0, 1.42191756, -0.0488209724, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0 + .2 * math.cos(Sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 2978 | CFrame.new(0, 1.57220244, -0.165338278, 1, 0, 0, 0, 0.906307578, 0.422618866, 0, -0.422618866, 0.906307578) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2979 | CFrame.new(1.07328367, 0.536740482, -0.867595553, 0.405946076, 0.905454516, 0.123935826, 0.327782422, -0.0176637098, -0.944588244, -0.853092313, 0.424075872, -0.303962588) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2980 | CFrame.new(-1.15903234, 0.617531121, -0.714061916, 0.343506157, -0.921160281, -0.182941139, -0.243016839, 0.100976005, -0.964752138, 0.907163978, 0.375856102, -0.189171538) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2981 | CFrame.new(0.5, -1.38367605, -0.476294994, 1, 0, 0, 0, 0.984807789, 0.173647925, 0, -0.173647925, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2982 | CFrame.new(-0.5, -1.65993702, -0.681548595, 1, 0, 0, 0, 0.984807789, -0.173647881, 0, 0.173647881, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2983 | }, .1, false) | |
| 2984 | MagnitudeDamage(Torso, y, 0, 0, 0, "Normal", " ", 1) | |
| 2985 | y = y + .5 | |
| 2986 | x = x + .3 | |
| 2987 | RootPart.Velocity = Vector3.new(0,2,0) | |
| 2988 | WingWeld.C0 = clerp(WingWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0 - 30 * math.cos(Sine/30)/2)), 0.1) | |
| 2989 | Effects.Sphere2.Create(BrickColor.new(maincol), EffectModel, RightArm.CFrame * CFrame.new(.2,-1.1,0), x+.1, x+.1, x+.1, x+.1, x+.1, x+.1, .03) | |
| 2990 | end | |
| 2991 | CFuncs.Sound.Create("923073285", workspace, 10, .9)
| |
| 2992 | for i = 0, 20, 0.1 do | |
| 2993 | swait() | |
| 2994 | PlayAnimationFromTable({
| |
| 2995 | CFrame.new(0, 1.42191756, -0.0488209724, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0 + .2 * math.cos(Sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 2996 | CFrame.new(0, 1.57220244, -0.165338278, 1, 0, 0, 0, 0.906307578, 0.422618866, 0, -0.422618866, 0.906307578) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2997 | CFrame.new(1.07328367, 0.536740482, -0.867595553, 0.405946076, 0.905454516, 0.123935826, 0.327782422, -0.0176637098, -0.944588244, -0.853092313, 0.424075872, -0.303962588) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2998 | CFrame.new(-1.15903234, 0.617531121, -0.714061916, 0.343506157, -0.921160281, -0.182941139, -0.243016839, 0.100976005, -0.964752138, 0.907163978, 0.375856102, -0.189171538) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2999 | CFrame.new(0.5, -1.38367605, -0.476294994, 1, 0, 0, 0, 0.984807789, 0.173647925, 0, -0.173647925, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 3000 | CFrame.new(-0.5, -1.65993702, -0.681548595, 1, 0, 0, 0, 0.984807789, -0.173647881, 0, 0.173647881, 0.984807789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 3001 | }, .1, false) | |
| 3002 | MagnitudeDamage(Torso, y, 0, 0, 0, "Normal", " ", 1) | |
| 3003 | y = y + 2 | |
| 3004 | x = x + 1 | |
| 3005 | RootPart.Velocity = Vector3.new(0,2,0) | |
| 3006 | WingWeld.C0 = clerp(WingWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0 - 30 * math.cos(Sine/30)/2)), 0.1) | |
| 3007 | Effects.Sphere2.Create(BrickColor.new(maincol), EffectModel, RightArm.CFrame * CFrame.new(.2,-1.1,0), x+.1, x+.1, x+.1, x+.1, x+.1, x+.1, .03) | |
| 3008 | end | |
| 3009 | for y,t in pairs(Character:GetChildren()) do | |
| 3010 | if t:IsA("Part") then
| |
| 3011 | table.insert(Effects, {t,"Disappear",.008})
| |
| 3012 | t.Material = "Neon" | |
| 3013 | t.Parent = workspace | |
| 3014 | t:BreakJoints() | |
| 3015 | t.BrickColor = BrickColor.new(maincol) | |
| 3016 | t.CanCollide = true | |
| 3017 | local GRAVITY_ACCELERATION = 200 | |
| 3018 | local bodyForce = Instance.new('BodyForce', t)
| |
| 3019 | bodyForce.Name = 'Antigravity' | |
| 3020 | bodyForce.force = Vector3.new(0, t:GetMass() * GRAVITY_ACCELERATION, 0) | |
| 3021 | t.Velocity=Vector3.new(math.random(-1, 1),math.random(-1, 1),math.random(-1, 1)) | |
| 3022 | local rl = Create("BodyAngularVelocity"){
| |
| 3023 | P = 500, | |
| 3024 | maxTorque = Vector3.new(5, 5, 5), | |
| 3025 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 3026 | Parent = t,} | |
| 3027 | game:GetService("Debris"):AddItem(t, 3)
| |
| 3028 | for a,b in pairs(t:GetChildren()) do | |
| 3029 | if b:IsA("Decal") then
| |
| 3030 | b:Destroy() | |
| 3031 | ||
| 3032 | end | |
| 3033 | end | |
| 3034 | end | |
| 3035 | end | |
| 3036 | end | |
| 3037 | ||
| 3038 | ---------------------------------------------------------------------------------- | |
| 3039 | WTF = Instance.new("Sound", tors)
| |
| 3040 | WTF.SoundId = "http://www.roblox.com/asset/?id=135017578" | |
| 3041 | WTF.Volume = 10 | |
| 3042 | WTF.Pitch = 1 | |
| 3043 | WTF.Looped = false | |
| 3044 | WTF.TimePosition = 0 | |
| 3045 | ||
| 3046 | ---------------------------------------------------------------------------------- | |
| 3047 | local naeeym2 = Instance.new("BillboardGui",char)
| |
| 3048 | naeeym2.AlwaysOnTop = true | |
| 3049 | naeeym2.Size = UDim2.new(5,35,2,35) | |
| 3050 | naeeym2.StudsOffset = Vector3.new(0,1,0) | |
| 3051 | naeeym2.Adornee = hed | |
| 3052 | naeeym2.Name = "Name" | |
| 3053 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 3054 | tecks2.BackgroundTransparency = 1 | |
| 3055 | tecks2.TextScaled = true | |
| 3056 | tecks2.BorderSizePixel = 0 | |
| 3057 | tecks2.Text = "Black - The Rejected God" | |
| 3058 | tecks2.Font = "Fantasy" | |
| 3059 | tecks2.TextSize = 30 | |
| 3060 | tecks2.TextTransparency = 0 | |
| 3061 | tecks2.TextStrokeTransparency = 0 | |
| 3062 | tecks2.TextColor3 = Color3.new(255,0,0) | |
| 3063 | tecks2.TextStrokeColor3 = Color3.new(255, 0, 0) | |
| 3064 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 3065 | tecks2.Parent = naeeym2 | |
| 3066 | ---------------------------------------------------------------------------------- | |
| 3067 | local Hole = CreatePart(3, EffectModel, "Neon", 0, 0, "Really red", "Hole", Vector3.new(15,0,15)) | |
| 3068 | local MESH = MakeForm(Hole,"Cyl") | |
| 3069 | local ROBLOXIDLEANIMATION = IT("Animation")
| |
| 3070 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
| 3071 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
| 3072 | local ANIMATOR = hum.Animator | |
| 3073 | local ANIMATE = char.Animate | |
| 3074 | ------------------------------------------------------- | |
| 3075 | --End Customization-- | |
| 3076 | ------------------------------------------------------- | |
| 3077 | ||
| 3078 | ||
| 3079 | ------------------------------------------------------- | |
| 3080 | --Start Attacks N Stuff-- | |
| 3081 | ------------------------------------------------------- | |
| 3082 | function Intro() | |
| 3083 | coroutine.resume(coroutine.create(function() | |
| 3084 | attack = true | |
| 3085 | hum.WalkSpeed = 0 | |
| 3086 | root.Anchored = true | |
| 3087 | tecks2.TextTransparency = 1 | |
| 3088 | tecks2.TextStrokeTransparency = 1 | |
| 3089 | for i = 0, 4, 0.1 do | |
| 3090 | swait() | |
| 3091 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.2) | |
| 3092 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2) | |
| 3093 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.2) | |
| 3094 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.2) | |
| 3095 | RW.C0 = clerp(RW.C0, CF(.4* Player_Size, 0.2 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-135)), 0.2) | |
| 3096 | LW.C0 = clerp(LW.C0, CF(-.4* Player_Size, 0.2 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-.6), Rad(135)), 0.2) | |
| 3097 | end | |
| 3098 | for i = 0, 4, 0.1 do | |
| 3099 | swait() | |
| 3100 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -10 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
| 3101 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2) | |
| 3102 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.2) | |
| 3103 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.2) | |
| 3104 | RW.C0 = clerp(RW.C0, CF(.4* Player_Size, 0.2 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-135)), 0.2) | |
| 3105 | LW.C0 = clerp(LW.C0, CF(-.4* Player_Size, 0.2 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-.6), Rad(135)), 0.2) | |
| 3106 | end | |
| 3107 | tecks2.TextTransparency = 0 | |
| 3108 | tecks2.TextStrokeTransparency = 0 | |
| 3109 | VALUE1 = true | |
| 3110 | local part = CreatePart(3, EffectModel, "Neon", 0, 0, "Bright red", "Eye", Vector3.new(0.2,0.3,0.1),false) | |
| 3111 | local weld = CreateWeldOrSnapOrMotor("Weld", part, hed, part, CF(0.16,0.25,-0.5) * angles(Rad(0), Rad(0), Rad(-10)), CF(0, 0, 0))
| |
| 3112 | MakeForm(part,"Ball") | |
| 3113 | local part = CreatePart(3, EffectModel, "Neon", 0, 0, "Bright red", "Eye", Vector3.new(0.2,0.3,0.1),false) | |
| 3114 | local weld = CreateWeldOrSnapOrMotor("Weld", part, hed, part, CF(-0.16,0.25,-0.5) * angles(Rad(0), Rad(0), Rad(10)), CF(0, 0, 0))
| |
| 3115 | MakeForm(part,"Ball") | |
| 3116 | swait(15) | |
| 3117 | Cso("159882635", hed, 10, 0.5)
| |
| 3118 | for i = 0, 6, 0.1 do | |
| 3119 | swait() | |
| 3120 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.05) | |
| 3121 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-25 - 6.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.05) | |
| 3122 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.15 * Cos(sine / 20)* Player_Size, -0.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(-15)), 0.05) | |
| 3123 | LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(45)), 0.05) | |
| 3124 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(-.6), Rad(13)), 0.05) | |
| 3125 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(-.6), Rad(-13)), 0.05) | |
| 3126 | end | |
| 3127 | root.Anchored = false | |
| 3128 | attack = false | |
| 3129 | hum.WalkSpeed = 26 | |
| 3130 | end)) | |
| 3131 | end | |
| 3132 | function AbyssalGate() | |
| 3133 | coroutine.resume(coroutine.create(function() | |
| 3134 | attack = true | |
| 3135 | for i = 0, 6, 0.1 do | |
| 3136 | swait() | |
| 3137 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.05) | |
| 3138 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-25 - 6.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.05) | |
| 3139 | RH.C0 = clerp(RH.C0, CF(1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(-15)), 0.05) | |
| 3140 | LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(45)), 0.05) | |
| 3141 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(75)), 0.05) | |
| 3142 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-75)), 0.05) | |
| 3143 | end | |
| 3144 | Cso("1075001850", root, 10, 3)
| |
| 3145 | for i = 1, 350 do | |
| 3146 | swait() | |
| 3147 | Hole.Size = Hole.Size + Vector3.new(5,0,5) | |
| 3148 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.05) | |
| 3149 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-25 - 6.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.05) | |
| 3150 | RH.C0 = clerp(RH.C0, CF(1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(-15)), 0.05) | |
| 3151 | LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(45)), 0.05) | |
| 3152 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(75)), 0.05) | |
| 3153 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-75)), 0.05) | |
| 3154 | end | |
| 3155 | swait() | |
| 3156 | for i = 1, 350 do | |
| 3157 | swait() | |
| 3158 | Hole.Size = Hole.Size - Vector3.new(5,0,5) | |
| 3159 | Trail(Hole) | |
| 3160 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.05) | |
| 3161 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-25 - 6.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.05) | |
| 3162 | RH.C0 = clerp(RH.C0, CF(1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(-15)), 0.05) | |
| 3163 | LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(45)), 0.05) | |
| 3164 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(75)), 0.05) | |
| 3165 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-75)), 0.05) | |
| 3166 | end | |
| 3167 | attack = false | |
| 3168 | end)) | |
| 3169 | end | |
| 3170 | function SinkingWarp() | |
| 3171 | attack = true | |
| 3172 | hum.WalkSpeed = 0 | |
| 3173 | root.Anchored = true | |
| 3174 | for i = 0, 6, 0.1 do | |
| 3175 | swait() | |
| 3176 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(-50), Rad(0), Rad(0)), 0.05) | |
| 3177 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-25 - 6.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.05) | |
| 3178 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.15 * Cos(sine / 20)* Player_Size, -0.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(-25)), 0.05) | |
| 3179 | LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(76)), 0.05) | |
| 3180 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-50), Rad(-.6), Rad(13)), 0.05) | |
| 3181 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-50), Rad(-.6), Rad(-13)), 0.05) | |
| 3182 | end | |
| 3183 | tecks2.TextTransparency = 1 | |
| 3184 | tecks2.TextStrokeTransparency = 1 | |
| 3185 | for i = 0, 2, 0.1 do | |
| 3186 | swait() | |
| 3187 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -15 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(-50), Rad(0), Rad(0)), 0.1) | |
| 3188 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-25 - 6.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1) | |
| 3189 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.15 * Cos(sine / 20)* Player_Size, -0.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(-25)), 0.1) | |
| 3190 | LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(76)), 0.1) | |
| 3191 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-50), Rad(-.6), Rad(13)), 0.1) | |
| 3192 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-50), Rad(-.6), Rad(-13)), 0.1) | |
| 3193 | end | |
| 3194 | for i = 1, 50 do | |
| 3195 | swait() | |
| 3196 | Trail(Hole) | |
| 3197 | MESH.Scale = MESH.Scale - Vector3.new(0.02,0,0.02) | |
| 3198 | end | |
| 3199 | local ORIGINPOS = root.Position | |
| 3200 | root.CFrame = CF(Vector3.new(mouse.Hit.p.X,root.Position.Y,mouse.Hit.p.Z),ORIGINPOS) | |
| 3201 | Cso("154955269", Hole, 10, .7)
| |
| 3202 | for i = 1, 50 do | |
| 3203 | swait() | |
| 3204 | MESH.Scale = MESH.Scale + Vector3.new(0.02,0,0.02) | |
| 3205 | end | |
| 3206 | tecks2.TextTransparency = 0 | |
| 3207 | tecks2.TextStrokeTransparency = 0 | |
| 3208 | for i = 0, 6, 0.1 do | |
| 3209 | swait() | |
| 3210 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.05) | |
| 3211 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-25 - 6.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.05) | |
| 3212 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.15 * Cos(sine / 20)* Player_Size, -0.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(-15)), 0.05) | |
| 3213 | LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(45)), 0.05) | |
| 3214 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(-.6), Rad(13)), 0.05) | |
| 3215 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(-.6), Rad(-13)), 0.05) | |
| 3216 | end | |
| 3217 | attack = false | |
| 3218 | root.Anchored = false | |
| 3219 | hum.WalkSpeed = 26 | |
| 3220 | end | |
| 3221 | function wutdefaq() | |
| 3222 | attack = true | |
| 3223 | WTF:Play() | |
| 3224 | repeat | |
| 3225 | swait() | |
| 3226 | WTF.Parent = tors | |
| 3227 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08) | |
| 3228 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(20), Rad(0)), 0.08) | |
| 3229 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.08) | |
| 3230 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.08) | |
| 3231 | RW.C0 = clerp(RW.C0, CF(1.5, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(130)), 0.1) | |
| 3232 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-130)), 0.1) | |
| 3233 | until WTF.Playing == false | |
| 3234 | attack = false | |
| 3235 | end | |
| 3236 | function AnnoyingSink() | |
| 3237 | coroutine.resume(coroutine.create(function() | |
| 3238 | attack = true | |
| 3239 | for i = 0, 6, 0.1 do | |
| 3240 | swait() | |
| 3241 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.05) | |
| 3242 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-6.5 * Sin(sine / 20)), Rad(20), Rad(0)), 0.05) | |
| 3243 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.15 * Cos(sine / 20)* Player_Size, -0.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(15)), 0.05) | |
| 3244 | LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(45)), 0.05) | |
| 3245 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(-.6), Rad(7)), 0.2) | |
| 3246 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-15)), 0.05) | |
| 3247 | end | |
| 3248 | local Hole2 = CreatePart(3, EffectModel, "Neon", 0, 0, "Really red", "Hole", Vector3.new(15,0,15)) | |
| 3249 | Hole2.Color = Color3.new(255,0,0) | |
| 3250 | local MESH = MakeForm(Hole2,"Cyl") | |
| 3251 | MESH.Scale = Vector3.new(0,1,0) | |
| 3252 | Hole2.CFrame = CF(mouse.Hit.p) | |
| 3253 | Cso("154955269", Hole2, 10, .7)
| |
| 3254 | for i = 0, 3, 0.1 do | |
| 3255 | swait() | |
| 3256 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.05) | |
| 3257 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-25 - 6.5 * Sin(sine / 20)), Rad(20), Rad(0)), 0.05) | |
| 3258 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.15 * Cos(sine / 20)* Player_Size, -0.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(15)), 0.05) | |
| 3259 | LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(45)), 0.05) | |
| 3260 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(-.6), Rad(7)), 0.2) | |
| 3261 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-15)), 0.05) | |
| 3262 | end | |
| 3263 | attack = false | |
| 3264 | for i = 1, 50 do | |
| 3265 | swait() | |
| 3266 | MESH.Scale = MESH.Scale + Vector3.new(1,0,1) | |
| 3267 | end | |
| 3268 | for i = 1, 200 do | |
| 3269 | swait() | |
| 3270 | Sink(Hole2.Position,Hole2.Size.X/1) | |
| 3271 | end | |
| 3272 | swait(100) | |
| 3273 | for i = 1, 50 do | |
| 3274 | swait() | |
| 3275 | Trail(Hole2) | |
| 3276 | MESH.Scale = MESH.Scale - Vector3.new(1,0,1) | |
| 3277 | end | |
| 3278 | Hole2:remove() | |
| 3279 | end)) | |
| 3280 | end | |
| 3281 | ------------------------------------------------------- | |
| 3282 | --End Attacks N Stuff-- | |
| 3283 | ------------------------------------------------------- | |
| 3284 | mouse.KeyDown:connect(function(key) | |
| 3285 | if attack == false then | |
| 3286 | if key == 'c' then | |
| 3287 | AbyssalGate() | |
| 3288 | elseif key == 'z' then | |
| 3289 | SinkingWarp() | |
| 3290 | elseif key == 'b' then | |
| 3291 | AnnoyingSink() | |
| 3292 | elseif key == 't' then | |
| 3293 | wutdefaq() | |
| 3294 | elseif key == 'm' then | |
| 3295 | insanitymode() | |
| 3296 | end | |
| 3297 | end | |
| 3298 | end) | |
| 3299 | ||
| 3300 | ||
| 3301 | ||
| 3302 | ||
| 3303 | ||
| 3304 | ||
| 3305 | ||
| 3306 | ||
| 3307 | ------------------------------------------------------- | |
| 3308 | --Start Animations-- | |
| 3309 | ------------------------------------------------------- | |
| 3310 | print("By Makhail07")
| |
| 3311 | Intro() | |
| 3312 | while true do | |
| 3313 | swait() | |
| 3314 | ANIMATE.Parent = nil | |
| 3315 | local IDLEANIMATION = hum:LoadAnimation(ROBLOXIDLEANIMATION) | |
| 3316 | IDLEANIMATION:Play() | |
| 3317 | sine = sine + change | |
| 3318 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 3319 | local velderp = root.Velocity.y | |
| 3320 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 25 * Player_Size, char) | |
| 3321 | if equipped == true or equipped == false then | |
| 3322 | if attack == false then | |
| 3323 | idle = idle + 1 | |
| 3324 | else | |
| 3325 | idle = 0 | |
| 3326 | end | |
| 3327 | if 1 < root.Velocity.y and hitfloor == nil then | |
| 3328 | Anim = "Jump" | |
| 3329 | if attack == false then | |
| 3330 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15) | |
| 3331 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 3332 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 3333 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 3334 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1) | |
| 3335 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1) | |
| 3336 | end | |
| 3337 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
| 3338 | Anim = "Fall" | |
| 3339 | if attack == false then | |
| 3340 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15) | |
| 3341 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 3342 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15) | |
| 3343 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15) | |
| 3344 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1) | |
| 3345 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1) | |
| 3346 | end | |
| 3347 | elseif torvel < 1 and hitfloor ~= nil then | |
| 3348 | Anim = "Idle" | |
| 3349 | change = 1 | |
| 3350 | if attack == false then | |
| 3351 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 12)) * angles(Rad(25), Rad(0), Rad(0)), 0.1) | |
| 3352 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 6.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.05) | |
| 3353 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.15 * Cos(sine / 20)* Player_Size, -0.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5 - 6.5 * Sin(sine / 12)), Rad(0), Rad(15)), 0.1) | |
| 3354 | LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5 - 6.5 * Sin(sine / 12)), Rad(15), Rad(25)), 0.1) | |
| 3355 | RW.C0 = clerp(RW.C0, CF(1.4* Player_Size, 0.4 + 0.08 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(25 - 6.5 * Cos(sine / 12)), Rad(-.6), Rad(13 + 6.5 * Sin(sine / 12))), 0.1) | |
| 3356 | LW.C0 = clerp(LW.C0, CF(-1.4* Player_Size, 0.4 + 0.08 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(25 - 6.5 * Cos(sine / 12)), Rad(-.6), Rad(-13 - 6.5 * Sin(sine / 12))), 0.1) | |
| 3357 | end | |
| 3358 | elseif (tors.Velocity).magnitude < 200 and hitfloor ~= nil then | |
| 3359 | Anim = "Walk" | |
| 3360 | change = 1 | |
| 3361 | if attack == false then | |
| 3362 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 12)) * angles(Rad(25), Rad(0), Rad(0)), 0.1) | |
| 3363 | tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-15 - 6.5 * Sin(sine / 12)), Rad(20), Rad(0)), 0.1) | |
| 3364 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.15 * Cos(sine / 20)* Player_Size, -0.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-18.5 - 6.5 * Sin(sine / 12)), Rad(0), Rad(-35)), 0.1) | |
| 3365 | LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-18.5 - 6.5 * Sin(sine / 12)), Rad(15), Rad(35)), 0.1) | |
| 3366 | RW.C0 = clerp(RW.C0, CF(1.4* Player_Size, 0.4 + 0.08 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-45 - 6.5 * Cos(sine / 12)), Rad(-.6), Rad(25 + 6.5 * Sin(sine / 12))), 0.1) | |
| 3367 | LW.C0 = clerp(LW.C0, CF(-1.4* Player_Size, 0.4 + 0.08 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-45 - 6.5 * Cos(sine / 12)), Rad(-.6), Rad(-25 - 6.5 * Sin(sine / 12))), 0.1) | |
| 3368 | end | |
| 3369 | end | |
| 3370 | end | |
| 3371 | if hitfloor ~= nil then | |
| 3372 | Hole.CFrame = CF(posfloor) | |
| 3373 | end | |
| 3374 | Sink(Hole.Position, Hole.Size.X/5*MESH.Scale.X) | |
| 3375 | Hole.Color = Color3.new(255,0,0) | |
| 3376 | if VALUE1 == true then | |
| 3377 | --hum.HipHeight = 2 | |
| 3378 | q = char:GetChildren() | |
| 3379 | for u = 1, #q do | |
| 3380 | if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then | |
| 3381 | q[u]:remove() | |
| 3382 | elseif q[u].ClassName == "Shirt" then | |
| 3383 | q[u]:Destroy() | |
| 3384 | elseif q[u].ClassName == "Pants" then | |
| 3385 | q[u]:Destroy() | |
| 3386 | elseif q[u].ClassName == "CharacterMesh" then | |
| 3387 | q[u]:remove() | |
| 3388 | elseif q[u].ClassName == "ShirtGraphic" then | |
| 3389 | q[u]:remove() | |
| 3390 | elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then | |
| 3391 | q[u].Color = Color3.new(255,0,0) | |
| 3392 | q[u].Material = "Neon" | |
| 3393 | end | |
| 3394 | end | |
| 3395 | if hed:FindFirstChild("Mesh") then
| |
| 3396 | local mesh = hed.Mesh | |
| 3397 | if mesh.ClassName == "SpecialMesh" then | |
| 3398 | mesh:remove() | |
| 3399 | local m = IT("BlockMesh",hed)
| |
| 3400 | m.Scale = Vector3.new(0.5,1,1) | |
| 3401 | end | |
| 3402 | end | |
| 3403 | if hed:FindFirstChild("face") then
| |
| 3404 | hed.face:remove() | |
| 3405 | end | |
| 3406 | end | |
| 3407 | Music.SoundId = "rbxassetid://"..SONG | |
| 3408 | Music.Looped = true | |
| 3409 | Music.Pitch = 1 | |
| 3410 | Music.Volume = 5 | |
| 3411 | Music.Parent = char | |
| 3412 | Music:Resume() | |
| 3413 | if 0 < #Effects then | |
| 3414 | for e = 1, #Effects do | |
| 3415 | if Effects[e] ~= nil then | |
| 3416 | local Thing = Effects[e] | |
| 3417 | if Thing ~= nil then | |
| 3418 | local Part = Thing[1] | |
| 3419 | local Mode = Thing[2] | |
| 3420 | local Delay = Thing[3] | |
| 3421 | local IncX = Thing[4] | |
| 3422 | local IncY = Thing[5] | |
| 3423 | local IncZ = Thing[6] | |
| 3424 | if 1 >= Thing[1].Transparency then | |
| 3425 | if Thing[2] == "Block1" then | |
| 3426 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 3427 | local Mesh = Thing[1].Mesh | |
| 3428 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 3429 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3430 | elseif Thing[2] == "Block2" then | |
| 3431 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
| 3432 | local Mesh = Thing[7] | |
| 3433 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 3434 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3435 | elseif Thing[2] == "Block3" then | |
| 3436 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0) | |
| 3437 | local Mesh = Thing[7] | |
| 3438 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 3439 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3440 | elseif Thing[2] == "Cylinder" then | |
| 3441 | local Mesh = Thing[1].Mesh | |
| 3442 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 3443 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3444 | elseif Thing[2] == "Blood" then | |
| 3445 | local Mesh = Thing[7] | |
| 3446 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
| 3447 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 3448 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3449 | elseif Thing[2] == "Elec" then | |
| 3450 | local Mesh = Thing[1].Mesh | |
| 3451 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 3452 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3453 | elseif Thing[2] == "Disappear" then | |
| 3454 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3455 | elseif Thing[2] == "Shatter" then | |
| 3456 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 3457 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 3458 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 3459 | Thing[6] = Thing[6] + Thing[5] | |
| 3460 | end | |
| 3461 | else | |
| 3462 | Part.Parent = nil | |
| 3463 | table.remove(Effects, e) | |
| 3464 | end | |
| 3465 | end | |
| 3466 | end | |
| 3467 | end | |
| 3468 | end | |
| 3469 | end | |
| 3470 | ------------------------------------------------------- | |
| 3471 | --End Animations And Script-- | |
| 3472 | ------------------------------------------------------- |