SHOW:
|
|
- or go back to the newest paste.
| 1 | -- This script has been converted to FE by iPxter | |
| 2 | ||
| 3 | ||
| 4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 6 | do | |
| 7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
| |
| 8 | script.Parent = Player.Character | |
| 9 | ||
| 10 | --RemoteEvent for communicating | |
| 11 | local Event = Instance.new("RemoteEvent")
| |
| 12 | Event.Name = "UserInput_Event" | |
| 13 | ||
| 14 | --Fake event to make stuff like Mouse.KeyDown work | |
| 15 | local function fakeEvent() | |
| 16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
| |
| 17 | t.connect = t.Connect | |
| 18 | return t | |
| 19 | end | |
| 20 | ||
| 21 | --Creating fake input objects with fake variables | |
| 22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 26 | end} | |
| 27 | --Merged 2 functions into one by checking amount of arguments | |
| 28 | CAS.UnbindAction = CAS.BindAction | |
| 29 | ||
| 30 | --This function will trigger the events that have been :Connect()'ed | |
| 31 | local function te(self,ev,...) | |
| 32 | local t = m[ev] | |
| 33 | if t and t._fakeEvent and t.Function then | |
| 34 | - | local plr = game:service'Players'.LocalPlayer |
| 34 | + | t.Function(...) |
| 35 | end | |
| 36 | end | |
| 37 | m.TrigEvent = te | |
| 38 | UIS.TrigEvent = te | |
| 39 | ||
| 40 | Event.OnServerEvent:Connect(function(plr,io) | |
| 41 | if plr~=Player then return end | |
| 42 | if io.isMouse then | |
| 43 | m.Target = io.Target | |
| 44 | m.Hit = io.Hit | |
| 45 | else | |
| 46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 47 | - | local mouse = plr:GetMouse() |
| 47 | + | if io.UserInputType == Enum.UserInputType.MouseButton1 then |
| 48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 49 | end | |
| 50 | for _,t in pairs(CAS.Actions) do | |
| 51 | for _,k in pairs(t.Keys) do | |
| 52 | if k==io.KeyCode then | |
| 53 | t.Function(t.Name,io.UserInputState,io) | |
| 54 | end | |
| 55 | end | |
| 56 | end | |
| 57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 59 | end | |
| 60 | end) | |
| 61 | Event.Parent = NLS([==[ | |
| 62 | local Player = game:GetService("Players").LocalPlayer
| |
| 63 | local Event = script:WaitForChild("UserInput_Event")
| |
| 64 | ||
| 65 | local UIS = game:GetService("UserInputService")
| |
| 66 | local input = function(io,a) | |
| 67 | if a then return end | |
| 68 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
| |
| 70 | end | |
| 71 | UIS.InputBegan:Connect(input) | |
| 72 | UIS.InputEnded:Connect(input) | |
| 73 | ||
| 74 | local Mouse = Player:GetMouse() | |
| 75 | local h,t | |
| 76 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 77 | --If player is not moving their mouse, client won't fire events | |
| 78 | while wait(1/30) do | |
| 79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 80 | h,t=Mouse.Hit,Mouse.Target | |
| 81 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 82 | end | |
| 83 | end]==],Player.Character) | |
| 84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 85 | end | |
| 86 | ||
| 87 | ----------------------- | |
| 88 | --[[ Name : Ņ̢̨͢͟ó͢ ̧͢ơ̶̶̶̢n͜͏ę̶̡͠'͏́́͞҉ş̨͏ ͜a͝҉r̵̷̛̛͟o̶̡͟͝ų̶̸̵͝ń͡͡͏̷d̀͜͟ ̵̡́́͜t̡̀͘o͏̀̕͡ ͢h͠͏e̵͢͜ļ̡͢͡ṕ̛͏.̷̧̨ ]]-- | |
| 89 | ------------------------------------------------------- | |
| 90 | --A script By makhail07 | |
| 91 | ||
| 92 | --Discord Creterisk#2958 | |
| 93 | ||
| 94 | --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION | |
| 95 | --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT | |
| 96 | --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT | |
| 97 | --YOU FUCKING SKIDS, | |
| 98 | --For Those who log/decompile this, If you sell or trade this, | |
| 99 | --and I find out who you are, i will take massive action. | |
| 100 | ------------------------------------------------------- | |
| 101 | ||
| 102 | local FavIDs = {
| |
| 103 | 340106355, --Nefl Crystals | |
| 104 | 927529620, --Dimension | |
| 105 | 876981900, --Fantasy | |
| 106 | 398987889, --Ordinary Days | |
| 107 | 1117396305, --Oh wait, it's you. | |
| 108 | 885996042, --Action Winter Journey | |
| 109 | 919231299, --Sprawling Idiot Effigy | |
| 110 | 743466274, --Good Day Sunshine | |
| 111 | 727411183, --Knife Fight | |
| 112 | 1402748531, --The Earth Is Counting On You! | |
| 113 | 595230126 --Robot Language | |
| 114 | } | |
| 115 | ||
| 116 | ||
| 117 | ||
| 118 | --The reality of my life isn't real but a Universe -makhail07 | |
| 119 | wait() | |
| 120 | local plr = owner | |
| 121 | print('Local User is '..plr.Name)
| |
| 122 | local char = plr.Character | |
| 123 | local hum = char.Humanoid | |
| 124 | local hed = char.Head | |
| 125 | local root = char.HumanoidRootPart | |
| 126 | local rootj = root.RootJoint | |
| 127 | local tors = char.Torso | |
| 128 | local ra = char["Right Arm"] | |
| 129 | local la = char["Left Arm"] | |
| 130 | local rl = char["Right Leg"] | |
| 131 | local ll = char["Left Leg"] | |
| 132 | local neck = tors["Neck"] | |
| 133 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 134 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
| 135 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
| 136 | local maincolor = BrickColor.new("Institutional white")
| |
| 137 | ------------------------------------------------------- | |
| 138 | --Start Whitelist and Invincibility-- | |
| 139 | ------------------------------------------------------- | |
| 140 | --[[function checkfriendlist(model) | |
| 141 | local friend = false | |
| 142 | local target = nil | |
| 143 | if model.ClassName == "Player" then | |
| 144 | target = model | |
| 145 | else | |
| 146 | target = game:GetService("Players"):GetPlayerFromCharacter(model)
| |
| 147 | end | |
| 148 | if target ~= nil then | |
| 149 | if target:IsFriendsWith(19909695) then friend = true end | |
| 150 | end | |
| 151 | return friend | |
| 152 | end | |
| 153 | if checkfriendlist(game:GetService("Players").LocalPlayer) == true then
| |
| 154 | warn('Youre whitelisted/friends with the creator, Have fun! ' ..plr.Name)
| |
| 155 | end | |
| 156 | ||
| 157 | if checkfriendlist(game:GetService("Players").LocalPlayer) == false then
| |
| 158 | warn('How did you even get this script? ' ..plr.Name)
| |
| 159 | error"Your are not whitelisted/Friends with the creator." | |
| 160 | end]] | |
| 161 | ||
| 162 | ff = Instance.new("ForceField",char)
| |
| 163 | ff.Visible = false | |
| 164 | hum.Name = "Base" | |
| 165 | hum.MaxHealth = 1.0E298 | |
| 166 | hum.Health = 1.0E298 | |
| 167 | game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
| |
| 168 | if hum.Health > 0.1 and hum.Health < 1.0E298 then | |
| 169 | hum.MaxHealth = 1.0E298 | |
| 170 | hum.Health = 1.0E298 | |
| 171 | end | |
| 172 | end) | |
| 173 | ------------------------------------------------------- | |
| 174 | --End Whitelist and Invincibility-- | |
| 175 | ------------------------------------------------------- | |
| 176 | function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 177 | local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 178 | prt.Anchored = true | |
| 179 | prt.Material = "Neon" | |
| 180 | prt.CFrame = cframe | |
| 181 | prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 182 | local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 183 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 184 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 185 | for i = 0, 1, delay do | |
| 186 | swait() | |
| 187 | Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 188 | Part.Transparency = i | |
| 189 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
| 190 | end | |
| 191 | Part.Parent = nil | |
| 192 | end), prt, msh) | |
| 193 | end | |
| 194 | ||
| 195 | ||
| 196 | function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype) | |
| 197 | local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 198 | prt.Anchored = true | |
| 199 | prt.Material = "Neon" | |
| 200 | prt.CFrame = cframe | |
| 201 | local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, 0.01))
| |
| 202 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 203 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 204 | local rtype = rottype | |
| 205 | for i = 0, 1, delay do | |
| 206 | swait() | |
| 207 | if rtype == 1 then | |
| 208 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) | |
| 209 | elseif rtype == 2 then | |
| 210 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) | |
| 211 | end | |
| 212 | prt.Transparency = i | |
| 213 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, 0) | |
| 214 | end | |
| 215 | Part.Parent = nil | |
| 216 | end), prt, msh) | |
| 217 | end | |
| 218 | ||
| 219 | ------------------------------------------------------- | |
| 220 | --Start Good Stuff-- | |
| 221 | ------------------------------------------------------- | |
| 222 | cam = game.Workspace.CurrentCamera | |
| 223 | CF = CFrame.new | |
| 224 | angles = CFrame.Angles | |
| 225 | attack = false | |
| 226 | Euler = CFrame.fromEulerAnglesXYZ | |
| 227 | Rad = math.rad | |
| 228 | IT = Instance.new | |
| 229 | BrickC = BrickColor.new | |
| 230 | Cos = math.cos | |
| 231 | Acos = math.acos | |
| 232 | Sin = math.sin | |
| 233 | Asin = math.asin | |
| 234 | Abs = math.abs | |
| 235 | Mrandom = math.random | |
| 236 | Floor = math.floor | |
| 237 | ------------------------------------------------------- | |
| 238 | --End Good Stuff-- | |
| 239 | ------------------------------------------------------- | |
| 240 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 241 | RSH, LSH = nil, nil | |
| 242 | RW = Instance.new("Weld")
| |
| 243 | LW = Instance.new("Weld")
| |
| 244 | RH = tors["Right Hip"] | |
| 245 | LH = tors["Left Hip"] | |
| 246 | RSH = tors["Right Shoulder"] | |
| 247 | LSH = tors["Left Shoulder"] | |
| 248 | RSH.Parent = nil | |
| 249 | LSH.Parent = nil | |
| 250 | RW.Name = "RW" | |
| 251 | RW.Part0 = tors | |
| 252 | RW.C0 = CF(1.5, 0.5, 0) | |
| 253 | RW.C1 = CF(0, 0.5, 0) | |
| 254 | RW.Part1 = ra | |
| 255 | RW.Parent = tors | |
| 256 | LW.Name = "LW" | |
| 257 | LW.Part0 = tors | |
| 258 | LW.C0 = CF(-1.5, 0.5, 0) | |
| 259 | LW.C1 = CF(0, 0.5, 0) | |
| 260 | LW.Part1 = la | |
| 261 | LW.Parent = tors | |
| 262 | Effects = {}
| |
| 263 | ------------------------------------------------------- | |
| 264 | --Start HeartBeat-- | |
| 265 | ------------------------------------------------------- | |
| 266 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 267 | ArtificialHB.Name = "Heartbeat" | |
| 268 | script:WaitForChild("Heartbeat")
| |
| 269 | ||
| 270 | frame = 1 / 60 | |
| 271 | tf = 0 | |
| 272 | allowframeloss = false | |
| 273 | tossremainder = false | |
| 274 | ||
| 275 | ||
| 276 | lastframe = tick() | |
| 277 | script.Heartbeat:Fire() | |
| 278 | ||
| 279 | ||
| 280 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 281 | tf = tf + s | |
| 282 | if tf >= frame then | |
| 283 | if allowframeloss then | |
| 284 | script.Heartbeat:Fire() | |
| 285 | lastframe = tick() | |
| 286 | else | |
| 287 | for i = 1, math.floor(tf / frame) do | |
| 288 | script.Heartbeat:Fire() | |
| 289 | end | |
| 290 | lastframe = tick() | |
| 291 | end | |
| 292 | if tossremainder then | |
| 293 | tf = 0 | |
| 294 | else | |
| 295 | tf = tf - frame * math.floor(tf / frame) | |
| 296 | end | |
| 297 | end | |
| 298 | end) | |
| 299 | ||
| 300 | -------------- | |
| 301 | --[[ | |
| 302 | Thanks for using Build-To-Lua by jarredbcv. | |
| 303 | ]]-- | |
| 304 | ||
| 305 | New = function(Object, Parent, Name, Data) | |
| 306 | local Object = Instance.new(Object) | |
| 307 | for Index, Value in pairs(Data or {}) do
| |
| 308 | Object[Index] = Value | |
| 309 | end | |
| 310 | Object.Parent = Parent | |
| 311 | Object.Name = Name | |
| 312 | return Object | |
| 313 | end | |
| 314 | ||
| 315 | Gaunty = New("Model",char,"Gaunty",{})
| |
| 316 | Handle = New("Part",Gaunty,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 1.26999998, 1),CFrame = CFrame.new(-5.67319345, 3.02064276, -77.6615906, 0.999894261, 0.010924357, 0.00963267777, -0.0110270018, 0.999882579, 0.0106679145, -0.00951499958, -0.0107729975, 0.999897003),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 317 | Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 318 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.82765579, 3.62595344, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 319 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.161155701, 0.603512526, 0.00862884521, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 320 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-6.13765526, 3.62595367, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 321 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.471122265, 0.600126028, 0.00564575195, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 322 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.5176549, 3.62595415, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 323 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.148812294, 0.606899738, 0.0116195679, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 324 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.21765471, 3.62595463, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 325 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.448780537, 0.610177517, 0.014503479, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 326 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-6.13765526, 2.53595448, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 327 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.459102631, -0.489744425, -0.00598144531, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 328 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.82765627, 2.53595448, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 329 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.149136543, -0.486357927, -0.00299835205, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 330 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.51765537, 2.53595448, -77.6579361, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 331 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.160831451, -0.48297143, -1.52587891e-05, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 332 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.21765566, 2.53595424, -77.6579361, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 333 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.460799217, -0.479694128, 0.00286865234, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 334 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07999992, 0.279999971, 1.06999993),CFrame = CFrame.new(-5.66865063, 3.64553881, -77.6613617, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 335 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 336 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(-0.00235080719, 0.624869347, 0.00694274902, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 337 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66490126, 3.73544312, -77.6652145, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 338 | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 339 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.000443935394, 0.714845657, 0.00408172607, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 340 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66480446, 3.52554965, -77.65522, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 341 | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 342 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.00275993347, 0.504870415, 0.0118331909, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 343 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07999992, 0.279999971, 1.06999993),CFrame = CFrame.new(-5.6686511, 2.55553746, -77.6613541, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 344 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 345 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.00966835022, -0.465003252, -0.00468444824, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 346 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66490126, 2.64544272, -77.6652145, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 347 | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 348 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.0124630928, -0.375026226, -0.00754547119, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 349 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66480494, 2.43554902, -77.65522, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 350 | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 351 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.0147790909, -0.585001707, 0.000205993652, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 352 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 3.62595463, -78.1079407, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 353 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.0018901825, 0.61005497, -0.439842224, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 354 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 3.62595558, -77.8179321, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 355 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00464963913, 0.606931448, -0.149864197, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 356 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 3.62595606, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 357 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00278997421, 0.603431463, 0.180152893, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 358 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 3.62595654, -77.1979294, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 359 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00554895401, 0.600307703, 0.470123291, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 360 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 2.53595638, -77.1979294, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 361 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.0064702034, -0.489563704, 0.458496094, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 362 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 2.53595614, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 363 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00922966003, -0.486439705, 0.168525696, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 364 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265558, 2.53595638, -77.8179245, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 365 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00736999512, -0.482939243, -0.161483765, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 366 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 2.53595614, -78.1079254, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 367 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.0101289749, -0.479815245, -0.451454163, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 368 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765547, 3.62595677, -77.1979218, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 369 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(-0.00554943085, 0.600307941, 0.47013092, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 370 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 3.62595701, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 371 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(-0.00278949738, 0.603432655, 0.180152893, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 372 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765451, 3.62595749, -77.8179321, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 373 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.000350952148, 0.606987953, -0.149810791, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 374 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765451, 3.62595749, -78.107933, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 375 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00311040878, 0.61011219, -0.439788818, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 376 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.53595734, -78.107933, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 377 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.0151295662, -0.479759216, -0.451416016, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 378 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.5359571, -77.8179245, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 379 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.0123701096, -0.482883692, -0.161437988, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 380 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.5359571, -77.4879227, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 381 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00923013687, -0.48643899, 0.168533325, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 382 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.53595686, -77.1979218, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 383 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00647068024, -0.489563227, 0.458503723, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 384 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-6.13765478, 3.62595701, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 385 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.471121788, 0.600129128, 0.00566101074, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 386 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.82765484, 3.62595725, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 387 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.161154747, 0.603516102, 0.008644104, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 388 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.51765442, 3.62595773, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 389 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.148812771, 0.606903076, 0.0116348267, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 390 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.21765375, 3.6259582, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 391 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.44878149, 0.610180855, 0.0145187378, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 392 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.21765327, 2.53595781, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 393 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.460801125, -0.47969079, 0.00289154053, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 394 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.51765299, 2.53595757, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 395 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.160833359, -0.48296833, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 396 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.82765341, 2.53595734, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 397 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.149133682, -0.486355066, -0.00299072266, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 398 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-6.13765383, 2.53595734, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 399 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.4591012, -0.489741802, -0.00597381592, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 400 | NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.25000003),CFrame = CFrame.new(-5.66203499, 3.4509573, -77.7865677, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 401 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00760126114, 0.431732178, -0.120269775, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 402 | NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.280000031),CFrame = CFrame.new(-5.66203451, 3.45095778, -77.5215683, -1.0000006, -6.18456397e-10, -9.12696123e-08, 6.18456397e-10, 1.0000006, -4.65661287e-09, 8.38190317e-08, 4.65661287e-09, -1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 403 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, -1),C1 = CFrame.new(0.00508022308, 0.428877592, 0.144706726, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 404 | NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.25000003),CFrame = CFrame.new(-5.66203403, 2.81095791, -77.7865601, -1.0000006, 8.81700544e-08, 3.7252903e-09, -8.69331416e-08, -1.0000006, 4.65661287e-09, -3.7252903e-09, -4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 405 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, -8.74227766e-08, 0, 8.74227766e-08, -1, 0, 0, 0, 1),C1 = CFrame.new(0.0146594048, -0.208191872, -0.127082825, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 406 | NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.280000031),CFrame = CFrame.new(-5.66203356, 2.8209579, -77.5215607, 1.0000006, -8.69331416e-08, 8.38190317e-08, -8.81700544e-08, -1.0000006, -4.65661287e-09, 9.12696123e-08, -4.65661287e-09, -1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 407 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, -8.74227766e-08, 8.74227766e-08, -8.74227766e-08, -1, -7.64274186e-15, 8.74227766e-08, 0, -1),C1 = CFrame.new(0.0120282173, -0.201047897, 0.137992859, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 408 | Wedge = New("WedgePart",Gaunty,"Wedge",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.1099999, 0.569999993, 1.13),CFrame = CFrame.new(-5.6508193, 4.06113148, -77.6620178, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 409 | mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.0109024048, 1.04061508, 0.010887146, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 410 | ||
| 411 | ||
| 412 | NewInstance = function(instance,parent,properties) | |
| 413 | local inst = Instance.new(instance,parent) | |
| 414 | if(properties)then | |
| 415 | for i,v in next, properties do | |
| 416 | pcall(function() inst[i] = v end) | |
| 417 | end | |
| 418 | end | |
| 419 | return inst; | |
| 420 | end | |
| 421 | ||
| 422 | local HW = NewInstance('Motor', char, {Part0 = ra, Part1 = Handle, C0 = CF(0,-.51,0)})
| |
| 423 | ||
| 424 | for _,v in next, Gaunty:children() do | |
| 425 | v.CanCollide = false | |
| 426 | end | |
| 427 | ||
| 428 | ||
| 429 | local all, last = {}, nil
| |
| 430 | ArmourParts = {}
| |
| 431 | NeonParts = {}
| |
| 432 | function scan(p) | |
| 433 | for _, v in pairs(p:GetChildren()) do | |
| 434 | if v:IsA("BasePart") then
| |
| 435 | if v.BrickColor == BrickColor.new("Black") then
| |
| 436 | table.insert(ArmourParts, v) | |
| 437 | end | |
| 438 | if v.BrickColor == BrickColor.new("Institutional white") then
| |
| 439 | table.insert(NeonParts, v) | |
| 440 | end | |
| 441 | if last then | |
| 442 | local w = Instance.new("Weld")
| |
| 443 | w.Part0, w.Part1 = last, v | |
| 444 | w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse() | |
| 445 | w.Parent = last | |
| 446 | end | |
| 447 | table.insert(all, v) | |
| 448 | last = v | |
| 449 | end | |
| 450 | scan(v) | |
| 451 | end | |
| 452 | end | |
| 453 | scan(Gaunty) | |
| 454 | local all2, last2 = {}, nil
| |
| 455 | ArmourParts2 = {}
| |
| 456 | NeonParts2 = {}
| |
| 457 | function scan2(p) | |
| 458 | for _, v in pairs(p:GetChildren()) do | |
| 459 | if v:IsA("BasePart") then
| |
| 460 | if v.BrickColor == BrickColor.new("Black") then
| |
| 461 | table.insert(ArmourParts2, v) | |
| 462 | end | |
| 463 | if v.BrickColor == BrickColor.new("Institutional white") then
| |
| 464 | table.insert(NeonParts2, v) | |
| 465 | end | |
| 466 | if last2 then | |
| 467 | local w = Instance.new("Weld")
| |
| 468 | w.Part0, w.Part1 = last2, v | |
| 469 | w.C0 = v.CFrame:toObjectSpace(last2.CFrame):inverse() | |
| 470 | w.Parent = last2 | |
| 471 | end | |
| 472 | table.insert(all2, v) | |
| 473 | last2 = v | |
| 474 | end | |
| 475 | scan2(v) | |
| 476 | end | |
| 477 | end | |
| 478 | for i, v in pairs(ArmourParts) do | |
| 479 | v.BrickColor = BrickC("Black")
| |
| 480 | end | |
| 481 | for i, v in pairs(NeonParts) do | |
| 482 | v.BrickColor = BrickColor.random() | |
| 483 | end | |
| 484 | for i, v in pairs(ArmourParts2) do | |
| 485 | v.BrickColor = BrickC("Black")
| |
| 486 | end | |
| 487 | for i, v in pairs(NeonParts2) do | |
| 488 | v.BrickColor = BrickColor.random() | |
| 489 | end | |
| 490 | maincolor = BrickColor.random() | |
| 491 | ------------------------------------------------------- | |
| 492 | --End HeartBeat-- | |
| 493 | ------------------------------------------------------- | |
| 494 | local l = game.Lighting | |
| 495 | local sky = Instance.new("Sky",l)
| |
| 496 | l.TimeOfDay = "00:00:00" | |
| 497 | l.Brightness = 1 | |
| 498 | l.Ambient = Color3.new(0.25, 0.5, 0.75) | |
| 499 | ||
| 500 | ||
| 501 | ------------------------------------------------------- | |
| 502 | --Start Important Functions-- | |
| 503 | ------------------------------------------------------- | |
| 504 | function swait(num) | |
| 505 | if num == 0 or num == nil then | |
| 506 | game:service("RunService").Stepped:wait(0)
| |
| 507 | else | |
| 508 | for i = 0, num do | |
| 509 | game:service("RunService").Stepped:wait(0)
| |
| 510 | end | |
| 511 | end | |
| 512 | end | |
| 513 | function thread(f) | |
| 514 | coroutine.resume(coroutine.create(f)) | |
| 515 | end | |
| 516 | function clerp(a, b, t) | |
| 517 | local qa = {
| |
| 518 | QuaternionFromCFrame(a) | |
| 519 | } | |
| 520 | local qb = {
| |
| 521 | QuaternionFromCFrame(b) | |
| 522 | } | |
| 523 | local ax, ay, az = a.x, a.y, a.z | |
| 524 | local bx, by, bz = b.x, b.y, b.z | |
| 525 | local _t = 1 - t | |
| 526 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 527 | end | |
| 528 | function QuaternionFromCFrame(cf) | |
| 529 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 530 | local trace = m00 + m11 + m22 | |
| 531 | if trace > 0 then | |
| 532 | local s = math.sqrt(1 + trace) | |
| 533 | local recip = 0.5 / s | |
| 534 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 535 | else | |
| 536 | local i = 0 | |
| 537 | if m00 < m11 then | |
| 538 | i = 1 | |
| 539 | end | |
| 540 | if m22 > (i == 0 and m00 or m11) then | |
| 541 | i = 2 | |
| 542 | end | |
| 543 | if i == 0 then | |
| 544 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 545 | local recip = 0.5 / s | |
| 546 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 547 | elseif i == 1 then | |
| 548 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 549 | local recip = 0.5 / s | |
| 550 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 551 | elseif i == 2 then | |
| 552 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 553 | local recip = 0.5 / s | |
| 554 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 555 | end | |
| 556 | end | |
| 557 | end | |
| 558 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 559 | local xs, ys, zs = x + x, y + y, z + z | |
| 560 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 561 | local xx = x * xs | |
| 562 | local xy = x * ys | |
| 563 | local xz = x * zs | |
| 564 | local yy = y * ys | |
| 565 | local yz = y * zs | |
| 566 | local zz = z * zs | |
| 567 | 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)) | |
| 568 | end | |
| 569 | function QuaternionSlerp(a, b, t) | |
| 570 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 571 | local startInterp, finishInterp | |
| 572 | if cosTheta >= 1.0E-4 then | |
| 573 | if 1 - cosTheta > 1.0E-4 then | |
| 574 | local theta = math.acos(cosTheta) | |
| 575 | local invSinTheta = 1 / Sin(theta) | |
| 576 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
| 577 | finishInterp = Sin(t * theta) * invSinTheta | |
| 578 | else | |
| 579 | startInterp = 1 - t | |
| 580 | finishInterp = t | |
| 581 | end | |
| 582 | elseif 1 + cosTheta > 1.0E-4 then | |
| 583 | local theta = math.acos(-cosTheta) | |
| 584 | local invSinTheta = 1 / Sin(theta) | |
| 585 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
| 586 | finishInterp = Sin(t * theta) * invSinTheta | |
| 587 | else | |
| 588 | startInterp = t - 1 | |
| 589 | finishInterp = t | |
| 590 | end | |
| 591 | 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 | |
| 592 | end | |
| 593 | function rayCast(Position, Direction, Range, Ignore) | |
| 594 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 595 | end | |
| 596 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 597 | local Create = RbxUtility.Create | |
| 598 | ||
| 599 | ------------------------------------------------------- | |
| 600 | --Start Damage Function-- | |
| 601 | ------------------------------------------------------- | |
| 602 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 603 | if hit.Parent == nil then | |
| 604 | return | |
| 605 | end | |
| 606 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 607 | for _, v in pairs(hit.Parent:children()) do | |
| 608 | if v:IsA("Humanoid") then
| |
| 609 | h = v | |
| 610 | end | |
| 611 | end | |
| 612 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
| |
| 613 | ||
| 614 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 615 | end | |
| 616 | ||
| 617 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 618 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 619 | if hit.Parent.DebounceHit.Value == true then | |
| 620 | return | |
| 621 | end | |
| 622 | end | |
| 623 | if insta == true then | |
| 624 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 625 | end | |
| 626 | local c = Create("ObjectValue"){
| |
| 627 | Name = "creator", | |
| 628 | Value = game:service("Players").LocalPlayer,
| |
| 629 | Parent = h, | |
| 630 | } | |
| 631 | game:GetService("Debris"):AddItem(c, .5)
| |
| 632 | if HitSound ~= nil and HitPitch ~= nil then | |
| 633 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 634 | end | |
| 635 | local Damage = math.random(minim, maxim) | |
| 636 | local blocked = false | |
| 637 | local block = hit.Parent:findFirstChild("Block")
| |
| 638 | if block ~= nil then | |
| 639 | if block.className == "IntValue" then | |
| 640 | if block.Value > 0 then | |
| 641 | blocked = true | |
| 642 | block.Value = block.Value - 1 | |
| 643 | print(block.Value) | |
| 644 | end | |
| 645 | end | |
| 646 | end | |
| 647 | if blocked == false then | |
| 648 | h.Health = h.Health - Damage | |
| 649 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 650 | else | |
| 651 | h.Health = h.Health - (Damage / 2) | |
| 652 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 653 | end | |
| 654 | if Type == "Knockdown" then | |
| 655 | local hum = hit.Parent.Humanoid | |
| 656 | hum.PlatformStand = true | |
| 657 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 658 | swait(1) | |
| 659 | HHumanoid.PlatformStand = false | |
| 660 | end), hum) | |
| 661 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
| 662 | local bodvol = Create("BodyVelocity"){
| |
| 663 | velocity = angle * knockback, | |
| 664 | P = 5000, | |
| 665 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 666 | Parent = hit, | |
| 667 | } | |
| 668 | local rl = Create("BodyAngularVelocity"){
| |
| 669 | P = 3000, | |
| 670 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 671 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 672 | Parent = hit, | |
| 673 | } | |
| 674 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 675 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 676 | elseif Type == "Normal" then | |
| 677 | local vp = Create("BodyVelocity"){
| |
| 678 | P = 500, | |
| 679 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 680 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
| 681 | } | |
| 682 | if knockback > 0 then | |
| 683 | vp.Parent = hit.Parent.Torso | |
| 684 | end | |
| 685 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 686 | elseif Type == "Up" then | |
| 687 | local bodyVelocity = Create("BodyVelocity"){
| |
| 688 | velocity = Vector3.new(0, 20, 0), | |
| 689 | P = 5000, | |
| 690 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 691 | Parent = hit, | |
| 692 | } | |
| 693 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 694 | elseif Type == "DarkUp" then | |
| 695 | coroutine.resume(coroutine.create(function() | |
| 696 | for i = 0, 1, 0.1 do | |
| 697 | swait() | |
| 698 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
| |
| 699 | end | |
| 700 | end)) | |
| 701 | local bodyVelocity = Create("BodyVelocity"){
| |
| 702 | velocity = Vector3.new(0, 20, 0), | |
| 703 | P = 5000, | |
| 704 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 705 | Parent = hit, | |
| 706 | } | |
| 707 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 708 | elseif Type == "Snare" then | |
| 709 | local bp = Create("BodyPosition"){
| |
| 710 | P = 2000, | |
| 711 | D = 100, | |
| 712 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 713 | position = hit.Parent.Torso.Position, | |
| 714 | Parent = hit.Parent.Torso, | |
| 715 | } | |
| 716 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 717 | elseif Type == "Freeze" then | |
| 718 | local BodPos = Create("BodyPosition"){
| |
| 719 | P = 50000, | |
| 720 | D = 1000, | |
| 721 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 722 | position = hit.Parent.Torso.Position, | |
| 723 | Parent = hit.Parent.Torso, | |
| 724 | } | |
| 725 | local BodGy = Create("BodyGyro") {
| |
| 726 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
| 727 | P = 20e+003, | |
| 728 | Parent = hit.Parent.Torso, | |
| 729 | cframe = hit.Parent.Torso.CFrame, | |
| 730 | } | |
| 731 | hit.Parent.Torso.Anchored = true | |
| 732 | coroutine.resume(coroutine.create(function(Part) | |
| 733 | swait(1.5) | |
| 734 | Part.Anchored = false | |
| 735 | end), hit.Parent.Torso) | |
| 736 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 737 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 738 | end | |
| 739 | local debounce = Create("BoolValue"){
| |
| 740 | Name = "DebounceHit", | |
| 741 | Parent = hit.Parent, | |
| 742 | Value = true, | |
| 743 | } | |
| 744 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 745 | c = Create("ObjectValue"){
| |
| 746 | Name = "creator", | |
| 747 | Value = Player, | |
| 748 | Parent = h, | |
| 749 | } | |
| 750 | game:GetService("Debris"):AddItem(c, .5)
| |
| 751 | end | |
| 752 | end | |
| 753 | ------------------------------------------------------- | |
| 754 | --End Damage Function-- | |
| 755 | ------------------------------------------------------- | |
| 756 | ||
| 757 | local EyeSizes={
| |
| 758 | NumberSequenceKeypoint.new(0,0.65,0), | |
| 759 | NumberSequenceKeypoint.new(0.5,0.7,0), | |
| 760 | NumberSequenceKeypoint.new(1,0,0) | |
| 761 | } | |
| 762 | local EyeTrans={
| |
| 763 | NumberSequenceKeypoint.new(0,0,0), | |
| 764 | NumberSequenceKeypoint.new(0.5,0,0), | |
| 765 | NumberSequenceKeypoint.new(1,1,0) | |
| 766 | } | |
| 767 | local PE2=Instance.new("ParticleEmitter", ra)
| |
| 768 | PE2.LightEmission=.9 | |
| 769 | PE2.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
| |
| 770 | PE2.Size=NumberSequence.new(EyeSizes) | |
| 771 | PE2.Transparency=NumberSequence.new(EyeTrans) | |
| 772 | PE2.Lifetime=NumberRange.new(0.35) | |
| 773 | PE2.Rotation=NumberRange.new(0,360) | |
| 774 | PE2.Rate=999 | |
| 775 | PE2.VelocitySpread = 10000 | |
| 776 | PE2.Acceleration = Vector3.new(0,25,0) | |
| 777 | PE2.ZOffset = 0.5 | |
| 778 | PE2.Drag = 0 | |
| 779 | PE2.Speed = NumberRange.new(0,0,0) | |
| 780 | PE2.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds" | |
| 781 | PE2.Name = "PE2" | |
| 782 | PE2.Enabled = true | |
| 783 | PE2.LockedToPart = true | |
| 784 | ||
| 785 | ||
| 786 | ------------------------------------------------------- | |
| 787 | --Start Damage Function Customization-- | |
| 788 | ------------------------------------------------------- | |
| 789 | function ShowDamage(Pos, Text, Time, Color) | |
| 790 | local Rate = (1 / 30) | |
| 791 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 792 | local Text = (Text or "") | |
| 793 | local Time = (Time or 2) | |
| 794 | local Color = (Color or Color3.new(1, 0, 1)) | |
| 795 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 796 | EffectPart.Anchored = true | |
| 797 | local BillboardGui = Create("BillboardGui"){
| |
| 798 | Size = UDim2.new(3, 0, 3, 0), | |
| 799 | Adornee = EffectPart, | |
| 800 | Parent = EffectPart, | |
| 801 | } | |
| 802 | local TextLabel = Create("TextLabel"){
| |
| 803 | BackgroundTransparency = 1, | |
| 804 | Size = UDim2.new(1, 0, 1, 0), | |
| 805 | Text = Text, | |
| 806 | Font = "Bodoni", | |
| 807 | TextColor3 = Color, | |
| 808 | TextScaled = true, | |
| 809 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
| 810 | Parent = BillboardGui, | |
| 811 | } | |
| 812 | game.Debris:AddItem(EffectPart, (Time)) | |
| 813 | EffectPart.Parent = game:GetService("Workspace")
| |
| 814 | delay(0, function() | |
| 815 | local Frames = (Time / Rate) | |
| 816 | for Frame = 1, Frames do | |
| 817 | wait(Rate) | |
| 818 | local Percent = (Frame / Frames) | |
| 819 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 820 | TextLabel.TextTransparency = Percent | |
| 821 | end | |
| 822 | if EffectPart and EffectPart.Parent then | |
| 823 | EffectPart:Destroy() | |
| 824 | end | |
| 825 | end) | |
| 826 | end | |
| 827 | ------------------------------------------------------- | |
| 828 | --End Damage Function Customization-- | |
| 829 | ------------------------------------------------------- | |
| 830 | ||
| 831 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
| 832 | for _, c in pairs(workspace:children()) do | |
| 833 | local hum = c:findFirstChild("Humanoid")
| |
| 834 | if hum ~= nil then | |
| 835 | local head = c:findFirstChild("Head")
| |
| 836 | if head ~= nil then | |
| 837 | local targ = head.Position - Part.Position | |
| 838 | local mag = targ.magnitude | |
| 839 | if magni >= mag and c.Name ~= plr.Name then | |
| 840 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
| 841 | end | |
| 842 | end | |
| 843 | end | |
| 844 | end | |
| 845 | end | |
| 846 | ||
| 847 | ||
| 848 | CFuncs = {
| |
| 849 | Part = {
| |
| 850 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 851 | local Part = Create("Part")({
| |
| 852 | Parent = Parent, | |
| 853 | Reflectance = Reflectance, | |
| 854 | Transparency = Transparency, | |
| 855 | CanCollide = false, | |
| 856 | Locked = true, | |
| 857 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 858 | Name = Name, | |
| 859 | Size = Size, | |
| 860 | Material = Material | |
| 861 | }) | |
| 862 | RemoveOutlines(Part) | |
| 863 | return Part | |
| 864 | end | |
| 865 | }, | |
| 866 | Mesh = {
| |
| 867 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 868 | local Msh = Create(Mesh)({
| |
| 869 | Parent = Part, | |
| 870 | Offset = OffSet, | |
| 871 | Scale = Scale | |
| 872 | }) | |
| 873 | if Mesh == "SpecialMesh" then | |
| 874 | Msh.MeshType = MeshType | |
| 875 | Msh.MeshId = MeshId | |
| 876 | end | |
| 877 | return Msh | |
| 878 | end | |
| 879 | }, | |
| 880 | Mesh = {
| |
| 881 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 882 | local Msh = Create(Mesh)({
| |
| 883 | Parent = Part, | |
| 884 | Offset = OffSet, | |
| 885 | Scale = Scale | |
| 886 | }) | |
| 887 | if Mesh == "SpecialMesh" then | |
| 888 | Msh.MeshType = MeshType | |
| 889 | Msh.MeshId = MeshId | |
| 890 | end | |
| 891 | return Msh | |
| 892 | end | |
| 893 | }, | |
| 894 | Weld = {
| |
| 895 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 896 | local Weld = Create("Weld")({
| |
| 897 | Parent = Parent, | |
| 898 | Part0 = Part0, | |
| 899 | Part1 = Part1, | |
| 900 | C0 = C0, | |
| 901 | C1 = C1 | |
| 902 | }) | |
| 903 | return Weld | |
| 904 | end | |
| 905 | }, | |
| 906 | Sound = {
| |
| 907 | Create = function(id, par, vol, pit) | |
| 908 | coroutine.resume(coroutine.create(function() | |
| 909 | local S = Create("Sound")({
| |
| 910 | Volume = vol, | |
| 911 | Pitch = pit or 1, | |
| 912 | SoundId = id, | |
| 913 | Parent = par or workspace | |
| 914 | }) | |
| 915 | wait() | |
| 916 | S:play() | |
| 917 | game:GetService("Debris"):AddItem(S, 6)
| |
| 918 | end)) | |
| 919 | end | |
| 920 | }, | |
| 921 | ParticleEmitter = {
| |
| 922 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 923 | local fp = Create("ParticleEmitter")({
| |
| 924 | Parent = Parent, | |
| 925 | Color = ColorSequence.new(Color1, Color2), | |
| 926 | LightEmission = LightEmission, | |
| 927 | Size = Size, | |
| 928 | Texture = Texture, | |
| 929 | Transparency = Transparency, | |
| 930 | ZOffset = ZOffset, | |
| 931 | Acceleration = Accel, | |
| 932 | Drag = Drag, | |
| 933 | LockedToPart = LockedToPart, | |
| 934 | VelocityInheritance = VelocityInheritance, | |
| 935 | EmissionDirection = EmissionDirection, | |
| 936 | Enabled = Enabled, | |
| 937 | Lifetime = LifeTime, | |
| 938 | Rate = Rate, | |
| 939 | Rotation = Rotation, | |
| 940 | RotSpeed = RotSpeed, | |
| 941 | Speed = Speed, | |
| 942 | VelocitySpread = VelocitySpread | |
| 943 | }) | |
| 944 | return fp | |
| 945 | end | |
| 946 | } | |
| 947 | } | |
| 948 | function RemoveOutlines(part) | |
| 949 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 950 | end | |
| 951 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 952 | local Part = Create("Part")({
| |
| 953 | formFactor = FormFactor, | |
| 954 | Parent = Parent, | |
| 955 | Reflectance = Reflectance, | |
| 956 | Transparency = Transparency, | |
| 957 | CanCollide = false, | |
| 958 | Locked = true, | |
| 959 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 960 | Name = Name, | |
| 961 | Size = Size, | |
| 962 | Material = Material | |
| 963 | }) | |
| 964 | RemoveOutlines(Part) | |
| 965 | return Part | |
| 966 | end | |
| 967 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 968 | local Msh = Create(Mesh)({
| |
| 969 | Parent = Part, | |
| 970 | Offset = OffSet, | |
| 971 | Scale = Scale | |
| 972 | }) | |
| 973 | if Mesh == "SpecialMesh" then | |
| 974 | Msh.MeshType = MeshType | |
| 975 | Msh.MeshId = MeshId | |
| 976 | end | |
| 977 | return Msh | |
| 978 | end | |
| 979 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 980 | local Weld = Create("Weld")({
| |
| 981 | Parent = Parent, | |
| 982 | Part0 = Part0, | |
| 983 | Part1 = Part1, | |
| 984 | C0 = C0, | |
| 985 | C1 = C1 | |
| 986 | }) | |
| 987 | return Weld | |
| 988 | end | |
| 989 | ||
| 990 | ||
| 991 | ------------------------------------------------------- | |
| 992 | --Start Effect Function-- | |
| 993 | ------------------------------------------------------- | |
| 994 | EffectModel = Instance.new("Model", char)
| |
| 995 | Effects = {
| |
| 996 | Block = {
| |
| 997 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 998 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 999 | prt.Anchored = true | |
| 1000 | prt.CFrame = cframe | |
| 1001 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1002 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1003 | if Type == 1 or Type == nil then | |
| 1004 | table.insert(Effects, {
| |
| 1005 | prt, | |
| 1006 | "Block1", | |
| 1007 | delay, | |
| 1008 | x3, | |
| 1009 | y3, | |
| 1010 | z3, | |
| 1011 | msh | |
| 1012 | }) | |
| 1013 | elseif Type == 2 then | |
| 1014 | table.insert(Effects, {
| |
| 1015 | prt, | |
| 1016 | "Block2", | |
| 1017 | delay, | |
| 1018 | x3, | |
| 1019 | y3, | |
| 1020 | z3, | |
| 1021 | msh | |
| 1022 | }) | |
| 1023 | else | |
| 1024 | table.insert(Effects, {
| |
| 1025 | prt, | |
| 1026 | "Block3", | |
| 1027 | delay, | |
| 1028 | x3, | |
| 1029 | y3, | |
| 1030 | z3, | |
| 1031 | msh | |
| 1032 | }) | |
| 1033 | end | |
| 1034 | end | |
| 1035 | }, | |
| 1036 | Sphere = {
| |
| 1037 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1038 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1039 | prt.Anchored = true | |
| 1040 | prt.CFrame = cframe | |
| 1041 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1042 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1043 | table.insert(Effects, {
| |
| 1044 | prt, | |
| 1045 | "Cylinder", | |
| 1046 | delay, | |
| 1047 | x3, | |
| 1048 | y3, | |
| 1049 | z3, | |
| 1050 | msh | |
| 1051 | }) | |
| 1052 | end | |
| 1053 | }, | |
| 1054 | Cylinder = {
| |
| 1055 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1056 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1057 | prt.Anchored = true | |
| 1058 | prt.CFrame = cframe | |
| 1059 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1060 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1061 | table.insert(Effects, {
| |
| 1062 | prt, | |
| 1063 | "Cylinder", | |
| 1064 | delay, | |
| 1065 | x3, | |
| 1066 | y3, | |
| 1067 | z3, | |
| 1068 | msh | |
| 1069 | }) | |
| 1070 | end | |
| 1071 | }, | |
| 1072 | Wave = {
| |
| 1073 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1074 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1075 | prt.Anchored = true | |
| 1076 | prt.CFrame = cframe | |
| 1077 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
| |
| 1078 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1079 | table.insert(Effects, {
| |
| 1080 | prt, | |
| 1081 | "Cylinder", | |
| 1082 | delay, | |
| 1083 | x3 / 60, | |
| 1084 | y3 / 60, | |
| 1085 | z3 / 60, | |
| 1086 | msh | |
| 1087 | }) | |
| 1088 | end | |
| 1089 | }, | |
| 1090 | Ring = {
| |
| 1091 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1092 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1093 | prt.Anchored = true | |
| 1094 | prt.CFrame = cframe | |
| 1095 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1096 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1097 | table.insert(Effects, {
| |
| 1098 | prt, | |
| 1099 | "Cylinder", | |
| 1100 | delay, | |
| 1101 | x3, | |
| 1102 | y3, | |
| 1103 | z3, | |
| 1104 | msh | |
| 1105 | }) | |
| 1106 | end | |
| 1107 | }, | |
| 1108 | Break = {
| |
| 1109 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 1110 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 1111 | prt.Anchored = true | |
| 1112 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1113 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1114 | local num = math.random(10, 50) / 1000 | |
| 1115 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1116 | table.insert(Effects, {
| |
| 1117 | prt, | |
| 1118 | "Shatter", | |
| 1119 | num, | |
| 1120 | prt.CFrame, | |
| 1121 | math.random() - math.random(), | |
| 1122 | 0, | |
| 1123 | math.random(50, 100) / 100 | |
| 1124 | }) | |
| 1125 | end | |
| 1126 | }, | |
| 1127 | Spiral = {
| |
| 1128 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1129 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1130 | prt.Anchored = true | |
| 1131 | prt.CFrame = cframe | |
| 1132 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1133 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1134 | table.insert(Effects, {
| |
| 1135 | prt, | |
| 1136 | "Cylinder", | |
| 1137 | delay, | |
| 1138 | x3, | |
| 1139 | y3, | |
| 1140 | z3, | |
| 1141 | msh | |
| 1142 | }) | |
| 1143 | end | |
| 1144 | }, | |
| 1145 | Push = {
| |
| 1146 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1147 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1148 | prt.Anchored = true | |
| 1149 | prt.CFrame = cframe | |
| 1150 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1151 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1152 | table.insert(Effects, {
| |
| 1153 | prt, | |
| 1154 | "Cylinder", | |
| 1155 | delay, | |
| 1156 | x3, | |
| 1157 | y3, | |
| 1158 | z3, | |
| 1159 | msh | |
| 1160 | }) | |
| 1161 | end | |
| 1162 | } | |
| 1163 | } | |
| 1164 | function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) | |
| 1165 | local fp = IT("Part")
| |
| 1166 | fp.formFactor = formfactor | |
| 1167 | fp.Parent = parent | |
| 1168 | fp.Reflectance = reflectance | |
| 1169 | fp.Transparency = transparency | |
| 1170 | fp.CanCollide = false | |
| 1171 | fp.Locked = true | |
| 1172 | fp.BrickColor = brickcolor | |
| 1173 | fp.Name = name | |
| 1174 | fp.Size = size | |
| 1175 | fp.Position = tors.Position | |
| 1176 | RemoveOutlines(fp) | |
| 1177 | fp.Material = "SmoothPlastic" | |
| 1178 | fp:BreakJoints() | |
| 1179 | return fp | |
| 1180 | end | |
| 1181 | ||
| 1182 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 1183 | local mesh = IT(Mesh) | |
| 1184 | mesh.Parent = part | |
| 1185 | if Mesh == "SpecialMesh" then | |
| 1186 | mesh.MeshType = meshtype | |
| 1187 | if meshid ~= "nil" then | |
| 1188 | mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid | |
| 1189 | end | |
| 1190 | end | |
| 1191 | mesh.Offset = offset | |
| 1192 | mesh.Scale = scale | |
| 1193 | return mesh | |
| 1194 | end | |
| 1195 | ||
| 1196 | function Magic(bonuspeed, type, pos, scale, value, color, MType) | |
| 1197 | local type = type | |
| 1198 | local rng = Instance.new("Part", char)
| |
| 1199 | rng.Anchored = true | |
| 1200 | rng.BrickColor = color | |
| 1201 | rng.CanCollide = false | |
| 1202 | rng.FormFactor = 3 | |
| 1203 | rng.Name = "Ring" | |
| 1204 | rng.Material = "Neon" | |
| 1205 | rng.Size = Vector3.new(1, 1, 1) | |
| 1206 | rng.Transparency = 0 | |
| 1207 | rng.TopSurface = 0 | |
| 1208 | rng.BottomSurface = 0 | |
| 1209 | rng.CFrame = pos | |
| 1210 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1211 | rngm.MeshType = MType | |
| 1212 | rngm.Scale = scale | |
| 1213 | local scaler2 = 1 | |
| 1214 | if type == "Add" then | |
| 1215 | scaler2 = 1 * value | |
| 1216 | elseif type == "Divide" then | |
| 1217 | scaler2 = 1 / value | |
| 1218 | end | |
| 1219 | coroutine.resume(coroutine.create(function() | |
| 1220 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 1221 | swait() | |
| 1222 | if type == "Add" then | |
| 1223 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 1224 | elseif type == "Divide" then | |
| 1225 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 1226 | end | |
| 1227 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 1228 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) | |
| 1229 | end | |
| 1230 | rng:Destroy() | |
| 1231 | end)) | |
| 1232 | end | |
| 1233 | ||
| 1234 | function Eviscerate(dude) | |
| 1235 | if dude.Name ~= char then | |
| 1236 | local bgf = IT("BodyGyro", dude.Head)
| |
| 1237 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
| 1238 | local val = IT("BoolValue", dude)
| |
| 1239 | val.Name = "IsHit" | |
| 1240 | local ds = coroutine.wrap(function() | |
| 1241 | dude:WaitForChild("Head"):BreakJoints()
| |
| 1242 | wait(0.5) | |
| 1243 | target = nil | |
| 1244 | coroutine.resume(coroutine.create(function() | |
| 1245 | for i, v in pairs(dude:GetChildren()) do | |
| 1246 | if v:IsA("Accessory") then
| |
| 1247 | v:Destroy() | |
| 1248 | end | |
| 1249 | if v:IsA("Humanoid") then
| |
| 1250 | v:Destroy() | |
| 1251 | end | |
| 1252 | if v:IsA("CharacterMesh") then
| |
| 1253 | v:Destroy() | |
| 1254 | end | |
| 1255 | if v:IsA("Model") then
| |
| 1256 | v:Destroy() | |
| 1257 | end | |
| 1258 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 1259 | for x, o in pairs(v:GetChildren()) do | |
| 1260 | if o:IsA("Decal") then
| |
| 1261 | o:Destroy() | |
| 1262 | end | |
| 1263 | end | |
| 1264 | coroutine.resume(coroutine.create(function() | |
| 1265 | v.Material = "Neon" | |
| 1266 | v.CanCollide = false | |
| 1267 | local PartEmmit1 = IT("ParticleEmitter", v)
| |
| 1268 | PartEmmit1.LightEmission = 1 | |
| 1269 | PartEmmit1.Texture = "rbxassetid://284205403" | |
| 1270 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 1271 | PartEmmit1.Rate = 150 | |
| 1272 | PartEmmit1.Lifetime = NumberRange.new(1) | |
| 1273 | PartEmmit1.Size = NumberSequence.new({
| |
| 1274 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
| 1275 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 1276 | }) | |
| 1277 | PartEmmit1.Transparency = NumberSequence.new({
| |
| 1278 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 1279 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 1280 | }) | |
| 1281 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
| 1282 | PartEmmit1.VelocitySpread = 30000 | |
| 1283 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
| 1284 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
| 1285 | local BodPoss = IT("BodyPosition", v)
| |
| 1286 | BodPoss.P = 3000 | |
| 1287 | BodPoss.D = 1000 | |
| 1288 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 1289 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
| 1290 | v.Color = maincolor.Color | |
| 1291 | coroutine.resume(coroutine.create(function() | |
| 1292 | for i = 0, 49 do | |
| 1293 | swait(1) | |
| 1294 | v.Transparency = v.Transparency + 0.08 | |
| 1295 | end | |
| 1296 | wait(0.5) | |
| 1297 | PartEmmit1.Enabled = false | |
| 1298 | wait(3) | |
| 1299 | v:Destroy() | |
| 1300 | dude:Destroy() | |
| 1301 | end)) | |
| 1302 | end)) | |
| 1303 | end | |
| 1304 | end | |
| 1305 | end)) | |
| 1306 | end) | |
| 1307 | ds() | |
| 1308 | end | |
| 1309 | end | |
| 1310 | ||
| 1311 | function FindNearestHead(Position, Distance, SinglePlayer) | |
| 1312 | if SinglePlayer then | |
| 1313 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
| 1314 | end | |
| 1315 | local List = {}
| |
| 1316 | for i, v in pairs(workspace:GetChildren()) do | |
| 1317 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
| |
| 1318 | table.insert(List, v) | |
| 1319 | end | |
| 1320 | end | |
| 1321 | return List | |
| 1322 | end | |
| 1323 | ||
| 1324 | function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) | |
| 1325 | local type = type | |
| 1326 | local rng = Instance.new("Part", char)
| |
| 1327 | rng.Anchored = true | |
| 1328 | rng.BrickColor = color | |
| 1329 | rng.CanCollide = false | |
| 1330 | rng.FormFactor = 3 | |
| 1331 | rng.Name = "Ring" | |
| 1332 | rng.Material = "Neon" | |
| 1333 | rng.Size = Vector3.new(1, 1, 1) | |
| 1334 | rng.Transparency = 0 | |
| 1335 | rng.TopSurface = 0 | |
| 1336 | rng.BottomSurface = 0 | |
| 1337 | rng.CFrame = pos | |
| 1338 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
| 1339 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1340 | rngm.MeshType = MType | |
| 1341 | rngm.Scale = Vector3.new(x1, y1, z1) | |
| 1342 | local scaler2 = 1 | |
| 1343 | local speeder = FastSpeed | |
| 1344 | if type == "Add" then | |
| 1345 | scaler2 = 1 * value | |
| 1346 | elseif type == "Divide" then | |
| 1347 | scaler2 = 1 / value | |
| 1348 | end | |
| 1349 | coroutine.resume(coroutine.create(function() | |
| 1350 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 1351 | swait() | |
| 1352 | if type == "Add" then | |
| 1353 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 1354 | elseif type == "Divide" then | |
| 1355 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 1356 | end | |
| 1357 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
| 1358 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
| 1359 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 1360 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
| 1361 | end | |
| 1362 | rng:Destroy() | |
| 1363 | end)) | |
| 1364 | end | |
| 1365 | ||
| 1366 | function SoulSteal(dude) | |
| 1367 | if dude.Name ~= char then | |
| 1368 | local bgf = IT("BodyGyro", dude.Head)
| |
| 1369 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
| 1370 | local val = IT("BoolValue", dude)
| |
| 1371 | val.Name = "IsHit" | |
| 1372 | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') | |
| 1373 | local soulst = coroutine.wrap(function() | |
| 1374 | local soul = Instance.new("Part",dude)
| |
| 1375 | soul.Size = Vector3.new(1,1,1) | |
| 1376 | soul.CanCollide = false | |
| 1377 | soul.Anchored = false | |
| 1378 | soul.Position = torso.Position | |
| 1379 | soul.Transparency = 1 | |
| 1380 | local PartEmmit1 = IT("ParticleEmitter", soul)
| |
| 1381 | PartEmmit1.LightEmission = 1 | |
| 1382 | PartEmmit1.Texture = "rbxassetid://569507414" | |
| 1383 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 1384 | PartEmmit1.Rate = 250 | |
| 1385 | PartEmmit1.Lifetime = NumberRange.new(1.6) | |
| 1386 | PartEmmit1.Size = NumberSequence.new({
| |
| 1387 | NumberSequenceKeypoint.new(0, 1, 0), | |
| 1388 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 1389 | }) | |
| 1390 | PartEmmit1.Transparency = NumberSequence.new({
| |
| 1391 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 1392 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 1393 | }) | |
| 1394 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
| 1395 | PartEmmit1.VelocitySpread = 30000 | |
| 1396 | PartEmmit1.Rotation = NumberRange.new(-360, 360) | |
| 1397 | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) | |
| 1398 | local BodPoss = IT("BodyPosition", soul)
| |
| 1399 | BodPoss.P = 3000 | |
| 1400 | BodPoss.D = 1000 | |
| 1401 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 1402 | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
| 1403 | wait(1.6) | |
| 1404 | soul.Touched:connect(function(hit) | |
| 1405 | if hit.Parent == char then | |
| 1406 | soul:Destroy() | |
| 1407 | end | |
| 1408 | end) | |
| 1409 | wait(1.2) | |
| 1410 | while soul do | |
| 1411 | swait() | |
| 1412 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 1413 | BodPoss.Position = tors.Position | |
| 1414 | end | |
| 1415 | end) | |
| 1416 | soulst() | |
| 1417 | end | |
| 1418 | end | |
| 1419 | function FaceMouse() | |
| 1420 | local Cam = workspace.CurrentCamera | |
| 1421 | return {
| |
| 1422 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
| 1423 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
| 1424 | } | |
| 1425 | end | |
| 1426 | -------------------- | |
| 1427 | ----------------------------------- | |
| 1428 | --End Effect Function-- | |
| 1429 | ------------------------------------------------------- | |
| 1430 | function Cso(ID, PARENT, VOLUME, PITCH) | |
| 1431 | local NSound = nil | |
| 1432 | coroutine.resume(coroutine.create(function() | |
| 1433 | NSound = IT("Sound", PARENT)
| |
| 1434 | NSound.Volume = VOLUME | |
| 1435 | NSound.Pitch = PITCH | |
| 1436 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 1437 | swait() | |
| 1438 | NSound:play() | |
| 1439 | game:GetService("Debris"):AddItem(NSound, 10)
| |
| 1440 | end)) | |
| 1441 | return NSound | |
| 1442 | end | |
| 1443 | function CameraEnshaking(Length, Intensity) | |
| 1444 | coroutine.resume(coroutine.create(function() | |
| 1445 | local intensity = 1 * Intensity | |
| 1446 | local rotM = 0.01 * Intensity | |
| 1447 | for i = 0, Length, 0.1 do | |
| 1448 | swait() | |
| 1449 | intensity = intensity - 0.05 * Intensity / Length | |
| 1450 | rotM = rotM - 5.0E-4 * Intensity / Length | |
| 1451 | hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) | |
| 1452 | 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) | |
| 1453 | end | |
| 1454 | hum.CameraOffset = Vector3.new(0, 0, 0) | |
| 1455 | end)) | |
| 1456 | end | |
| 1457 | ------------------------------------------------------- | |
| 1458 | --End Important Functions-- | |
| 1459 | ------------------------------------------------------- | |
| 1460 | local Trail = Instance.new("Trail",char)
| |
| 1461 | local attachment0 = Instance.new("Attachment",char["Right Arm"])
| |
| 1462 | attachment0.Name = "TrailAttachment0" | |
| 1463 | attachment0.CFrame = CFrame.new(-0.25,-1,0) | |
| 1464 | local attachment1 = Instance.new("Attachment",char["Right Arm"])
| |
| 1465 | attachment1.CFrame = CFrame.new(0.25,-1,0) | |
| 1466 | attachment1.Name = "TrailAttachment1" | |
| 1467 | Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
| |
| 1468 | Trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
| |
| 1469 | Trail.Lifetime = 0.5 | |
| 1470 | Trail.Attachment0 = attachment0 | |
| 1471 | Trail.Attachment1 = attachment1 | |
| 1472 | ||
| 1473 | local Trail = Instance.new("Trail",char)
| |
| 1474 | local attachment0 = Instance.new("Attachment",char["Left Arm"])
| |
| 1475 | attachment0.Name = "TrailAttachment0" | |
| 1476 | attachment0.CFrame = CFrame.new(-0.25,-1,0) | |
| 1477 | local attachment1 = Instance.new("Attachment",char["Left Arm"])
| |
| 1478 | attachment1.CFrame = CFrame.new(0.25,-1,0) | |
| 1479 | attachment1.Name = "TrailAttachment1" | |
| 1480 | Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
| |
| 1481 | Trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
| |
| 1482 | Trail.Lifetime = 0.5 | |
| 1483 | Trail.Attachment0 = attachment0 | |
| 1484 | Trail.Attachment1 = attachment1 | |
| 1485 | ||
| 1486 | local Trail = Instance.new("Trail",char)
| |
| 1487 | local attachment0 = Instance.new("Attachment",char["Right Leg"])
| |
| 1488 | attachment0.Name = "TrailAttachment0" | |
| 1489 | attachment0.CFrame = CFrame.new(-0.25,-1,0) | |
| 1490 | local attachment1 = Instance.new("Attachment",char["Right Leg"])
| |
| 1491 | attachment1.CFrame = CFrame.new(0.25,-1,0) | |
| 1492 | attachment1.Name = "TrailAttachment1" | |
| 1493 | Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
| |
| 1494 | Trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
| |
| 1495 | Trail.Lifetime = 0.5 | |
| 1496 | Trail.Attachment0 = attachment0 | |
| 1497 | Trail.Attachment1 = attachment1 | |
| 1498 | ||
| 1499 | local Trail = Instance.new("Trail",char)
| |
| 1500 | local attachment0 = Instance.new("Attachment",char["Left Leg"])
| |
| 1501 | attachment0.Name = "TrailAttachment0" | |
| 1502 | attachment0.CFrame = CFrame.new(-0.25,-1,0) | |
| 1503 | local attachment1 = Instance.new("Attachment",char["Left Leg"])
| |
| 1504 | attachment1.CFrame = CFrame.new(0.25,-1,0) | |
| 1505 | attachment1.Name = "TrailAttachment1" | |
| 1506 | Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
| |
| 1507 | Trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.2,Color3.new(1,1,0)),ColorSequenceKeypoint.new(0.4,Color3.new(0,1,0)),ColorSequenceKeypoint.new(0.6,Color3.new(0,1,1)),ColorSequenceKeypoint.new(0.8,Color3.new(0,0,1)),ColorSequenceKeypoint.new(1,Color3.new(0,0,1))})
| |
| 1508 | Trail.Lifetime = 0.5 | |
| 1509 | Trail.Attachment0 = attachment0 | |
| 1510 | Trail.Attachment1 = attachment1 | |
| 1511 | ||
| 1512 | ||
| 1513 | ||
| 1514 | local Lite = IT("PointLight",tors)
| |
| 1515 | Lite.Color = Color3.new(.7,0,1) | |
| 1516 | Lite.Range = 8 | |
| 1517 | Lite.Brightness = 10 | |
| 1518 | Lite.Shadows = true | |
| 1519 | ||
| 1520 | ------------------------------------------------------- | |
| 1521 | --Start Customization-- | |
| 1522 | ------------------------------------------------------- | |
| 1523 | local Player_Size = 1 | |
| 1524 | if Player_Size ~= 1 then | |
| 1525 | root.Size = root.Size * Player_Size | |
| 1526 | tors.Size = tors.Size * Player_Size | |
| 1527 | hed.Size = hed.Size * Player_Size | |
| 1528 | ra.Size = ra.Size * Player_Size | |
| 1529 | la.Size = la.Size * Player_Size | |
| 1530 | rl.Size = rl.Size * Player_Size | |
| 1531 | ll.Size = ll.Size * Player_Size | |
| 1532 | ---------------------------------------------------------------------------------- | |
| 1533 | rootj.Parent = root | |
| 1534 | neck.Parent = tors | |
| 1535 | RW.Parent = tors | |
| 1536 | LW.Parent = tors | |
| 1537 | RH.Parent = tors | |
| 1538 | LH.Parent = tors | |
| 1539 | ---------------------------------------------------------------------------------- | |
| 1540 | rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1541 | rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1542 | neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1543 | neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) | |
| 1544 | RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0 | |
| 1545 | LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0 | |
| 1546 | ---------------------------------------------------------------------------------- | |
| 1547 | 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)) | |
| 1548 | 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)) | |
| 1549 | 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)) | |
| 1550 | 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)) | |
| 1551 | --hat.Parent = Character | |
| 1552 | end | |
| 1553 | ---------------------------------------------------------------------------------- | |
| 1554 | local SONG = 1280408510 | |
| 1555 | local SONG2 = 0 | |
| 1556 | local Music = Instance.new("Sound",tors)
| |
| 1557 | Music.Volume = 2.5 | |
| 1558 | Music.Looped = true | |
| 1559 | Music.Pitch = 1 --Pitcher | |
| 1560 | ---------------------------------------------------------------------------------- | |
| 1561 | local equipped = false | |
| 1562 | local idle = 0 | |
| 1563 | local change = 1 | |
| 1564 | local val = 0 | |
| 1565 | local toim = 0 | |
| 1566 | local idleanim = 0.4 | |
| 1567 | local sine = 0 | |
| 1568 | local Sit = 1 | |
| 1569 | ---------------------------------------------------------------------------------- | |
| 1570 | hum.WalkSpeed = 8 | |
| 1571 | hum.JumpPower = 57 | |
| 1572 | hum.Animator.Parent = nil | |
| 1573 | ---------------------------------------------------------------------------------- | |
| 1574 | local r = 255 | |
| 1575 | local g = 0 | |
| 1576 | local b = 0 | |
| 1577 | coroutine.resume(coroutine.create(function() | |
| 1578 | while wait() do | |
| 1579 | for i = 0, 50.8 do | |
| 1580 | swait() | |
| 1581 | g = g + 5 | |
| 1582 | end | |
| 1583 | for i = 0, 50.8 do | |
| 1584 | swait() | |
| 1585 | r = r - 5 | |
| 1586 | end | |
| 1587 | for i = 0, 50.8 do | |
| 1588 | swait() | |
| 1589 | b = b + 5 | |
| 1590 | end | |
| 1591 | for i = 0, 50.8 do | |
| 1592 | swait() | |
| 1593 | g = g - 5 | |
| 1594 | end | |
| 1595 | for i = 0, 50.8 do | |
| 1596 | swait() | |
| 1597 | r = r + 5 | |
| 1598 | end | |
| 1599 | for i = 0, 50.8 do | |
| 1600 | swait() | |
| 1601 | b = b - 5 | |
| 1602 | end | |
| 1603 | end | |
| 1604 | end)) | |
| 1605 | ||
| 1606 | --- | |
| 1607 | ||
| 1608 | ||
| 1609 | ---------------------------------------------------------------------------------- | |
| 1610 | local naeeym2 = IT("BillboardGui",char)
| |
| 1611 | naeeym2.AlwaysOnTop = true | |
| 1612 | naeeym2.Size = UDim2.new(5,35,2,15) | |
| 1613 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
| 1614 | naeeym2.MaxDistance = 75 | |
| 1615 | naeeym2.Adornee = hed | |
| 1616 | naeeym2.Name = "Name" | |
| 1617 | local tecks2 = IT("TextLabel",naeeym2)
| |
| 1618 | tecks2.BackgroundTransparency = 1 | |
| 1619 | tecks2.TextScaled = true | |
| 1620 | tecks2.BorderSizePixel = 0 | |
| 1621 | tecks2.Text = "Just want someone's around to help." | |
| 1622 | tecks2.Font = "Fantasy" | |
| 1623 | tecks2.TextSize = 30 | |
| 1624 | tecks2.TextStrokeTransparency = 0 | |
| 1625 | tecks2.TextColor3 = Color3.new(1,1,1) | |
| 1626 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
| 1627 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 1628 | tecks2.Parent = naeeym2 | |
| 1629 | hed.face.Texture = "rbxassetid://33752579" | |
| 1630 | ---------------------------------------------------------------------------------- | |
| 1631 | Reaper = IT("Model")
| |
| 1632 | Reaper.Parent = char | |
| 1633 | Reaper.Name = "Reaper" | |
| 1634 | RHe = IT("Part")
| |
| 1635 | RHe.Parent = Reaper | |
| 1636 | RHe.BrickColor = BrickC("Really black")
| |
| 1637 | RHe.Locked = true | |
| 1638 | RHe.CanCollide = false | |
| 1639 | RHe.Transparency = 0 | |
| 1640 | PMesh = IT("SpecialMesh")
| |
| 1641 | RHe.formFactor = "Symmetric" | |
| 1642 | PMesh.MeshType = "FileMesh" | |
| 1643 | PMesh.MeshId = "rbxassetid://1374148" | |
| 1644 | PMesh.TextureId = "rbxassetid://185703978" | |
| 1645 | PMesh.Scale = Vector3.new(1, 1, 1) | |
| 1646 | PMesh.Parent = RHe | |
| 1647 | local RWeld = IT("Weld")
| |
| 1648 | RWeld.Parent = RHe | |
| 1649 | RWeld.Part0 = RHe | |
| 1650 | RWeld.Part1 = hed | |
| 1651 | RWeld.C0 = CF(0, -.7, 0) * angles(0, 0, 0) | |
| 1652 | ------------------------------------------------------- | |
| 1653 | --End Customization-- | |
| 1654 | ------------------------------------------------------- | |
| 1655 | ||
| 1656 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
| 1657 | local NSound = nil | |
| 1658 | coroutine.resume(coroutine.create(function() | |
| 1659 | NSound = Instance.new("Sound", PARENT)
| |
| 1660 | NSound.Volume = VOLUME | |
| 1661 | NSound.Pitch = PITCH | |
| 1662 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 1663 | swait() | |
| 1664 | NSound:play() | |
| 1665 | game:GetService("Debris"):AddItem(NSound, 10)
| |
| 1666 | end)) | |
| 1667 | return NSound | |
| 1668 | end | |
| 1669 | ||
| 1670 | ||
| 1671 | ------------------------------------------------------- | |
| 1672 | --Start Attacks N Stuff-- | |
| 1673 | ------------------------------------------------------- | |
| 1674 | function EndMySufferingV2() | |
| 1675 | attack = true | |
| 1676 | hum.WalkSpeed = 1.01 | |
| 1677 | CreateSound("577475178", hed, 10, 1)
| |
| 1678 | for i = 0,18,0.1 do | |
| 1679 | swait() | |
| 1680 | rootj.C0=clerp(rootj.C0,RootCF*CF(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(15),math.rad(-10),math.rad(0)),0.15) | |
| 1681 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(35),math.rad(0),math.rad(0)),.3) | |
| 1682 | RH.C0=clerp(RH.C0,CF(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15) | |
| 1683 | LH.C0=clerp(LH.C0,CF(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-20)),0.15) | |
| 1684 | RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5+0.1*math.sin(sine/30), -0.6) * angles(math.rad(-0), math.rad(10), math.rad(-110)), 0.1) | |
| 1685 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-10), math.rad(-105)), 0.1) | |
| 1686 | end | |
| 1687 | attack = false | |
| 1688 | hum.WalkSpeed = 16 | |
| 1689 | end | |
| 1690 | ||
| 1691 | function Ending() | |
| 1692 | local target = nil | |
| 1693 | local targettorso = nil | |
| 1694 | if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 1695 | if mouse.Target.Parent.Humanoid.PlatformStand == false then | |
| 1696 | targetT = mouse.Target.Parent | |
| 1697 | target = mouse.Target.Parent.Humanoid | |
| 1698 | targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
| |
| 1699 | targethead = mouse.Target.Parent:FindFirstChild("Head")
| |
| 1700 | end | |
| 1701 | end | |
| 1702 | if target ~= nil then | |
| 1703 | targettorso.Anchored = true | |
| 1704 | attack = true | |
| 1705 | hum.WalkSpeed = 0 | |
| 1706 | local originalpos = root.CFrame | |
| 1707 | root.CFrame = targettorso.CFrame * CF(0,0,2.6) | |
| 1708 | for i = 0,1.8,0.1 do | |
| 1709 | swait() | |
| 1710 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-65)), 0.15) | |
| 1711 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(65)), 0.3) | |
| 1712 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
| 1713 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
| 1714 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(35)), 0.1) | |
| 1715 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
| 1716 | end | |
| 1717 | Eviscerate(targetT) | |
| 1718 | CreateSound("331666100", ra, 4, 1)
| |
| 1719 | CreateSound("180083286", targettorso, 10, 1)
| |
| 1720 | coroutine.resume(coroutine.create(function() | |
| 1721 | for i = 0,1.8,0.1 do | |
| 1722 | swait() | |
| 1723 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
| 1724 | end | |
| 1725 | for i = 0,1.8,0.1 do | |
| 1726 | swait() | |
| 1727 | hum.CameraOffset = Vector3.new(0,0,0) | |
| 1728 | end | |
| 1729 | end)) | |
| 1730 | for i = 0,4.6,0.1 do | |
| 1731 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
| 1732 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
| 1733 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
| 1734 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
| 1735 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) | |
| 1736 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
| 1737 | end | |
| 1738 | wait(.6) | |
| 1739 | root.CFrame = originalpos | |
| 1740 | attack = false | |
| 1741 | hum.WalkSpeed = 8 | |
| 1742 | end | |
| 1743 | end | |
| 1744 | ||
| 1745 | function Painful_Stomp() | |
| 1746 | attack = true | |
| 1747 | for i = 0,0.1,0.1 do | |
| 1748 | swait() | |
| 1749 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
| 1750 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 1751 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
| 1752 | LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
| 1753 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0. * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1) | |
| 1754 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1) | |
| 1755 | end | |
| 1756 | wait(0.1) | |
| 1757 | CreateSound("331666100", char, 10, 1)
| |
| 1758 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 1759 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 1760 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 1761 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 1762 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05) | |
| 1763 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05) | |
| 1764 | Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03) | |
| 1765 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do | |
| 1766 | if v:FindFirstChild("Head") then
| |
| 1767 | Eviscerate(v) | |
| 1768 | end | |
| 1769 | end | |
| 1770 | coroutine.resume(coroutine.create(function() | |
| 1771 | for i = 0,2.8,0.1 do | |
| 1772 | swait() | |
| 1773 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
| 1774 | end | |
| 1775 | for i = 0,1.8,0.1 do | |
| 1776 | swait() | |
| 1777 | hum.CameraOffset = Vector3.new(0,0,0) | |
| 1778 | end | |
| 1779 | end)) | |
| 1780 | for i = 1,3.7,0.5 do | |
| 1781 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
| 1782 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 1783 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15) | |
| 1784 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15) | |
| 1785 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
| 1786 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
| 1787 | end | |
| 1788 | wait(.6) | |
| 1789 | attack = false | |
| 1790 | end | |
| 1791 | ||
| 1792 | function Blast() | |
| 1793 | attack = true | |
| 1794 | hum.WalkSpeed = 3.01 | |
| 1795 | for i = 0,6.3,0.1 do | |
| 1796 | swait() | |
| 1797 | Effects.Sphere.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
| |
| 1798 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(90)), 0.15) | |
| 1799 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3) | |
| 1800 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15) | |
| 1801 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15) | |
| 1802 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1) | |
| 1803 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1) | |
| 1804 | end | |
| 1805 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1806 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03)
| |
| 1807 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1808 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1809 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
| |
| 1810 | Effects.Ring.Create(BrickC("Hot pink"), ra.CFrame * angles(Rad(90),0,0) * CF(0, -1, 0), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
| |
| 1811 | CreateSound("142070127", tors, 10, 1)
| |
| 1812 | MagniDamage(ra, 15, 1, 2, 0.5, "Normal") | |
| 1813 | wait(0.1) | |
| 1814 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1815 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03)
| |
| 1816 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1817 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1818 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
| |
| 1819 | Effects.Ring.Create(BrickC("Hot pink"), ra.CFrame * angles(Rad(90),0,0) * CF(0, -1, 0), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
| |
| 1820 | CreateSound("142070127", tors, 10, 1)
| |
| 1821 | MagniDamage(ra, 15, 1, 2, 0.5, "Normal") | |
| 1822 | wait(0.1) | |
| 1823 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1824 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03)
| |
| 1825 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1826 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1827 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
| |
| 1828 | Effects.Ring.Create(BrickC("Hot pink"), ra.CFrame * angles(Rad(90),0,0) * CF(0, -1, 0), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
| |
| 1829 | CreateSound("142070127", tors, 10, 1)
| |
| 1830 | MagniDamage(ra, 15, 1, 2, 0.5, "Normal") | |
| 1831 | wait(0.1) | |
| 1832 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1833 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03)
| |
| 1834 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1835 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1836 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
| |
| 1837 | Effects.Ring.Create(BrickC("Hot pink"), ra.CFrame * angles(Rad(90),0,0) * CF(0, -1, 0), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
| |
| 1838 | CreateSound("142070127", tors, 10, 1)
| |
| 1839 | MagniDamage(ra, 15, 1, 2, 0.5, "Normal") | |
| 1840 | wait(0.1) | |
| 1841 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1842 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03)
| |
| 1843 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1844 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1845 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
| |
| 1846 | Effects.Ring.Create(BrickC("Hot pink"), ra.CFrame * angles(Rad(90),0,0) * CF(0, -1, 0), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
| |
| 1847 | CreateSound("142070127", tors, 10, 1)
| |
| 1848 | MagniDamage(ra, 15, 1, 2, 0.5, "Normal") | |
| 1849 | wait(0.1) | |
| 1850 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1851 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03)
| |
| 1852 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1853 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1854 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
| |
| 1855 | Effects.Ring.Create(BrickC("Hot pink"), ra.CFrame * angles(Rad(90),0,0) * CF(0, -1, 0), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
| |
| 1856 | CreateSound("142070127", tors, 10, 1)
| |
| 1857 | MagniDamage(ra, 15, 1, 2, 0.5, "Normal") | |
| 1858 | wait(0.1) | |
| 1859 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1860 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03)
| |
| 1861 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1862 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1863 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
| |
| 1864 | Effects.Ring.Create(BrickC("Hot pink"), ra.CFrame * angles(Rad(90),0,0) * CF(0, -1, 0), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
| |
| 1865 | CreateSound("142070127", tors, 10, 1)
| |
| 1866 | MagniDamage(ra, 15, 1, 2, 0.5, "Normal") | |
| 1867 | wait(0.1) | |
| 1868 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1869 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03)
| |
| 1870 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1871 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1872 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
| |
| 1873 | Effects.Ring.Create(BrickC("Hot pink"), ra.CFrame * angles(Rad(90),0,0) * CF(0, -1, 0), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
| |
| 1874 | CreateSound("142070127", tors, 10, 1)
| |
| 1875 | MagniDamage(ra, 15, 1, 2, 0.5, "Normal") | |
| 1876 | wait(0.1) | |
| 1877 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1878 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03)
| |
| 1879 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1880 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1881 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
| |
| 1882 | Effects.Ring.Create(BrickC("Hot pink"), ra.CFrame * angles(Rad(90),0,0) * CF(0, -1, 0), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
| |
| 1883 | CreateSound("142070127", tors, 10, 1)
| |
| 1884 | MagniDamage(ra, 15, 1, 2, 0.5, "Normal") | |
| 1885 | wait(0.1) | |
| 1886 | Effects.Block.Create(BrickC("Electric blue"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1887 | Effects.Block.Create(BrickC("Electric blue"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03)
| |
| 1888 | Effects.Block.Create(BrickC("Electric blue"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1889 | Effects.Block.Create(BrickC("Electric blue"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1890 | Effects.Block.Create(BrickC("Electric blue"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
| |
| 1891 | Effects.Ring.Create(BrickC("Electric blue"), ra.CFrame * angles(Rad(90),0,0) * CF(0, -1, 0), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
| |
| 1892 | CreateSound("142070127", tors, 10, 1)
| |
| 1893 | MagniDamage(ra, 15, 1, 2, 0.5, "Normal") | |
| 1894 | wait(0.1) | |
| 1895 | Effects.Block.Create(BrickC("Electric blue"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1896 | Effects.Block.Create(BrickC("Electric blue"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03)
| |
| 1897 | Effects.Block.Create(BrickC("Electric blue"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1898 | Effects.Block.Create(BrickC("Electric blue"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
| |
| 1899 | Effects.Block.Create(BrickC("Electric blue"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
| |
| 1900 | Effects.Ring.Create(BrickC("Electric blue"), ra.CFrame * angles(Rad(90),0,0) * CF(0, -1, 0), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
| |
| 1901 | Effects.Ring.Create(BrickC("Electric blue"), ra.CFrame * angles(Rad(0),180,0) * CF(0, -1, 0), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
| |
| 1902 | Effects.Ring.Create(BrickC("Electric blue"), ra.CFrame * angles(Rad(0),-180,0) * CF(0, -1, 0), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
| |
| 1903 | CreateSound("142070127", tors, 50, 1)
| |
| 1904 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 15)) do | |
| 1905 | if v:FindFirstChild("Head") then
| |
| 1906 | Eviscerate(v) | |
| 1907 | end | |
| 1908 | end | |
| 1909 | for i = 0,2.6,0.1 do | |
| 1910 | swait() | |
| 1911 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(90)), 0.15) | |
| 1912 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3) | |
| 1913 | RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-16 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15) | |
| 1914 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-25 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15) | |
| 1915 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(195 - 2.5 * Sin(sine / 20))), 0.1) | |
| 1916 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-35 + 2.5 * Sin(sine / 20))), 0.1) | |
| 1917 | end | |
| 1918 | attack = false | |
| 1919 | hum.WalkSpeed = 8 | |
| 1920 | end | |
| 1921 | ||
| 1922 | function Cat_Slam() | |
| 1923 | attack = true | |
| 1924 | for i = 0,5.2,0.1 do | |
| 1925 | swait() | |
| 1926 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
| 1927 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 1928 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
| 1929 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
| 1930 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
| 1931 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
| 1932 | end | |
| 1933 | CreateSound("331666100", tors, 10, 1)
| |
| 1934 | Effects.Ring.Create(BrickC("Hot pink"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
| |
| 1935 | Effects.Ring.Create(BrickC("Hot pink"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 5.6, 5.6, 5.6, 0.03)
| |
| 1936 | Effects.Ring.Create(BrickC("Hot pink"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
| |
| 1937 | Effects.Ring.Create(BrickC("Hot pink"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 10.6, 10, 10, 0.03)
| |
| 1938 | MagniDamage(tors, 75, 50, 99, 10, "Normal") | |
| 1939 | coroutine.resume(coroutine.create(function() | |
| 1940 | for i = 0,1.8,0.1 do | |
| 1941 | swait() | |
| 1942 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
| 1943 | end | |
| 1944 | for i = 0,1.8,0.1 do | |
| 1945 | swait() | |
| 1946 | hum.CameraOffset = Vector3.new(0,0,0) | |
| 1947 | end | |
| 1948 | end)) | |
| 1949 | for i = 1,4.7,0.1 do | |
| 1950 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
| 1951 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) | |
| 1952 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15) | |
| 1953 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
| 1954 | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1) | |
| 1955 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1) | |
| 1956 | end | |
| 1957 | wait(.6) | |
| 1958 | attack = false | |
| 1959 | end | |
| 1960 | ||
| 1961 | function EarthBreak() | |
| 1962 | attack = true | |
| 1963 | for i = 0,5.2,0.1 do | |
| 1964 | swait() | |
| 1965 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
| 1966 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 1967 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
| 1968 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
| 1969 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
| 1970 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
| 1971 | end | |
| 1972 | CreateSound("331666100", tors, 10, 1)
| |
| 1973 | Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
| |
| 1974 | Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 5.6, 5.6, 5.6, 0.03)
| |
| 1975 | Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
| |
| 1976 | Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 10.6, 10, 10, 0.03)
| |
| 1977 | swait(0.1) | |
| 1978 | MagniDamage(tors, 999, 1, 1, 1, "Normal") | |
| 1979 | coroutine.resume(coroutine.create(function() | |
| 1980 | for i = 0,1.8,0.1 do | |
| 1981 | swait() | |
| 1982 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
| 1983 | end | |
| 1984 | for i = 0,1.8,0.1 do | |
| 1985 | swait() | |
| 1986 | hum.CameraOffset = Vector3.new(0,0,0) | |
| 1987 | end | |
| 1988 | end)) | |
| 1989 | for i = 1,4.7,0.1 do | |
| 1990 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
| 1991 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) | |
| 1992 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15) | |
| 1993 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
| 1994 | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1) | |
| 1995 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1) | |
| 1996 | end | |
| 1997 | wait(0.3) | |
| 1998 | for i = 0,0.1,0.1 do | |
| 1999 | swait() | |
| 2000 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
| 2001 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2002 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
| 2003 | LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
| 2004 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2005 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2006 | end | |
| 2007 | CreateSound("331666100", char, 10, 1)
| |
| 2008 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(-100, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 2009 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(-100, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 2010 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(-100, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 2011 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(-100, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 2012 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(-100, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05) | |
| 2013 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(-100, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05) | |
| 2014 | Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(-100, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03) | |
| 2015 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 250)) do | |
| 2016 | if v:FindFirstChild("Head") then
| |
| 2017 | Eviscerate(v) | |
| 2018 | end | |
| 2019 | end | |
| 2020 | wait(0.1) | |
| 2021 | CreateSound("331666100", char, 10, 1)
| |
| 2022 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(100, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 2023 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(100, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 2024 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(100, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 2025 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(100, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 2026 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(100, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05) | |
| 2027 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(100, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05) | |
| 2028 | Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(100, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03) | |
| 2029 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 250)) do | |
| 2030 | if v:FindFirstChild("Head") then
| |
| 2031 | Eviscerate(v) | |
| 2032 | end | |
| 2033 | end | |
| 2034 | wait(0.1) | |
| 2035 | CreateSound("331666100", char, 10, 1)
| |
| 2036 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, -100), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 2037 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, -100), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 2038 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, -100), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 2039 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, -100), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 2040 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, -100), 2, 2, 2, 10.6, 35.6, 10.6, 0.05) | |
| 2041 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, -100), 2, 2, 2, 150.6, .4, 150.6, 0.05) | |
| 2042 | Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(0, -1.7, -100) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03) | |
| 2043 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 250)) do | |
| 2044 | if v:FindFirstChild("Head") then
| |
| 2045 | Eviscerate(v) | |
| 2046 | end | |
| 2047 | end | |
| 2048 | wait(0.1) | |
| 2049 | CreateSound("331666100", char, 10, 1)
| |
| 2050 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 100), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 2051 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 100), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 2052 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 100), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 2053 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 100), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 2054 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 100), 2, 2, 2, 10.6, 35.6, 10.6, 0.05) | |
| 2055 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 100), 2, 2, 2, 150.6, .4, 150.6, 0.05) | |
| 2056 | Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(0, -1.7, 100) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03) | |
| 2057 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 250)) do | |
| 2058 | if v:FindFirstChild("Head") then
| |
| 2059 | Eviscerate(v) | |
| 2060 | end | |
| 2061 | end | |
| 2062 | coroutine.resume(coroutine.create(function() | |
| 2063 | for i = 0,2.8,0.1 do | |
| 2064 | swait() | |
| 2065 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
| 2066 | end | |
| 2067 | for i = 0,1.8,0.1 do | |
| 2068 | swait() | |
| 2069 | hum.CameraOffset = Vector3.new(0,0,0) | |
| 2070 | end | |
| 2071 | end)) | |
| 2072 | for i = 0,3.7,0.1 do | |
| 2073 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
| 2074 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2075 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15) | |
| 2076 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15) | |
| 2077 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2078 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2079 | end | |
| 2080 | wait(.6) | |
| 2081 | attack = false | |
| 2082 | end | |
| 2083 | ||
| 2084 | function HellaGaey() | |
| 2085 | local UhhhhThing = New("Part",EffectModel,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = tors.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 2086 | attack = true | |
| 2087 | hum.WalkSpeed = 3.01 | |
| 2088 | for i = 0,6.3,0.1 do | |
| 2089 | swait() | |
| 2090 | Effects.Block.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
| |
| 2091 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 2092 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2093 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
| 2094 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
| 2095 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2096 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2097 | end | |
| 2098 | CreateSound("142070127", tors, 3, 1)
| |
| 2099 | Effects.Sphere.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
| |
| 2100 | Effects.Sphere.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
| |
| 2101 | Effects.Sphere.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
| |
| 2102 | Effects.Sphere.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
| |
| 2103 | Effects.Sphere.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
| |
| 2104 | Effects.Sphere.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
| |
| 2105 | Effects.Sphere.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
| |
| 2106 | Effects.Sphere.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
| |
| 2107 | Effects.Sphere.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
| |
| 2108 | Effects.Sphere.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
| |
| 2109 | Effects.Sphere.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
| |
| 2110 | Effects.Sphere.Create(BrickC("Hot pink"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
| |
| 2111 | for i = 0,3.8,0.1 do | |
| 2112 | swait() | |
| 2113 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 2114 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2115 | RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15) | |
| 2116 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15) | |
| 2117 | RW.C0 = clerp(RW.C0, CF(1.5, .2 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2118 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2119 | end | |
| 2120 | CreateSound("224339201", tors, 2, 0.5)
| |
| 2121 | for i = 1, 3 do | |
| 2122 | MagniDamage(UhhhhThing, 0, 0, 0, 0, "Normal") | |
| 2123 | wait(0.3) | |
| 2124 | MagniDamage(UhhhhThing, 12, 25, 50, 0.3, "DarkUp") | |
| 2125 | wait(0.3) | |
| 2126 | MagniDamage(UhhhhThing, 12, 25, 50, 0.3, "DarkUp") | |
| 2127 | UhhhhThing.CFrame = mouse.Hit | |
| 2128 | Effects.Cylinder.Create(BrickColor.new("Hot pink"), UhhhhThing.CFrame, .5, 9999, .5, 10, 0, 10, 0.05)
| |
| 2129 | Effects.Block.Create(BrickColor.new("Hot pink"), UhhhhThing.CFrame, 1, 1, 1, 10, 10, 10, 0.05)
| |
| 2130 | end | |
| 2131 | UhhhhThing:Destroy() | |
| 2132 | attack = false | |
| 2133 | hum.WalkSpeed = 8 | |
| 2134 | end | |
| 2135 | ||
| 2136 | ------------------------------------------------------- | |
| 2137 | --End Attacks N Stuff-- | |
| 2138 | ------------------------------------------------------- | |
| 2139 | mouse.KeyDown:connect(function(key) | |
| 2140 | if key == 'y' then | |
| 2141 | EndMySufferingV2() | |
| 2142 | ||
| 2143 | end | |
| 2144 | ||
| 2145 | if key == 'q' then | |
| 2146 | Ending() | |
| 2147 | end | |
| 2148 | ||
| 2149 | if key == 'e' then | |
| 2150 | EarthBreak() | |
| 2151 | end | |
| 2152 | ||
| 2153 | if key == 't' then | |
| 2154 | Painful_Stomp() | |
| 2155 | end | |
| 2156 | ||
| 2157 | if key == 'g' then | |
| 2158 | HellaGaey() | |
| 2159 | end | |
| 2160 | ||
| 2161 | if key == 'f' then | |
| 2162 | Blast() | |
| 2163 | end | |
| 2164 | if key == 'r' then | |
| 2165 | Cat_Slam() | |
| 2166 | end | |
| 2167 | ||
| 2168 | ||
| 2169 | if string.byte(key) == 48 then | |
| 2170 | Swing = 2 | |
| 2171 | hum.WalkSpeed = 38.82 | |
| 2172 | end | |
| 2173 | end) | |
| 2174 | mouse.KeyUp:connect(function(key) | |
| 2175 | if string.byte(key) == 48 then | |
| 2176 | Swing = 1 | |
| 2177 | hum.WalkSpeed = 8 | |
| 2178 | end | |
| 2179 | end) | |
| 2180 | ||
| 2181 | ||
| 2182 | ||
| 2183 | ||
| 2184 | ||
| 2185 | ||
| 2186 | ||
| 2187 | ||
| 2188 | ||
| 2189 | ------------------------------------------------------- | |
| 2190 | --Start Animations-- | |
| 2191 | ------------------------------------------------------- | |
| 2192 | while true do | |
| 2193 | swait() | |
| 2194 | sine = sine + change | |
| 2195 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 2196 | local velderp = root.Velocity.y | |
| 2197 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char) | |
| 2198 | if equipped == true or equipped == false then | |
| 2199 | if attack == false then | |
| 2200 | idle = idle + 1 | |
| 2201 | else | |
| 2202 | idle = 0 | |
| 2203 | end | |
| 2204 | tecks2.TextStrokeColor3 = Color3.new(r / 255, g / 255, b / 255) | |
| 2205 | if 1 < root.Velocity.y and hitfloor == nil then | |
| 2206 | Anim = "Jump" | |
| 2207 | if attack == false then | |
| 2208 | 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) | |
| 2209 | 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) | |
| 2210 | 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) | |
| 2211 | 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) | |
| 2212 | 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) | |
| 2213 | 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) | |
| 2214 | end | |
| 2215 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
| 2216 | Anim = "Fall" | |
| 2217 | if attack == false then | |
| 2218 | 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) | |
| 2219 | 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) | |
| 2220 | 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) | |
| 2221 | 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) | |
| 2222 | 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) | |
| 2223 | 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) | |
| 2224 | end | |
| 2225 | elseif torvel < 1 and hitfloor ~= nil then | |
| 2226 | Anim = "Idle" | |
| 2227 | change = .5 | |
| 2228 | if attack == false then | |
| 2229 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.05 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 2230 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 3)), Rad(-4.5 * Sin(sine / 3)), Rad(0)), 0.3) | |
| 2231 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 + 0.1 * Cos(sine / 3)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-5)), 0.15) | |
| 2232 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-87), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2233 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.05 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 2234 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 20* Player_Size), 0* Player_Size) * angles(Rad(-30 * Sin(sine / 10)), Rad(0), Rad(-5 - 4.5 * Sin(sine / 20))), 0.1) | |
| 2235 | end | |
| 2236 | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then | |
| 2237 | Anim = "Walk" | |
| 2238 | change = .9 | |
| 2239 | if attack == false then | |
| 2240 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15) | |
| 2241 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
| 2242 | RH.C0 = clerp(RH.C0, CF(1, -0.8 - 0.5 * Cos(sine / 7) / 2, 0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 2243 | LH.C0 = clerp(LH.C0, CF(-1, -0.8 + 0.5 * Cos(sine / 7) / 2, -0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 2244 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0) * angles(Rad(37) * Cos(sine / 7) , Rad(0), Rad(-.6) - ra.RotVelocity.Y / 75), 0.1) | |
| 2245 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0) * angles(Rad(-37) * Cos(sine / 7) , Rad(0) , Rad(.6) + la.RotVelocity.Y / 75), 0.1) | |
| 2246 | end | |
| 2247 | elseif torvel >= 25 and hitfloor ~= nil then | |
| 2248 | Anim = "Sprint" | |
| 2249 | change = 1.35 | |
| 2250 | if attack == false then | |
| 2251 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15) | |
| 2252 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
| 2253 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 2254 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 2255 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
| 2256 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15) | |
| 2257 | end | |
| 2258 | end | |
| 2259 | end | |
| 2260 | Music.SoundId = "rbxassetid://"..SONG | |
| 2261 | Music.Looped = true | |
| 2262 | Music.Pitch = 1 | |
| 2263 | Music.Volume = 5 | |
| 2264 | Music.Parent = tors | |
| 2265 | Music:Resume() | |
| 2266 | if 0 < #Effects then | |
| 2267 | for e = 1, #Effects do | |
| 2268 | if Effects[e] ~= nil then | |
| 2269 | local Thing = Effects[e] | |
| 2270 | if Thing ~= nil then | |
| 2271 | local Part = Thing[1] | |
| 2272 | local Mode = Thing[2] | |
| 2273 | local Delay = Thing[3] | |
| 2274 | local IncX = Thing[4] | |
| 2275 | local IncY = Thing[5] | |
| 2276 | local IncZ = Thing[6] | |
| 2277 | if 1 >= Thing[1].Transparency then | |
| 2278 | if Thing[2] == "Block1" then | |
| 2279 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2280 | local Mesh = Thing[1].Mesh | |
| 2281 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2282 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2283 | elseif Thing[2] == "Block2" then | |
| 2284 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
| 2285 | local Mesh = Thing[7] | |
| 2286 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2287 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2288 | elseif Thing[2] == "Block3" then | |
| 2289 | 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) | |
| 2290 | local Mesh = Thing[7] | |
| 2291 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2292 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2293 | elseif Thing[2] == "Cylinder" then | |
| 2294 | local Mesh = Thing[1].Mesh | |
| 2295 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2296 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2297 | elseif Thing[2] == "Blood" then | |
| 2298 | local Mesh = Thing[7] | |
| 2299 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
| 2300 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2301 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2302 | elseif Thing[2] == "Elec" then | |
| 2303 | local Mesh = Thing[1].Mesh | |
| 2304 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 2305 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2306 | elseif Thing[2] == "Disappear" then | |
| 2307 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2308 | elseif Thing[2] == "Shatter" then | |
| 2309 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2310 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 2311 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 2312 | Thing[6] = Thing[6] + Thing[5] | |
| 2313 | end | |
| 2314 | else | |
| 2315 | Part.Parent = nil | |
| 2316 | table.remove(Effects, e) | |
| 2317 | end | |
| 2318 | end | |
| 2319 | end | |
| 2320 | end | |
| 2321 | end | |
| 2322 | end | |
| 2323 | ------------------------------------------------------- | |
| 2324 | --End Animations And Script-- | |
| 2325 | ------------------------------------------------------- |