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 hoh = game:GetService"Players".LocalPlayer |
| 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 | - | mouse = hoh:GetMouse() |
| 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 | 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 | 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 | --SexyAnthroFemaleKeldeo | |
| 88 | wait(0.2) | |
| 89 | print("K-Keld!!!")
| |
| 90 | print("(B-Baka!!!)")
| |
| 91 | local hoh = owner | |
| 92 | local char = hoh.Character | |
| 93 | local Head = char.Head | |
| 94 | local LeftArm = char["Left Arm"] | |
| 95 | local RightArm = char["Right Arm"] | |
| 96 | local LeftLeg = char["Left Leg"] | |
| 97 | local RightLeg = char["Right Leg"] | |
| 98 | local cam = game.Workspace.CurrentCamera | |
| 99 | local RootPart = char.HumanoidRootPart | |
| 100 | local RootJoint = RootPart.RootJoint | |
| 101 | local Anim = "Idle" | |
| 102 | local idle = 0 | |
| 103 | local Effects = {}
| |
| 104 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 105 | local velocity = RootPart.Velocity.y | |
| 106 | local sine = 0 | |
| 107 | local change = 1 | |
| 108 | local grabbed = false | |
| 109 | local cn = CFrame.new | |
| 110 | local mr = math.rad | |
| 111 | local angles = CFrame.Angles | |
| 112 | local ud = UDim2.new | |
| 113 | local c3 = Color3.new | |
| 114 | local d = Instance.new('Model', char)
| |
| 115 | d.Name = "KKK" | |
| 116 | attack = false | |
| 117 | nak = false | |
| 118 | disable = false | |
| 119 | attacktype = 1 | |
| 120 | equipped = false | |
| 121 | char.Humanoid.Animator.Parent = nil | |
| 122 | char.Animate.Parent = nil | |
| 123 | local newMotor = function(part0, part1, c0, c1) | |
| 124 | local w = Instance.new("Motor", part0)
| |
| 125 | w.Part0 = part0 | |
| 126 | w.Part1 = part1 | |
| 127 | w.C0 = c0 | |
| 128 | w.C1 = c1 | |
| 129 | return w | |
| 130 | end | |
| 131 | clerp = function(a, b, t) | |
| 132 | ||
| 133 | return a:lerp(b, t) | |
| 134 | end | |
| 135 | ||
| 136 | for i,v in pairs(char:children()) do | |
| 137 | if v:IsA("Hat") then
| |
| 138 | v:Destroy() | |
| 139 | end | |
| 140 | for i,v in pairs(char:children()) do | |
| 141 | if v:IsA("Accessory") then
| |
| 142 | v:Destroy() | |
| 143 | end | |
| 144 | for i,v in pairs(char:children()) do | |
| 145 | if v:IsA("ShirtGraphic") then
| |
| 146 | v:Destroy() | |
| 147 | end | |
| 148 | end | |
| 149 | end | |
| 150 | end | |
| 151 | ||
| 152 | ypcall(function() | |
| 153 | char.Torso.roblox:Remove() | |
| 154 | char.Shirt:Destroy() | |
| 155 | char.Pants:Destroy() | |
| 156 | char.Head.face:Destroy() | |
| 157 | shirt = Instance.new("Shirt", char)
| |
| 158 | shirt.Name = "Shirt" | |
| 159 | Pants = Instance.new("Pants", char)
| |
| 160 | Pants.Name = "Pants" | |
| 161 | face = Instance.new("Decal", char.Head)
| |
| 162 | face.Name = "face" | |
| 163 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=115316811" | |
| 164 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=115316825" | |
| 165 | char.Head.face.Texture = "rbxassetid://648887959" | |
| 166 | end) | |
| 167 | function CreateSound(id, par, vol, pit) | |
| 168 | coroutine.resume(coroutine.create(function() | |
| 169 | local sou = Instance.new("Sound", par or workspace)
| |
| 170 | sou.Volume = vol | |
| 171 | sou.Pitch = pit or 1 | |
| 172 | sou.SoundId = id | |
| 173 | wait() | |
| 174 | sou:play() | |
| 175 | game:GetService("Debris"):AddItem(sou, 6)
| |
| 176 | end)) | |
| 177 | end | |
| 178 | New = function(Object, Parent, Name, Data) | |
| 179 | local Object = Instance.new(Object) | |
| 180 | for Index, Value in pairs(Data or {}) do
| |
| 181 | Object[Index] = Value | |
| 182 | end | |
| 183 | Object.Parent = Parent | |
| 184 | Object.Name = Name | |
| 185 | return Object | |
| 186 | end | |
| 187 | ||
| 188 | ||
| 189 | local co1 = 5 | |
| 190 | local co2 = 8 | |
| 191 | local co3 = 10 | |
| 192 | local co4 = 25 | |
| 193 | local cooldown1 = 0 | |
| 194 | local cooldown2 = 0 | |
| 195 | local cooldown3 = 0 | |
| 196 | local cooldown4 = 0 | |
| 197 | local skillcolorscheme = BrickColor.new("Navy blue").Color
| |
| 198 | local scrn = Instance.new("ScreenGui", hoh.PlayerGui)
| |
| 199 | makeframe = function(par, trans, pos, size, color) | |
| 200 | ||
| 201 | local frame = Instance.new("Frame", par)
| |
| 202 | frame.BackgroundTransparency = trans | |
| 203 | frame.BorderSizePixel = 0 | |
| 204 | frame.Position = pos | |
| 205 | frame.Size = size | |
| 206 | frame.BackgroundColor3 = color | |
| 207 | return frame | |
| 208 | end | |
| 209 | ||
| 210 | makelabel = function(par, text) | |
| 211 | ||
| 212 | local label = Instance.new("TextLabel", par)
| |
| 213 | label.BackgroundTransparency = 1 | |
| 214 | label.Size = UDim2.new(1, 0, 1, 0) | |
| 215 | label.Position = UDim2.new(0, 0, 0, 0) | |
| 216 | label.TextColor3 = Color3.new(255, 255, 0) | |
| 217 | label.TextStrokeTransparency = 0 | |
| 218 | label.FontSize = Enum.FontSize.Size32 | |
| 219 | label.Font = Enum.Font.SourceSansLight | |
| 220 | label.BorderSizePixel = 0 | |
| 221 | label.TextScaled = true | |
| 222 | label.Text = text | |
| 223 | end | |
| 224 | ||
| 225 | framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
| 226 | framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
| 227 | framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
| 228 | framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
| 229 | bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 230 | bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 231 | bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 232 | bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 233 | text1 = Instance.new("TextLabel", framesk1)
| |
| 234 | text1.BackgroundTransparency = 1 | |
| 235 | text1.Size = UDim2.new(1, 0, 1, 0) | |
| 236 | text1.Position = UDim2.new(0, 0, 0, 0) | |
| 237 | text1.TextColor3 = Color3.new(255, 255, 0) | |
| 238 | text1.TextStrokeTransparency = 0 | |
| 239 | text1.FontSize = Enum.FontSize.Size18 | |
| 240 | text1.Font = Enum.Font.SourceSansLight | |
| 241 | text1.BorderSizePixel = 0 | |
| 242 | text1.TextScaled = true | |
| 243 | text1.Text = "[Z]\n honk" | |
| 244 | text2 = Instance.new("TextLabel", framesk2)
| |
| 245 | text2.BackgroundTransparency = 1 | |
| 246 | text2.Size = UDim2.new(1, 0, 1, 0) | |
| 247 | text2.Position = UDim2.new(0, 0, 0, 0) | |
| 248 | text2.TextColor3 = Color3.new(255, 255, 0) | |
| 249 | text2.TextStrokeTransparency = 0 | |
| 250 | text2.FontSize = Enum.FontSize.Size18 | |
| 251 | text2.Font = Enum.Font.SourceSansLight | |
| 252 | text2.BorderSizePixel = 0 | |
| 253 | text2.TextScaled = true | |
| 254 | text2.Text = "[X]\n idk" | |
| 255 | text3 = Instance.new("TextLabel", framesk3)
| |
| 256 | text3.BackgroundTransparency = 1 | |
| 257 | text3.Size = UDim2.new(1, 0, 1, 0) | |
| 258 | text3.Position = UDim2.new(0, 0, 0, 0) | |
| 259 | text3.TextColor3 = Color3.new(255, 255, 0) | |
| 260 | text3.TextStrokeTransparency = 0 | |
| 261 | text3.FontSize = Enum.FontSize.Size18 | |
| 262 | text3.Font = Enum.Font.SourceSansLight | |
| 263 | text3.BorderSizePixel = 0 | |
| 264 | text3.TextScaled = false | |
| 265 | text3.Text = "[C]\n aaaaa" | |
| 266 | text4 = Instance.new("TextLabel", framesk4)
| |
| 267 | text4.BackgroundTransparency = 1 | |
| 268 | text4.Size = UDim2.new(1, 0, 1, 0) | |
| 269 | text4.Position = UDim2.new(0, 0, 0, 0) | |
| 270 | text4.TextColor3 = Color3.new(255, 255, 0) | |
| 271 | text4.TextStrokeTransparency = 0 | |
| 272 | text4.FontSize = Enum.FontSize.Size18 | |
| 273 | text4.Font = Enum.Font.SourceSansLight | |
| 274 | text4.BorderSizePixel = 0 | |
| 275 | text4.TextScaled = true | |
| 276 | text4.Text = "[V]\n kil me" | |
| 277 | ||
| 278 | ArtificialHB = Instance.new("BindableEvent", hoh.PlayerGui)
| |
| 279 | ArtificialHB.Name = "Heartbeat" | |
| 280 | hoh.PlayerGui:WaitForChild("Heartbeat")
| |
| 281 | frame = 0.033333333333333 | |
| 282 | tf = 0 | |
| 283 | allowframeloss = false | |
| 284 | tossremainder = false | |
| 285 | lastframe = tick() | |
| 286 | hoh.PlayerGui.Heartbeat:Fire() | |
| 287 | local gg = false | |
| 288 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 289 | ||
| 290 | if hoh.PlayerGui:FindFirstChild("Heartbeat") == nil then
| |
| 291 | gg = true | |
| 292 | end | |
| 293 | if gg == true then | |
| 294 | return | |
| 295 | end | |
| 296 | tf = tf + s | |
| 297 | if frame <= tf then | |
| 298 | if allowframeloss then | |
| 299 | hoh.PlayerGui.Heartbeat:Fire() | |
| 300 | lastframe = tick() | |
| 301 | else | |
| 302 | for i = 1, math.floor(tf / frame) do | |
| 303 | hoh.PlayerGui.Heartbeat:Fire() | |
| 304 | end | |
| 305 | lastframe = tick() | |
| 306 | end | |
| 307 | if tossremainder then | |
| 308 | tf = 0 | |
| 309 | else | |
| 310 | tf = tf - frame * math.floor(tf / frame) | |
| 311 | end | |
| 312 | end | |
| 313 | end | |
| 314 | ) | |
| 315 | swait = function(num) | |
| 316 | ||
| 317 | if num == 0 or num == nil then | |
| 318 | ArtificialHB.Event:wait() | |
| 319 | else | |
| 320 | for i = 0, num do | |
| 321 | ArtificialHB.Event:wait() | |
| 322 | end | |
| 323 | end | |
| 324 | end | |
| 325 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 326 | local Create = RbxUtility.Create | |
| 327 | RemoveOutlines = function(part) | |
| 328 | ||
| 329 | part.TopSurface = 10 | |
| 330 | end | |
| 331 | CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 332 | ||
| 333 | local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
| |
| 334 | RemoveOutlines(Part) | |
| 335 | return Part | |
| 336 | end | |
| 337 | ||
| 338 | CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 339 | ||
| 340 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
| |
| 341 | if Mesh == "SpecialMesh" then | |
| 342 | Msh.MeshType = MeshType | |
| 343 | Msh.MeshId = MeshId | |
| 344 | end | |
| 345 | return Msh | |
| 346 | end | |
| 347 | ||
| 348 | CreateWeld = function(Parent, Part0, Part1, C0, C1) | |
| 349 | ||
| 350 | local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
| |
| 351 | return Weld | |
| 352 | end | |
| 353 | ||
| 354 | CFuncs = {
| |
| 355 | Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
| |
| 356 | ||
| 357 | local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
| |
| 358 | RemoveOutlines(Part) | |
| 359 | return Part | |
| 360 | end | |
| 361 | } | |
| 362 | , | |
| 363 | Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
| |
| 364 | ||
| 365 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
| |
| 366 | if Mesh == "SpecialMesh" then | |
| 367 | Msh.MeshType = MeshType | |
| 368 | Msh.MeshId = MeshId | |
| 369 | end | |
| 370 | return Msh | |
| 371 | end | |
| 372 | } | |
| 373 | , | |
| 374 | Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
| |
| 375 | ||
| 376 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
| |
| 377 | if Mesh == "SpecialMesh" then | |
| 378 | Msh.MeshType = MeshType | |
| 379 | Msh.MeshId = MeshId | |
| 380 | end | |
| 381 | return Msh | |
| 382 | end | |
| 383 | } | |
| 384 | , | |
| 385 | Weld = {Create = function(Parent, Part0, Part1, C0, C1)
| |
| 386 | ||
| 387 | local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
| |
| 388 | return Weld | |
| 389 | end | |
| 390 | } | |
| 391 | , | |
| 392 | Sound = {Create = function(id, par, vol, pit)
| |
| 393 | ||
| 394 | coroutine.resume(coroutine.create(function() | |
| 395 | ||
| 396 | local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = id, Parent = par or workspace})
| |
| 397 | wait() | |
| 398 | S:play() | |
| 399 | game:GetService("Debris"):AddItem(S, 6)
| |
| 400 | end | |
| 401 | )) | |
| 402 | end | |
| 403 | } | |
| 404 | , | |
| 405 | ParticleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
| |
| 406 | ||
| 407 | local fp = Create("ParticleEmitter")({Parent = Parent, Color = ColorSequence.new(Color1, Color2), LightEmission = LightEmission, Size = Size, Texture = Texture, Transparency = Transparency, ZOffset = ZOffset, Acceleration = Accel, Drag = Drag, LockedToPart = LockedToPart, VelocityInheritance = VelocityInheritance, EmissionDirection = EmissionDirection, Enabled = Enabled, Lifetime = LifeTime, Rate = Rate, Rotation = Rotation, RotSpeed = RotSpeed, Speed = Speed, VelocitySpread = VelocitySpread})
| |
| 408 | return fp | |
| 409 | end | |
| 410 | } | |
| 411 | } | |
| 412 | ||
| 413 | ||
| 414 | ||
| 415 | rayCast = function(Position, Direction, Range, Ignore) | |
| 416 | ||
| 417 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 418 | end | |
| 419 | ||
| 420 | local GetNearest = function(obj, distance) | |
| 421 | ||
| 422 | local last, lastx = distance + 1, nil | |
| 423 | for i,v in pairs(workspace:GetChildren()) do | |
| 424 | if v:IsA("Model") and v ~= char and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
| |
| 425 | local t = v.Torso | |
| 426 | local dist = (t.Position - obj.Position).magnitude | |
| 427 | if dist <= distance and dist < last then | |
| 428 | last = dist | |
| 429 | lastx = v | |
| 430 | end | |
| 431 | end | |
| 432 | end | |
| 433 | return lastx | |
| 434 | end | |
| 435 | ||
| 436 | ||
| 437 | --0000000000 | |
| 438 | ||
| 439 | ||
| 440 | Tails = New("Model",char.Torso,"Tails",{})
| |
| 441 | mtail = New("Part",Tails,"mtail",{CanCollide=false,BrickColor = BrickColor.new("Cyan"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-1.42302597, -3.61390996, 8.38692474, 0.0672140047, 0.0109519754, -0.997678578, 0.98697412, 0.145758629, 0.0680928975, 0.146166012, -0.989259541, -0.00101229548),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0156863, 0.686275, 0.92549),})
| |
| 442 | Mesh = New("SpecialMesh",mtail,"Mesh",{Scale = Vector3.new(1.20000005, 1.20000005, 1.20000005),MeshId = "http://www.roblox.com/asset/?id=45914920",TextureId = "http://www.roblox.com/asset/?id=30805100",MeshType = Enum.MeshType.FileMesh,})
| |
| 443 | ||
| 444 | ||
| 445 | tail2 = New("Part",Tails,"tail2",{CanCollide=false,BrickColor = BrickColor.new("Cyan"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-1.87774014, -3.65164399, 10.508009, 0.0621499941, -0.492225349, -0.868246436, -0.991857767, -0.127346203, 0.00119674578, -0.111157, 0.861102402, -0.496131897),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0156863, 0.686275, 0.92549),})
| |
| 446 | Mesh = New("SpecialMesh",tail2,"Mesh",{Scale = Vector3.new(1.20000005, 1.20000005, 1.20000005),MeshId = "http://www.roblox.com/asset/?id=45914920",TextureId = "http://www.roblox.com/asset/?id=30805100",MeshType = Enum.MeshType.FileMesh,})
| |
| 447 | mot = New("Motor",tail2,"mot",{Part0 = tail2,Part1 = mtail,C0 = CFrame.new(0, 0, 0, 0.0621499792, -0.991857648, -0.111156963, -0.49222523, -0.127346203, 0.861102402, -0.868246317, 0.00119676662, -0.496131897),C1 = CFrame.new(0.242224693, -2.10878277, 0.448941946, 0.0672140047, 0.98697412, 0.146166012, 0.0109519754, 0.145758629, -0.989259541, -0.997678578, 0.0680928975, -0.00101229548),})
| |
| 448 | tail3 = New("Part",Tails,"tail3",{CanCollide=false,BrickColor = BrickColor.new("Cyan"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-1.36278105, -3.44611764, 10.5141935, -0.0674070194, -0.0105469851, -0.997670114, -0.987045109, -0.145215809, 0.0682243109, -0.145597041, 0.989343703, -0.000621788437),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0156863, 0.686275, 0.92549),})
| |
| 449 | Mesh = New("SpecialMesh",tail3,"Mesh",{Scale = Vector3.new(1.20000005, 1.20000005, 1.20000005),MeshId = "http://www.roblox.com/asset/?id=45914920",TextureId = "http://www.roblox.com/asset/?id=30805100",MeshType = Enum.MeshType.FileMesh,})
| |
| 450 | mot = New("Motor",tail3,"mot",{Part0 = tail3,Part1 = mtail,C0 = CFrame.new(0, 0, 0, -0.0674069971, -0.98704499, -0.145596996, -0.0105469869, -0.145215824, 0.989343762, -0.997669876, 0.0682243034, -0.000621788437),C1 = CFrame.new(0.480590343, -2.07930374, -0.0508329868, 0.0672140047, 0.98697412, 0.146166012, 0.0109519754, 0.145758629, -0.989259541, -0.997678578, 0.0680928975, -0.00101229548),})
| |
| 451 | tail4 = New("Part",Tails,"tail4",{CanCollide=false,BrickColor = BrickColor.new("Cyan"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-0.873167753, -3.6196084, 10.3337078, -0.0676049963, 0.86693728, -0.493811637, -0.99095875, -0.000854939222, 0.134165645, 0.11589092, 0.49841702, 0.859156311),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0156863, 0.686275, 0.92549),})
| |
| 452 | Mesh = New("SpecialMesh",tail4,"Mesh",{Scale = Vector3.new(1.20000005, 1.20000005, 1.20000005),MeshId = "http://www.roblox.com/asset/?id=45914920",TextureId = "http://www.roblox.com/asset/?id=30805100",MeshType = Enum.MeshType.FileMesh,})
| |
| 453 | mot = New("Motor",tail4,"mot",{Part0 = tail4,Part1 = mtail,C0 = CFrame.new(0, 0, 0, -0.0676049739, -0.990958631, 0.115890957, 0.866937101, -0.000854959479, 0.49841705, -0.493811488, 0.134165615, 0.85915643),C1 = CFrame.new(0.315887451, -1.92068291, -0.550940335, 0.0672140047, 0.98697412, 0.146166012, 0.0109519754, 0.145758629, -0.989259541, -0.997678578, 0.0680928975, -0.00101229548),})
| |
| 454 | tail7 = New("Part",Tails,"tail7",{CanCollide=false,BrickColor = BrickColor.new("Bright blue"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-1.42003298, -3.56003165, 9.35571957, -0.997690141, -0.0670850053, -0.0106997695, 0.0679280013, -0.987062156, -0.145238712, -0.000818001223, -0.145630032, 0.989338696),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0509804, 0.411765, 0.67451),})
| |
| 455 | Mesh = New("SpecialMesh",tail7,"Mesh",{Scale = Vector3.new(2, 2, 1),MeshId = "http://www.roblox.com/Asset/?id=9944765",MeshType = Enum.MeshType.FileMesh,})
| |
| 456 | mot = New("Motor",tail7,"mot",{Part0 = tail7,Part1 = mtail,C0 = CFrame.new(0, 0, 0, -0.997689903, 0.0679279938, -0.000817999884, -0.0670849904, -0.987062097, -0.145630017, -0.0106997695, -0.145238712, 0.989338756),C1 = CFrame.new(0.194982529, -0.950503349, -0.000298023224, 0.0672140047, 0.98697412, 0.146166012, 0.0109519754, 0.145758629, -0.989259541, -0.997678578, 0.0680928975, -0.00101229548),})
| |
| 457 | tail5 = New("Part",Tails,"tail5",{CanCollide=false,BrickColor = BrickColor.new("Bright blue"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-1.42003298, -3.56003165, 9.35571957, 0.997695327, -0.0670331419, 0.0105436333, -0.067854017, -0.987051308, 0.145347625, 0.000664000981, -0.145728037, -0.98932445),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0509804, 0.411765, 0.67451),})
| |
| 458 | Mesh = New("SpecialMesh",tail5,"Mesh",{Scale = Vector3.new(2, 2, 1),MeshId = "http://www.roblox.com/Asset/?id=9944765",MeshType = Enum.MeshType.FileMesh,})
| |
| 459 | mot = New("Motor",tail5,"mot",{Part0 = tail5,Part1 = mtail,C0 = CFrame.new(0, 0, 0, 0.997695088, -0.0678540096, 0.00066400005, -0.0670331195, -0.987051129, -0.145728022, 0.0105436323, 0.145347625, -0.98932451),C1 = CFrame.new(0.194982529, -0.950503349, -0.000298023224, 0.0672140047, 0.98697412, 0.146166012, 0.0109519754, 0.145758629, -0.989259541, -0.997678578, 0.0680928975, -0.00101229548),})
| |
| 460 | tail1 = New("Part",Tails,"tail1",{CanCollide=false,BrickColor = BrickColor.new("Cyan"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-1.35928905, -3.39504743, 10.441534, -0.0674070194, -0.0105469851, -0.997670114, -0.987045109, -0.145215809, 0.0682243109, -0.145597041, 0.989343703, -0.000621788437),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0156863, 0.686275, 0.92549),})
| |
| 461 | Mesh = New("SpecialMesh",tail1,"Mesh",{Scale = Vector3.new(1.39999998, 1.39999998, 1.39999998),MeshId = "http://www.roblox.com/asset/?id=45914920",TextureId = "http://www.roblox.com/asset/?id=30805100",MeshType = Enum.MeshType.FileMesh,})
| |
| 462 | mot = New("Motor",tail1,"mot",{Part0 = tail1,Part1 = mtail,C0 = CFrame.new(0, 0, 0, -0.0674069971, -0.98704499, -0.145596996, -0.0105469869, -0.145215824, 0.989343762, -0.997669876, 0.0682243034, -0.000621788437),C1 = CFrame.new(0.520609617, -1.99994278, -0.050765872, 0.0672140047, 0.98697412, 0.146166012, 0.0109519754, 0.145758629, -0.989259541, -0.997678578, 0.0680928975, -0.00101229548),})
| |
| 463 | tail6 = New("Part",Tails,"tail6",{CanCollide=false,BrickColor = BrickColor.new("Bright blue"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-1.42003298, -3.56003165, 9.35571957, 0.997692645, 0.0670578405, -0.0106370235, -0.0678920373, 0.987053931, -0.14531213, 0.000755001151, 0.145698979, 0.989328682),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0509804, 0.411765, 0.67451),})
| |
| 464 | Mesh = New("SpecialMesh",tail6,"Mesh",{Scale = Vector3.new(2, 2, 1),MeshId = "http://www.roblox.com/Asset/?id=9944765",MeshType = Enum.MeshType.FileMesh,})
| |
| 465 | mot = New("Motor",tail6,"mot",{Part0 = tail6,Part1 = mtail,C0 = CFrame.new(0, 0, 0, 0.997692466, -0.0678920299, 0.000755000336, 0.0670578256, 0.987053752, 0.145698965, -0.0106370226, -0.14531213, 0.989328742),C1 = CFrame.new(0.194982529, -0.950503349, -0.000298023224, 0.0672140047, 0.98697412, 0.146166012, 0.0109519754, 0.145758629, -0.989259541, -0.997678578, 0.0680928975, -0.00101229548),})
| |
| 466 | tail8 = New("Part",Tails,"tail8",{CanCollide=false,BrickColor = BrickColor.new("Bright blue"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-1.42003298, -3.56003165, 9.35571957, -0.997695744, 0.0670006797, 0.0107087214, 0.0678459853, 0.987050354, 0.14535743, -0.000830999808, 0.145749047, -0.989321232),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0509804, 0.411765, 0.67451),})
| |
| 467 | Mesh = New("SpecialMesh",tail8,"Mesh",{Scale = Vector3.new(2, 2, 1),MeshId = "http://www.roblox.com/Asset/?id=9944765",MeshType = Enum.MeshType.FileMesh,})
| |
| 468 | mot = New("Motor",tail8,"mot",{Part0 = tail8,Part1 = mtail,C0 = CFrame.new(0, 0, 0, -0.997695506, 0.0678459704, -0.000830999576, 0.0670006722, 0.987050235, 0.145749032, 0.0107087223, 0.14535746, -0.989321291),C1 = CFrame.new(0.194982529, -0.950503349, -0.000298023224, 0.0672140047, 0.98697412, 0.146166012, 0.0109519754, 0.145758629, -0.989259541, -0.997678578, 0.0680928975, -0.00101229548),})
| |
| 469 | ||
| 470 | --[[armweld = Instance.new("Weld", char.Torso)
| |
| 471 | armweld.C0 = CFrame.new(1.5, .5, 0) | |
| 472 | armweld.C1 = CFrame.new(0, .5, 0) | |
| 473 | armweld.Part0 = char.Torso | |
| 474 | armweld.Part1 = char["Right Arm"]] | |
| 475 | ||
| 476 | local Fhead = Instance.new("Part", char)
| |
| 477 | Fhead.Name = "a" | |
| 478 | Fhead.Size = Vector3.new(2, 1, 1) | |
| 479 | Fhead.Transparency = 1 | |
| 480 | Fhead.CanCollide = false | |
| 481 | M = Instance.new("SpecialMesh", Fhead)
| |
| 482 | M.Scale = Vector3.new(1.26,1.26,1.26) | |
| 483 | Das = Instance.new("Decal", Fhead)
| |
| 484 | Das.Texture = "rbxassetid://655939247" | |
| 485 | Das.Transparency = 1 | |
| 486 | ||
| 487 | local har = Instance.new("Part", char.Head)
| |
| 488 | har.BrickColor = BrickColor.new("New Yeller")
| |
| 489 | har.Name = "Hair" | |
| 490 | har.formFactor = 0 | |
| 491 | har.Size = Vector3.new(0,-0.25,0) | |
| 492 | har.BottomSurface = 0 | |
| 493 | har.TopSurface = 0 | |
| 494 | har.CanCollide = false | |
| 495 | Mesh = Instance.new("SpecialMesh",har)
| |
| 496 | Mesh.MeshId = "http://www.roblox.com/asset/?id=29713297" | |
| 497 | Mesh.Scale=Vector3.new(1, 1, 1) | |
| 498 | local bWeld = Instance.new("Weld", char.Head)
| |
| 499 | bWeld.Part0 = char.Head | |
| 500 | bWeld.Part1 = har | |
| 501 | bWeld.C1 = CFrame.new(0,.7,0) | |
| 502 | local har1 = Instance.new("Part", char.Head)
| |
| 503 | har1.BrickColor = BrickColor.new("Navy blue")
| |
| 504 | har1.Name = "Hair" | |
| 505 | har1.formFactor = 0 | |
| 506 | har1.Size = Vector3.new(0,-0.25,0) | |
| 507 | har1.BottomSurface = 0 | |
| 508 | har1.TopSurface = 0 | |
| 509 | har1.CanCollide = false | |
| 510 | Mesh = Instance.new("SpecialMesh",har1)
| |
| 511 | Mesh.MeshId = "http://www.roblox.com/asset/?id=29713297" | |
| 512 | Mesh.Scale=Vector3.new(.98, .98, .98) | |
| 513 | local bWeld = Instance.new("Weld", char.Head)
| |
| 514 | bWeld.Part0 = char.Head | |
| 515 | bWeld.Part1 = har1 | |
| 516 | bWeld.C1 = CFrame.new(0,.7,0) | |
| 517 | ||
| 518 | ||
| 519 | local Apron = Instance.new("Part", d)
| |
| 520 | Apron.Size = Vector3.new(2.01,2.4,.2) | |
| 521 | Apron.BrickColor = BrickColor.new("White")
| |
| 522 | Apron.TopSurface = "SmoothNoOutlines" | |
| 523 | Apron.BottomSurface = "SmoothNoOutlines" | |
| 524 | Apron.RightSurface = "SmoothNoOutlines" | |
| 525 | Apron.LeftSurface = "SmoothNoOutlines" | |
| 526 | Apron.TopSurface = "SmoothNoOutlines" | |
| 527 | Apron.BottomSurface = "SmoothNoOutlines" | |
| 528 | Apron.Material = "SmoothPlastic" | |
| 529 | Apron.FormFactor = 'Custom' | |
| 530 | Apron.CanCollide = false | |
| 531 | M = Instance.new("BlockMesh", Apron)
| |
| 532 | M.Scale = Vector3.new(1,1,.5) | |
| 533 | local A1 = Instance.new("Part", d)
| |
| 534 | A1.Size = Vector3.new(.1,1,.1) | |
| 535 | A1.BrickColor = BrickColor.new("White")
| |
| 536 | A1.TopSurface = "SmoothNoOutlines" | |
| 537 | A1.BottomSurface = "SmoothNoOutlines" | |
| 538 | A1.RightSurface = "SmoothNoOutlines" | |
| 539 | A1.LeftSurface = "SmoothNoOutlines" | |
| 540 | A1.TopSurface = "SmoothNoOutlines" | |
| 541 | A1.BottomSurface = "SmoothNoOutlines" | |
| 542 | A1.Material = "SmoothPlastic" | |
| 543 | A1.FormFactor = 'Custom' | |
| 544 | A1.CanCollide = false | |
| 545 | local A2 = Instance.new("Part", d)
| |
| 546 | A2.Size = Vector3.new(.1,1,.1) | |
| 547 | A2.BrickColor = BrickColor.new("White")
| |
| 548 | A2.TopSurface = "SmoothNoOutlines" | |
| 549 | A2.BottomSurface = "SmoothNoOutlines" | |
| 550 | A2.RightSurface = "SmoothNoOutlines" | |
| 551 | A2.LeftSurface = "SmoothNoOutlines" | |
| 552 | A2.TopSurface = "SmoothNoOutlines" | |
| 553 | A2.BottomSurface = "SmoothNoOutlines" | |
| 554 | A2.Material = "SmoothPlastic" | |
| 555 | A2.FormFactor = 'Custom' | |
| 556 | A2.CanCollide = false | |
| 557 | local A3 = Instance.new("Part", d)
| |
| 558 | A3.Size = Vector3.new(1.4,.1,.1) | |
| 559 | A3.BrickColor = BrickColor.new("White")
| |
| 560 | A3.TopSurface = "SmoothNoOutlines" | |
| 561 | A3.BottomSurface = "SmoothNoOutlines" | |
| 562 | A3.RightSurface = "SmoothNoOutlines" | |
| 563 | A3.LeftSurface = "SmoothNoOutlines" | |
| 564 | A3.TopSurface = "SmoothNoOutlines" | |
| 565 | A3.BottomSurface = "SmoothNoOutlines" | |
| 566 | A3.Material = "SmoothPlastic" | |
| 567 | A3.FormFactor = 'Custom' | |
| 568 | A3.CanCollide = false | |
| 569 | local A4 = Instance.new("Part", d)
| |
| 570 | A4.Size = Vector3.new(.1,.1,1) | |
| 571 | A4.BrickColor = BrickColor.new("White")
| |
| 572 | A4.TopSurface = "SmoothNoOutlines" | |
| 573 | A4.BottomSurface = "SmoothNoOutlines" | |
| 574 | A4.RightSurface = "SmoothNoOutlines" | |
| 575 | A4.LeftSurface = "SmoothNoOutlines" | |
| 576 | A4.TopSurface = "SmoothNoOutlines" | |
| 577 | A4.BottomSurface = "SmoothNoOutlines" | |
| 578 | A4.Material = "SmoothPlastic" | |
| 579 | A4.FormFactor = 'Custom' | |
| 580 | A4.CanCollide = false | |
| 581 | local A5 = Instance.new("Part", d)
| |
| 582 | A5.Size = Vector3.new(.1,.1,1) | |
| 583 | A5.BrickColor = BrickColor.new("White")
| |
| 584 | A5.TopSurface = "SmoothNoOutlines" | |
| 585 | A5.BottomSurface = "SmoothNoOutlines" | |
| 586 | A5.RightSurface = "SmoothNoOutlines" | |
| 587 | A5.LeftSurface = "SmoothNoOutlines" | |
| 588 | A5.TopSurface = "SmoothNoOutlines" | |
| 589 | A5.BottomSurface = "SmoothNoOutlines" | |
| 590 | A5.Material = "SmoothPlastic" | |
| 591 | A5.FormFactor = 'Custom' | |
| 592 | A5.CanCollide = false | |
| 593 | local A6 = Instance.new("Part", d)
| |
| 594 | A6.Size = Vector3.new(1.4,.1,.1) | |
| 595 | A6.BrickColor = BrickColor.new("White")
| |
| 596 | A6.TopSurface = "SmoothNoOutlines" | |
| 597 | A6.BottomSurface = "SmoothNoOutlines" | |
| 598 | A6.RightSurface = "SmoothNoOutlines" | |
| 599 | A6.LeftSurface = "SmoothNoOutlines" | |
| 600 | A6.TopSurface = "SmoothNoOutlines" | |
| 601 | A6.BottomSurface = "SmoothNoOutlines" | |
| 602 | A6.Material = "SmoothPlastic" | |
| 603 | A6.FormFactor = 'Custom' | |
| 604 | A6.CanCollide = false | |
| 605 | local A7 = Instance.new("Part", d)
| |
| 606 | A7.Size = Vector3.new(2.02, .1, 1.02) | |
| 607 | A7.BrickColor = BrickColor.new("White")
| |
| 608 | A7.TopSurface = "SmoothNoOutlines" | |
| 609 | A7.BottomSurface = "SmoothNoOutlines" | |
| 610 | A7.RightSurface = "SmoothNoOutlines" | |
| 611 | A7.LeftSurface = "SmoothNoOutlines" | |
| 612 | A7.TopSurface = "SmoothNoOutlines" | |
| 613 | A7.BottomSurface = "SmoothNoOutlines" | |
| 614 | A7.Material = "SmoothPlastic" | |
| 615 | A7.FormFactor = 'Custom' | |
| 616 | A7.CanCollide = false | |
| 617 | local A8 = Instance.new("Part", d)
| |
| 618 | A8.Size = Vector3.new(.1, .1, .1) | |
| 619 | A8.BrickColor = BrickColor.new("White")
| |
| 620 | A8.TopSurface = "SmoothNoOutlines" | |
| 621 | A8.BottomSurface = "SmoothNoOutlines" | |
| 622 | A8.RightSurface = "SmoothNoOutlines" | |
| 623 | A8.LeftSurface = "SmoothNoOutlines" | |
| 624 | A8.TopSurface = "SmoothNoOutlines" | |
| 625 | A8.BottomSurface = "SmoothNoOutlines" | |
| 626 | A8.Material = "SmoothPlastic" | |
| 627 | A8.FormFactor = 'Custom' | |
| 628 | A8.CanCollide = false | |
| 629 | Mesh = Instance.new("SpecialMesh",A8)
| |
| 630 | Mesh.MeshId = "http://www.roblox.com/asset/?id=136785734" | |
| 631 | Mesh.Scale=Vector3.new(2, 2, 2) | |
| 632 | local A9 = Instance.new("Part", d)
| |
| 633 | A9.Size = Vector3.new(.1, .1, .1) | |
| 634 | A9.BrickColor = BrickColor.new("White")
| |
| 635 | A9.TopSurface = "SmoothNoOutlines" | |
| 636 | A9.BottomSurface = "SmoothNoOutlines" | |
| 637 | A9.RightSurface = "SmoothNoOutlines" | |
| 638 | A9.LeftSurface = "SmoothNoOutlines" | |
| 639 | A9.TopSurface = "SmoothNoOutlines" | |
| 640 | A9.BottomSurface = "SmoothNoOutlines" | |
| 641 | A9.Material = "SmoothPlastic" | |
| 642 | A9.FormFactor = 'Custom' | |
| 643 | A9.CanCollide = false | |
| 644 | Mesh = Instance.new("SpecialMesh",A9)
| |
| 645 | Mesh.MeshId = "http://www.roblox.com/asset/?id=136785734" | |
| 646 | Mesh.Scale=Vector3.new(2, 2, 2) | |
| 647 | local da = Instance.new("Part", d)
| |
| 648 | da.Size = Vector3.new(.1, .1, .1) | |
| 649 | da.BrickColor = BrickColor.new("New Yeller")
| |
| 650 | da.TopSurface = "SmoothNoOutlines" | |
| 651 | da.BottomSurface = "SmoothNoOutlines" | |
| 652 | da.RightSurface = "SmoothNoOutlines" | |
| 653 | da.LeftSurface = "SmoothNoOutlines" | |
| 654 | da.TopSurface = "SmoothNoOutlines" | |
| 655 | da.BottomSurface = "SmoothNoOutlines" | |
| 656 | da.Material = "SmoothPlastic" | |
| 657 | da.FormFactor = 'Custom' | |
| 658 | da.CanCollide = false | |
| 659 | Mesh = Instance.new("SpecialMesh",da)
| |
| 660 | Mesh.MeshId = "http://www.roblox.com/asset/?id=502406430" | |
| 661 | Mesh.Scale=Vector3.new(.95, 1, 0.6) | |
| 662 | local da1 = Instance.new("Part", d)
| |
| 663 | da1.Size = Vector3.new(.1, .1, .1) | |
| 664 | da1.BrickColor = BrickColor.new("Navy blue")
| |
| 665 | da1.TopSurface = "SmoothNoOutlines" | |
| 666 | da1.BottomSurface = "SmoothNoOutlines" | |
| 667 | da1.RightSurface = "SmoothNoOutlines" | |
| 668 | da1.LeftSurface = "SmoothNoOutlines" | |
| 669 | da1.TopSurface = "SmoothNoOutlines" | |
| 670 | da1.BottomSurface = "SmoothNoOutlines" | |
| 671 | da1.Material = "SmoothPlastic" | |
| 672 | da1.FormFactor = 'Custom' | |
| 673 | da1.CanCollide = false | |
| 674 | Mesh = Instance.new("SpecialMesh",da1)
| |
| 675 | Mesh.MeshId = "http://www.roblox.com/asset/?id=502406430" | |
| 676 | Mesh.Scale=Vector3.new(1.05, 1.1, 0.5) | |
| 677 | ||
| 678 | local main = Instance.new("Part", char.Torso)
| |
| 679 | main.Size = Vector3.new(.1, .1, .1) | |
| 680 | main.BrickColor = BrickColor.new("White")
| |
| 681 | main.TopSurface = "SmoothNoOutlines" | |
| 682 | main.Name = "asd" | |
| 683 | main.Transparency = 1 | |
| 684 | main.CanCollide = false | |
| 685 | ||
| 686 | local Handle = Instance.new("Part",d)
| |
| 687 | Handle.Size = Vector3.new(0.3, 1.8, 3) | |
| 688 | Handle.Name = "Pan" | |
| 689 | Handle:BreakJoints() | |
| 690 | Handle.Anchored = false | |
| 691 | Handle.Transparency = 1 | |
| 692 | Handle.CanCollide = false | |
| 693 | Handle.Shape = "Block" | |
| 694 | Handle.TopSurface = "SmoothNoOutlines" | |
| 695 | Handle.BottomSurface = "SmoothNoOutlines" | |
| 696 | ddd = Instance.new("SpecialMesh",Handle)
| |
| 697 | ddd.Scale=Vector3.new(2, 2, 2) | |
| 698 | ddd.MeshId = "http://www.roblox.com/asset/?id=24342877" | |
| 699 | ddd.TextureId = "http://www.roblox.com/asset/?id=24342832" | |
| 700 | local Hitbox = Instance.new("Part",d)
| |
| 701 | Hitbox.Size = Vector3.new(0.3, 1.8, 3) | |
| 702 | Hitbox.Name = "Hitbox" | |
| 703 | Hitbox:BreakJoints() | |
| 704 | Hitbox.Anchored = false | |
| 705 | Hitbox.Transparency = 1 | |
| 706 | Hitbox.CanCollide = false | |
| 707 | Hitbox.Shape = "Block" | |
| 708 | Hitbox.TopSurface = "SmoothNoOutlines" | |
| 709 | Hitbox.BottomSurface = "SmoothNoOutlines" | |
| 710 | ddd = Instance.new("SpecialMesh",Handle)
| |
| 711 | ddd.Scale=Vector3.new(2, 2, 2) | |
| 712 | ddd.MeshId = "http://www.roblox.com/asset/?id=24342877" | |
| 713 | ddd.TextureId = "http://www.roblox.com/asset/?id=24342832" | |
| 714 | local FakeHandle = Instance.new("Part",d)
| |
| 715 | FakeHandle.Size = Vector3.new(0.3, 1.8, 3) | |
| 716 | FakeHandle.Name = "FakeHandle" | |
| 717 | FakeHandle:BreakJoints() | |
| 718 | FakeHandle.Anchored = false | |
| 719 | FakeHandle.Transparency = 1 | |
| 720 | FakeHandle.CanCollide = false | |
| 721 | FakeHandle.Shape = "Block" | |
| 722 | FakeHandle.TopSurface = "SmoothNoOutlines" | |
| 723 | FakeHandle.BottomSurface = "SmoothNoOutlines" | |
| 724 | ddd = Instance.new("SpecialMesh",FakeHandle)
| |
| 725 | ddd.Scale=Vector3.new(2, 2, 2) | |
| 726 | ddd.MeshId = "http://www.roblox.com/asset/?id=24342877" | |
| 727 | ddd.TextureId = "http://www.roblox.com/asset/?id=24342832" | |
| 728 | ||
| 729 | ||
| 730 | ||
| 731 | local aWeld = Instance.new("Weld", char.Head)
| |
| 732 | aWeld.Part0 = char.Head | |
| 733 | aWeld.Part1 = Fhead | |
| 734 | local aWeld = Instance.new("Weld", char.Torso)
| |
| 735 | aWeld.Part0 = char.Torso | |
| 736 | aWeld.Part1 = Apron | |
| 737 | aWeld.C1 = CFrame.new(0,1.2,.5) | |
| 738 | local aWeld = Instance.new("Weld", char.Torso)
| |
| 739 | aWeld.Part0 = char.Torso | |
| 740 | aWeld.Part1 = A1 | |
| 741 | aWeld.C1 = CFrame.new(.5,-.5,.5) | |
| 742 | local aWeld = Instance.new("Weld", char.Torso)
| |
| 743 | aWeld.Part0 = char.Torso | |
| 744 | aWeld.Part1 = A2 | |
| 745 | aWeld.C1 = CFrame.new(-.5,-.5,.5) | |
| 746 | local aWeld = Instance.new("Weld", char.Torso)
| |
| 747 | aWeld.Part0 = char.Torso | |
| 748 | aWeld.Part1 = A3 | |
| 749 | aWeld.C1 = CFrame.new(0,-1,.5) | |
| 750 | local aWeld = Instance.new("Weld", char.Torso)
| |
| 751 | aWeld.Part0 = char.Torso | |
| 752 | aWeld.Part1 = A4 | |
| 753 | aWeld.C1 = CFrame.new(.6,-1,0) | |
| 754 | local aWeld = Instance.new("Weld", char.Torso)
| |
| 755 | aWeld.Part0 = char.Torso | |
| 756 | aWeld.Part1 = A5 | |
| 757 | aWeld.C1 = CFrame.new(-.6,-1,0) | |
| 758 | local aWeld = Instance.new("Weld", char.Torso)
| |
| 759 | aWeld.Part0 = char.Torso | |
| 760 | aWeld.Part1 = A6 | |
| 761 | aWeld.C1 = CFrame.new(0,-1,-.42) | |
| 762 | local aWeld = Instance.new("Weld", char.Torso)
| |
| 763 | aWeld.Part0 = char.Torso | |
| 764 | aWeld.Part1 = A7 | |
| 765 | aWeld.C1 = CFrame.new(0,.6,0) | |
| 766 | local aWeld = Instance.new("Weld", char.Torso)
| |
| 767 | aWeld.Part0 = char.Torso | |
| 768 | aWeld.Part1 = A8 | |
| 769 | aWeld.C1 = CFrame.new(0,-1,-.55) | |
| 770 | local aWeld = Instance.new("Weld", char.Torso)
| |
| 771 | aWeld.Part0 = char.Torso | |
| 772 | aWeld.Part1 = A9 | |
| 773 | aWeld.C1 = CFrame.new(0,.6,-.55) | |
| 774 | local aWeld = Instance.new("Weld", char.Torso)
| |
| 775 | aWeld.Part0 = char.Torso | |
| 776 | aWeld.Part1 = da | |
| 777 | aWeld.C1 = CFrame.new(0,.2,.5) | |
| 778 | local aWeld = Instance.new("Weld", char.Torso)
| |
| 779 | aWeld.Part0 = char.Torso | |
| 780 | aWeld.Part1 = da1 | |
| 781 | aWeld.C1 = CFrame.new(0,.2,.5) | |
| 782 | ||
| 783 | Weld = Instance.new("Weld",Handle)
| |
| 784 | Weld.Part0 = Weld.Parent | |
| 785 | Weld.Part1 = FakeHandle | |
| 786 | Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,-math.rad(0)) | |
| 787 | Weld = Instance.new("Weld",Hitbox)
| |
| 788 | Weld.Part0 = Weld.Parent | |
| 789 | Weld.Part1 = FakeHandle | |
| 790 | Weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,-math.rad(0)) | |
| 791 | FakeHandleWeld = Instance.new("Weld",FakeHandle)
| |
| 792 | FakeHandleWeld.Part0 = FakeHandle | |
| 793 | FakeHandleWeld.Part1 = char["Right Arm"] | |
| 794 | FakeHandleWeld.C0 = CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)) | |
| 795 | ||
| 796 | ||
| 797 | local manWeld = Instance.new("Weld", char.Torso)
| |
| 798 | manWeld.Part0 = char.Torso | |
| 799 | manWeld.Part1 = main | |
| 800 | manWeld.C1 = CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90),math.rad(40),-math.rad(90)) | |
| 801 | manWeld.C0 = CFrame.new(0,-0.4,0)--*CFrame.Angles(math.rad(90),0,0) | |
| 802 | ||
| 803 | local cWeld = Instance.new("Weld", char.Torso)
| |
| 804 | cWeld.Part0 = main | |
| 805 | cWeld.Part1 = mtail | |
| 806 | --cWeld.C1 = CFrame.new(0,0,0)*CFrame.angles(0,0,0) | |
| 807 | ----- | |
| 808 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 809 | NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 810 | local RW = newMotor(char.Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 811 | local LW = newMotor(char.Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 812 | local RH = newMotor(char.Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 813 | local LH = newMotor(char.Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 814 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
| 815 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
| 816 | char.Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
| 817 | char.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
| 818 | local rarmc1 = RW.C1 | |
| 819 | local larmc1 = LW.C1 | |
| 820 | local rlegc1 = RH.C1 | |
| 821 | local llegc1 = LH.C1 | |
| 822 | local resetc1 = false | |
| 823 | PlayAnimationFromTable = function(table, speed, bool) | |
| 824 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
| 825 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, table[2], speed) | |
| 826 | RW.C0 = clerp(RW.C0, table[3], speed) | |
| 827 | LW.C0 = clerp(LW.C0, table[4], speed) | |
| 828 | RH.C0 = clerp(RH.C0, table[5], speed) | |
| 829 | LH.C0 = clerp(LH.C0, table[6], speed) | |
| 830 | if bool == true and resetc1 == false then | |
| 831 | resetc1 = true | |
| 832 | RootJoint.C1 = RootJoint.C1 | |
| 833 | char.Torso.Neck.C1 = char.Torso.Neck.C1 | |
| 834 | RW.C1 = rarmc1 | |
| 835 | LW.C1 = larmc1 | |
| 836 | RH.C1 = rlegc1 | |
| 837 | LH.C1 = llegc1 | |
| 838 | end | |
| 839 | end | |
| 840 | ||
| 841 | -- | |
| 842 | Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 843 | ||
| 844 | if hit.Parent == nil then | |
| 845 | return | |
| 846 | end | |
| 847 | local h = hit.Parent:FindFirstChild("Humanoid")
| |
| 848 | for _,v in pairs(hit.Parent:children()) do | |
| 849 | if v:IsA("Humanoid") then
| |
| 850 | h = v | |
| 851 | end | |
| 852 | end | |
| 853 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 854 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
| |
| 855 | return | |
| 856 | end | |
| 857 | local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
| |
| 858 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 859 | if HitSound ~= nil and HitPitch ~= nil then | |
| 860 | CreateSound(HitSound, hit, 1, HitPitch) | |
| 861 | end | |
| 862 | local Damage = math.random(minim, maxim) | |
| 863 | local blocked = false | |
| 864 | local block = hit.Parent:findFirstChild("Block")
| |
| 865 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
| 866 | blocked = true | |
| 867 | block.Value = block.Value - 1 | |
| 868 | print(block.Value) | |
| 869 | end | |
| 870 | if blocked == false then | |
| 871 | h.Health = h.Health - Damage | |
| 872 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 873 | else | |
| 874 | h.Health = h.Health - Damage / 2 | |
| 875 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 876 | end | |
| 877 | if Type == "Knockdown" then | |
| 878 | local hum = hit.Parent.Humanoid | |
| 879 | hum.PlatformStand = true | |
| 880 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 881 | ||
| 882 | swait(1) | |
| 883 | HHumanoid.PlatformStand = false | |
| 884 | end | |
| 885 | ), hum) | |
| 886 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
| 887 | local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
| |
| 888 | local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
| |
| 889 | game:GetService("Debris"):AddItem(bodvol, 0.5)
| |
| 890 | game:GetService("Debris"):AddItem(rl, 0.5)
| |
| 891 | elseif Type == "Normal" then | |
| 892 | local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
| |
| 893 | if knockback > 0 then | |
| 894 | vp.Parent = hit.Parent.Torso | |
| 895 | end | |
| 896 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 897 | elseif Type == "Up" then | |
| 898 | local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
| |
| 899 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 900 | local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
| |
| 901 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 902 | elseif Type == "Snare" then | |
| 903 | local bp = Create("BodyPosition")({P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
| |
| 904 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 905 | elseif Type == "Freeze" then | |
| 906 | local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
| |
| 907 | local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
| |
| 908 | hit.Parent.Torso.Anchored = true | |
| 909 | coroutine.resume(coroutine.create(function(Part) | |
| 910 | ||
| 911 | swait(1.5) | |
| 912 | Part.Anchored = false | |
| 913 | end | |
| 914 | ), hit.Parent.Torso) | |
| 915 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 916 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 917 | end | |
| 918 | local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
| |
| 919 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 920 | c = Instance.new("ObjectValue")
| |
| 921 | c.Name = "creator" | |
| 922 | c.Value = hoh | |
| 923 | c.Parent = h | |
| 924 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 925 | end | |
| 926 | end | |
| 927 | ||
| 928 | ShowDamage = function(Pos, Text, Time, Color) | |
| 929 | ||
| 930 | local Rate = 0.033333333333333 | |
| 931 | if not Pos then | |
| 932 | local Pos = Vector3.new(0, 0, 0) | |
| 933 | end | |
| 934 | local Text = Text or "" | |
| 935 | local Time = Time or 2 | |
| 936 | if not Color then | |
| 937 | local Color = Color3.new(1, 1, 0) | |
| 938 | end | |
| 939 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 940 | EffectPart.Anchored = true | |
| 941 | local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
| |
| 942 | local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
| |
| 943 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
| 944 | EffectPart.Parent = game:GetService("Workspace")
| |
| 945 | delay(0, function() | |
| 946 | ||
| 947 | local Frames = Time / Rate | |
| 948 | for Frame = 1, Frames do | |
| 949 | wait(Rate) | |
| 950 | local Percent = Frame / Frames | |
| 951 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 952 | TextLabel.TextTransparency = Percent | |
| 953 | end | |
| 954 | if EffectPart and EffectPart.Parent then | |
| 955 | EffectPart:Destroy() | |
| 956 | end | |
| 957 | end | |
| 958 | ) | |
| 959 | end | |
| 960 | ||
| 961 | MagniDamage = function(Part, magni, mindam, maxdam, knock, Type) | |
| 962 | ||
| 963 | for _,c in pairs(workspace:children()) do | |
| 964 | local hum = c:findFirstChild("Humanoid")
| |
| 965 | if hum ~= nil then | |
| 966 | local head = c:findFirstChild("Torso")
| |
| 967 | if head ~= nil then | |
| 968 | local targ = head.Position - Part.Position | |
| 969 | local mag = targ.magnitude | |
| 970 | if mag <= magni and c.Name ~= hoh.Name then | |
| 971 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1) | |
| 972 | end | |
| 973 | end | |
| 974 | end | |
| 975 | end | |
| 976 | end | |
| 977 | ||
| 978 | EffectModel = Instance.new("Model", char)
| |
| 979 | EffectModel.Name = "Effects" | |
| 980 | Effects = {
| |
| 981 | Block = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
| |
| 982 | ||
| 983 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 984 | prt.Anchored = true | |
| 985 | prt.CFrame = cframe | |
| 986 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 987 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 988 | if Type == 1 or Type == nil then | |
| 989 | table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
| |
| 990 | else | |
| 991 | if Type == 2 then | |
| 992 | table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
| |
| 993 | end | |
| 994 | end | |
| 995 | end | |
| 996 | } | |
| 997 | , | |
| 998 | Sphere = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
| |
| 999 | ||
| 1000 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1001 | prt.Anchored = true | |
| 1002 | prt.CFrame = cframe | |
| 1003 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1004 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1005 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 1006 | end | |
| 1007 | } | |
| 1008 | , | |
| 1009 | Cylinder = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
| |
| 1010 | ||
| 1011 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1012 | prt.Anchored = true | |
| 1013 | prt.CFrame = cframe | |
| 1014 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1015 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1016 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 1017 | end | |
| 1018 | } | |
| 1019 | , | |
| 1020 | Wave = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
| |
| 1021 | ||
| 1022 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1023 | prt.Anchored = true | |
| 1024 | prt.CFrame = cframe | |
| 1025 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1026 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1027 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 1028 | end | |
| 1029 | } | |
| 1030 | , | |
| 1031 | Ring = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
| |
| 1032 | ||
| 1033 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1034 | prt.Anchored = true | |
| 1035 | prt.CFrame = cframe | |
| 1036 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1037 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1038 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
| |
| 1039 | end | |
| 1040 | } | |
| 1041 | , | |
| 1042 | Break = {Create = function(brickcolor, cframe, x1, y1, z1)
| |
| 1043 | ||
| 1044 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 1045 | prt.Anchored = true | |
| 1046 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1047 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1048 | local num = math.random(10, 50) / 1000 | |
| 1049 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1050 | table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
| |
| 1051 | end | |
| 1052 | } | |
| 1053 | } | |
| 1054 | BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 1055 | ||
| 1056 | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1057 | prt.Anchored = true | |
| 1058 | prt.CFrame = cframe | |
| 1059 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1060 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1061 | if Type == 1 or Type == nil then | |
| 1062 | table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
| |
| 1063 | else | |
| 1064 | if Type == 2 then | |
| 1065 | table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
| |
| 1066 | end | |
| 1067 | end | |
| 1068 | end | |
| 1069 | Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1070 | ||
| 1071 | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 1072 | prt.Anchored = true | |
| 1073 | prt.CFrame = cframe | |
| 1074 | prt.Material = "Neon" | |
| 1075 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1076 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1077 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1078 | ||
| 1079 | for i = 0, 1, delay do | |
| 1080 | swait() | |
| 1081 | Part.Transparency = i | |
| 1082 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
| 1083 | end | |
| 1084 | Part.Parent = nil | |
| 1085 | end | |
| 1086 | ), prt, msh) | |
| 1087 | end | |
| 1088 | ||
| 1089 | shoottraildd = function(mouse, partt, SpreadAmount) | |
| 1090 | ||
| 1091 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
| 1092 | local MainPos = partt.Position | |
| 1093 | local MainPos2 = mouse.Hit.p + SpreadVectors | |
| 1094 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
| 1095 | local speed = 15 | |
| 1096 | local num = 20 | |
| 1097 | coroutine.resume(coroutine.create(function() | |
| 1098 | ||
| 1099 | repeat | |
| 1100 | swait() | |
| 1101 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
| 1102 | local mag = (MainPos - pos).magnitude | |
| 1103 | Laser(BrickColor.new("Bright red"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.175, 0, -0.175, 0.15)
| |
| 1104 | MainPos = MainPos + MouseLook.lookVector * speed | |
| 1105 | num = num - 1 | |
| 1106 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
| 1107 | if hit ~= nil then | |
| 1108 | num = 0 | |
| 1109 | local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
| |
| 1110 | refpart.Anchored = true | |
| 1111 | refpart.CFrame = CFrame.new(pos) | |
| 1112 | game:GetService("Debris"):AddItem(refpart, 2)
| |
| 1113 | end | |
| 1114 | do | |
| 1115 | if num <= 0 then | |
| 1116 | local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
| |
| 1117 | refpart.Anchored = true | |
| 1118 | refpart.CFrame = CFrame.new(pos) | |
| 1119 | if hit ~= nil then | |
| 1120 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
| |
| 1121 | BlockEffect(BrickColor.new("Br. yellowish orange"), refpart.CFrame, 1, 1, 1, 10, 10, 10, 0.05)
| |
| 1122 | BlockEffect(BrickColor.new("Bright red"), refpart.CFrame, 1, 1, 1, 10, 10, 10, 0.07)
| |
| 1123 | MagniDamage(refpart, 15, 10, 15, 0, "Normal") | |
| 1124 | end | |
| 1125 | game:GetService("Debris"):AddItem(refpart, 0)
| |
| 1126 | end | |
| 1127 | end | |
| 1128 | until num <= 0 | |
| 1129 | end | |
| 1130 | )) | |
| 1131 | end | |
| 1132 | ||
| 1133 | ----- | |
| 1134 | function AppearDisappear() | |
| 1135 | local ez = Instance.new("Part",char)
| |
| 1136 | ez.Size = Vector3.new(1,1,1) | |
| 1137 | ez.Name = "a" | |
| 1138 | ez:BreakJoints() | |
| 1139 | ez.Anchored = false | |
| 1140 | ez.Transparency = 0 | |
| 1141 | ez.CanCollide = false | |
| 1142 | ez.Shape = "Block" | |
| 1143 | ez.Material='Neon' | |
| 1144 | ez.TopSurface = "SmoothNoOutlines" | |
| 1145 | ez.BottomSurface = "SmoothNoOutlines" | |
| 1146 | ez.BrickColor = BrickColor.new("White")
| |
| 1147 | ddd = Instance.new("SpecialMesh",ez)
| |
| 1148 | ddd.MeshType="Sphere" | |
| 1149 | ddd.Scale=Vector3.new(6,6,6) | |
| 1150 | Weld = Instance.new("Weld",ez)
| |
| 1151 | Weld.Part0 = Weld.Parent | |
| 1152 | Weld.Part1 = char.Torso | |
| 1153 | for a = 0, 1, .05 do | |
| 1154 | ddd.Scale = ddd.Scale + Vector3.new(.5, .5, .5) | |
| 1155 | ez.Transparency = ez.Transparency + .1 | |
| 1156 | wait() | |
| 1157 | end | |
| 1158 | ez:Remove() | |
| 1159 | end | |
| 1160 | function AppearDisappear1() | |
| 1161 | Das.Transparency = 0 | |
| 1162 | Apron.Transparency = 1 | |
| 1163 | A1.Transparency = 1 | |
| 1164 | A2.Transparency = 1 | |
| 1165 | A3.Transparency = 1 | |
| 1166 | A4.Transparency = 1 | |
| 1167 | A5.Transparency = 1 | |
| 1168 | A6.Transparency = 1 | |
| 1169 | A7.Transparency = 1 | |
| 1170 | A8.Transparency = 1 | |
| 1171 | A9.Transparency = 1 | |
| 1172 | da.Transparency = 1 | |
| 1173 | da1.Transparency = 1 | |
| 1174 | CreateSound("http://roblox.com/asset/?id=356427062", char.Torso, 1.2, 1)
| |
| 1175 | end | |
| 1176 | function AppearDisappear2() | |
| 1177 | Das.Transparency = 1 | |
| 1178 | Apron.Transparency = 0 | |
| 1179 | A1.Transparency = 0 | |
| 1180 | A2.Transparency = 0 | |
| 1181 | A3.Transparency = 0 | |
| 1182 | A4.Transparency = 0 | |
| 1183 | A5.Transparency = 0 | |
| 1184 | A6.Transparency = 0 | |
| 1185 | A7.Transparency = 0 | |
| 1186 | A8.Transparency = 0 | |
| 1187 | A9.Transparency = 0 | |
| 1188 | da.Transparency = 0 | |
| 1189 | da1.Transparency = 0 | |
| 1190 | CreateSound("http://roblox.com/asset/?id=356427062", char.Torso, 1.2, .8)
| |
| 1191 | end | |
| 1192 | function equip() | |
| 1193 | Handle.Transparency = 0 | |
| 1194 | local ez = Instance.new("Part",char)
| |
| 1195 | ez.Size = Vector3.new(1,1,1) | |
| 1196 | ez.Name = "a" | |
| 1197 | ez:BreakJoints() | |
| 1198 | ez.Anchored = false | |
| 1199 | ez.Transparency = 0 | |
| 1200 | ez.CanCollide = false | |
| 1201 | ez.Shape = "Block" | |
| 1202 | ez.Material='Neon' | |
| 1203 | ez.TopSurface = "SmoothNoOutlines" | |
| 1204 | ez.BottomSurface = "SmoothNoOutlines" | |
| 1205 | ez.BrickColor = BrickColor.new("New Yeller")
| |
| 1206 | ddd = Instance.new("SpecialMesh",ez)
| |
| 1207 | ddd.MeshType="Sphere" | |
| 1208 | ddd.Scale=Vector3.new(1,1,1) | |
| 1209 | Weld = Instance.new("Weld",ez)
| |
| 1210 | Weld.Part0 = Weld.Parent | |
| 1211 | Weld.Part1 = Handle | |
| 1212 | CreateSound("http://roblox.com/asset/?id=356427062", char.Torso, 1.2, 1)
| |
| 1213 | for a = 0, 1, .05 do--while wait() and ez and ez.Transparency <= 1 do | |
| 1214 | ddd.Scale = ddd.Scale + Vector3.new(1, 1, 1) | |
| 1215 | ez.Transparency = ez.Transparency + .1 | |
| 1216 | wait() | |
| 1217 | end | |
| 1218 | ez:Remove() | |
| 1219 | end | |
| 1220 | function unequip() | |
| 1221 | Handle.Transparency = 1 | |
| 1222 | local ez = Instance.new("Part",char)
| |
| 1223 | ez.Size = Vector3.new(1,1,1) | |
| 1224 | ez.Name = "a" | |
| 1225 | ez:BreakJoints() | |
| 1226 | ez.Anchored = false | |
| 1227 | ez.Transparency = 0 | |
| 1228 | ez.CanCollide = false | |
| 1229 | ez.Shape = "Block" | |
| 1230 | ez.Material='Neon' | |
| 1231 | ez.TopSurface = "SmoothNoOutlines" | |
| 1232 | ez.BottomSurface = "SmoothNoOutlines" | |
| 1233 | ez.BrickColor = BrickColor.new("New Yeller")
| |
| 1234 | ddd = Instance.new("SpecialMesh",ez)
| |
| 1235 | ddd.MeshType="Sphere" | |
| 1236 | ddd.Scale=Vector3.new(1,1,1) | |
| 1237 | Weld = Instance.new("Weld",ez)
| |
| 1238 | Weld.Part0 = Weld.Parent | |
| 1239 | Weld.Part1 = Handle | |
| 1240 | CreateSound("http://roblox.com/asset/?id=356427062", char.Torso, 1.2, .8)
| |
| 1241 | for a = 0, 1, .05 do | |
| 1242 | ddd.Scale = ddd.Scale + Vector3.new(1, 1, 1) | |
| 1243 | ez.Transparency = ez.Transparency + .1 | |
| 1244 | wait() | |
| 1245 | end | |
| 1246 | ez:Remove() | |
| 1247 | end | |
| 1248 | attack1 = function() | |
| 1249 | attack = true | |
| 1250 | local con = Hitbox.Touched:connect(function(hit) | |
| 1251 | ||
| 1252 | Damagefunc(Hitbox, hit, 10, 30, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
| 1253 | end | |
| 1254 | ) | |
| 1255 | for i = 0, 1, 0.1 do | |
| 1256 | swait() | |
| 1257 | --PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.529917479, 0, -0.848049283, 0, 1, 0, 0.848049283, 0, 0.529917479), CFrame.new(0, 1.49999499, 0, 0.406736165, 0, 0.913545728, 0, 1, 0, -0.913545728, 0, 0.406736165), CFrame.new(1.35679102, 0.782658279, 0.0675592273, 0.707045317, -0.527684033, 0.470782787, 0.133834034, -0.553849995, -0.82178998, 0.694388449, 0.644049466, -0.320975006), CFrame.new(-1.69279337, 0.499999672, -0.79492861, 0.717408359, 0.691137791, 0.0874861553, -0.0527720191, 0.179133937, -0.982408345, -0.694651246, 0.700171173, 0.164984912), CFrame.new(0.641659617, -1.99999392, 0.125842437, 0.882947862, 0, -0.469471127, 0, 1, 0, 0.469471127, 0, 0.882947862), CFrame.new(-0.348587006, -1.99999392, -0.0133331716, 0.898793101, 0, 0.438373119, 0, 1, 0, -0.438373119, 0, 0.898793101)}, 0.3, false)
| |
| 1258 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(50), math.rad(0)), 0.3) | |
| 1259 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1260 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 1.6, -.6) * angles(math.rad(160), math.rad(0), math.rad(0)), 0.3) | |
| 1261 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3) | |
| 1262 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1263 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1264 | ||
| 1265 | end | |
| 1266 | CFuncs.Sound.Create("http://roblox.com/asset/?id=231917950", char.Torso, 1, 1.5)
| |
| 1267 | for i = 0, 1, 0.1 do | |
| 1268 | swait() | |
| 1269 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3) | |
| 1270 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1271 | RW.C0 = clerp(RW.C0, CFrame.new(.9, -.1, -.8) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3) | |
| 1272 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3) | |
| 1273 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1274 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1275 | ||
| 1276 | ||
| 1277 | --PlayAnimationFromTable({CFrame.new(0.180807382, 0, 0.0999719128, 0.342022538, 0, 0.939691782, 0, 1, 0, -0.939691782, 0, 0.342022538), CFrame.new(0.0106580649, 1.49999499, -0.0643079877, 0.469472408, 0, -0.882947266, 0, 1, 0, 0.882947266, 0, 0.469472408), CFrame.new(1.83224225, 0.376015127, 0.0757035911, 0.135973215, -0.988979697, 0.0585707389, 0.0630049929, -0.0503679588, -0.996741474, 0.988707185, 0.139220387, 0.0554619655), CFrame.new(-0.541033506, 0.699999869, -0.891753554, 0.658596575, -0.726630569, 0.195598423, 0.0759940296, -0.194378868, -0.977978408, 0.74864924, 0.658957481, -0.072797671), CFrame.new(0.641663194, -1.99999392, 0.125834763, 0.406737477, 0, -0.913545191, 0, 1, 0, 0.913545191, 0, 0.406737477), CFrame.new(-0.590457141, -1.99999392, 0.164175183, 0.984808207, 0, -0.173646241, 0, 1, 0, 0.173646241, 0, 0.984808207)}, 0.3, false)
| |
| 1278 | --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(60), math.rad(0), math.rad(-90)), 0.3) | |
| 1279 | end | |
| 1280 | con:disconnect() | |
| 1281 | attack = false | |
| 1282 | end | |
| 1283 | attack2 = function() | |
| 1284 | attack = true | |
| 1285 | local con = Hitbox.Touched:connect(function(hit) | |
| 1286 | ||
| 1287 | Damagefunc(Hitbox, hit, 10, 30, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
| 1288 | end | |
| 1289 | ) | |
| 1290 | for i = 0, 1, 0.1 do | |
| 1291 | swait() | |
| 1292 | --PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
| |
| 1293 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(50), math.rad(0)), 0.3) | |
| 1294 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1295 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, .75, -1) * angles(math.rad(110), -math.rad(80), math.rad(15)), 0.3) | |
| 1296 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3) | |
| 1297 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1298 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1299 | --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(60), math.rad(0), math.rad(-90)), 0.3) | |
| 1300 | end | |
| 1301 | CFuncs.Sound.Create("http://roblox.com/asset/?id=231917950", char.Torso, 1, 2)
| |
| 1302 | for i = 0, 1, 0.1 do | |
| 1303 | swait() | |
| 1304 | --PlayAnimationFromTable({CFrame.new(0.2283867, 0, 0.115197472, 0.438369602, 0, -0.89879483, 0, 1, 0, 0.89879483, 0, 0.438369602), CFrame.new(0.0305867679, 1.49999499, -0.105302036, 0.438370466, 0, 0.898794472, 0, 1, 0, -0.898794472, 0, 0.438370436), CFrame.new(1.67825615, 0.576015353, -0.394908488, 0.46593222, -0.881719947, 0.0740077272, 0.063004978, -0.0503680483, -0.996741474, 0.88257432, 0.469076842, 0.0320846587), CFrame.new(-1.00808418, 0.399999917, -0.988827169, 0.839437604, -0.542131007, 0.0379279964, 0.0759930089, 0.0479900427, -0.995952845, 0.538116753, 0.838922501, 0.0814828053), CFrame.new(0.641682267, -1.99999392, 0.125833988, 0.9993909, 0, -0.0348993391, 0, 1, 0, 0.0348993391, 0, 0.9993909), CFrame.new(-0.451955765, -1.99999392, -0.00807018578, 0.898794293, 0, 0.438370645, 0, 1, 0, -0.438370645, 0, 0.898794293)}, 0.3, false)
| |
| 1305 | --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(60), math.rad(0), math.rad(-90)), 0.3) | |
| 1306 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3) | |
| 1307 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1308 | RW.C0 = clerp(RW.C0, CFrame.new(.3, .3, -.3) * angles(math.rad(40), math.rad(30), -math.rad(70)), 0.3) | |
| 1309 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3) | |
| 1310 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1311 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1312 | ||
| 1313 | end | |
| 1314 | con:disconnect() | |
| 1315 | attack = false | |
| 1316 | end | |
| 1317 | attack3 = function() | |
| 1318 | attack = true | |
| 1319 | local con = Hitbox.Touched:connect(function(hit) | |
| 1320 | ||
| 1321 | Damagefunc(Hitbox, hit, 10, 30, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
| 1322 | end) | |
| 1323 | ||
| 1324 | for i = 0, 1, 0.1 do | |
| 1325 | swait() | |
| 1326 | --PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
| |
| 1327 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(15), math.rad(0)), 0.3) | |
| 1328 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1329 | RW.C0 = clerp(RW.C0, CFrame.new(.35, .5, -.7) * angles(math.rad(205), math.rad(20), -math.rad(110)), 0.3) | |
| 1330 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3) | |
| 1331 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1332 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1333 | end | |
| 1334 | CFuncs.Sound.Create("http://roblox.com/asset/?id=231917950", char.Torso, 1, 2)
| |
| 1335 | for i = 0, .2, 0.1 do | |
| 1336 | swait() | |
| 1337 | --PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
| |
| 1338 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0,0,-2.4)*CFrame.Angles(math.rad(0),math.rad(90),-math.rad(90)), 0.3) | |
| 1339 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(90), math.rad(0)), 0.3) | |
| 1340 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1341 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, .55, -1) * angles(math.rad(90), math.rad(100), math.rad(0)), 0.3) | |
| 1342 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3) | |
| 1343 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1344 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1345 | end | |
| 1346 | for i = 0, .2, 0.1 do | |
| 1347 | swait() | |
| 1348 | --PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
| |
| 1349 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(180), math.rad(0)), 0.3) | |
| 1350 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1351 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, .55, -1) * angles(math.rad(90), math.rad(100), math.rad(0)), 0.3) | |
| 1352 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3) | |
| 1353 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1354 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1355 | end | |
| 1356 | for i = 0, .2, 0.1 do | |
| 1357 | swait() | |
| 1358 | --PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
| |
| 1359 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(270), math.rad(0)), 0.3) | |
| 1360 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1361 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, .55, -1) * angles(math.rad(90), math.rad(100), math.rad(0)), 0.3) | |
| 1362 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3) | |
| 1363 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1364 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1365 | end | |
| 1366 | ||
| 1367 | ||
| 1368 | ||
| 1369 | ||
| 1370 | for i = 0, 1, 0.1 do | |
| 1371 | swait() | |
| 1372 | --PlayAnimationFromTable({CFrame.new(0.2283867, 0, 0.115197472, 0.438369602, 0, -0.89879483, 0, 1, 0, 0.89879483, 0, 0.438369602), CFrame.new(0.0305867679, 1.49999499, -0.105302036, 0.438370466, 0, 0.898794472, 0, 1, 0, -0.898794472, 0, 0.438370436), CFrame.new(1.67825615, 0.576015353, -0.394908488, 0.46593222, -0.881719947, 0.0740077272, 0.063004978, -0.0503680483, -0.996741474, 0.88257432, 0.469076842, 0.0320846587), CFrame.new(-1.00808418, 0.399999917, -0.988827169, 0.839437604, -0.542131007, 0.0379279964, 0.0759930089, 0.0479900427, -0.995952845, 0.538116753, 0.838922501, 0.0814828053), CFrame.new(0.641682267, -1.99999392, 0.125833988, 0.9993909, 0, -0.0348993391, 0, 1, 0, 0.0348993391, 0, 0.9993909), CFrame.new(-0.451955765, -1.99999392, -0.00807018578, 0.898794293, 0, 0.438370645, 0, 1, 0, -0.438370645, 0, 0.898794293)}, 0.3, false)
| |
| 1373 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0,0,-2.4)*CFrame.Angles(math.rad(0),math.rad(90),-math.rad(90)), 0.3) | |
| 1374 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(40), math.rad(0)), 0.3) | |
| 1375 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1376 | RW.C0 = clerp(RW.C0, CFrame.new(2, .5, 0) * angles(-math.rad(180), math.rad(0), math.rad(90)), 0.3) | |
| 1377 | LW.C0 = clerp(LW.C0, CFrame.new(-2, .5, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3) | |
| 1378 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1379 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1380 | end | |
| 1381 | ||
| 1382 | con:disconnect() | |
| 1383 | attack = false | |
| 1384 | end | |
| 1385 | function kek1() | |
| 1386 | attack = true | |
| 1387 | Effects.Sphere.Create(BrickColor.new("New Yeller"), FakeHandle.CFrame * angles(math.random(-3,3), math.random(-3,3), math.random(-3,3)), 6.5, 6.5, 6.5, 4, 4, 4, 0.07)
| |
| 1388 | ||
| 1389 | CFuncs.Sound.Create("http://www.roblox.com/asset?id=200633707", char.Torso, 0.8, 1.1)
| |
| 1390 | ||
| 1391 | local Aaaa = Instance.new("Part", RootPart)
| |
| 1392 | Aaaa.Size = Vector3.new(.1, .1, .1) | |
| 1393 | Aaaa.BrickColor = BrickColor.new("White")
| |
| 1394 | Aaaa.Transparency = 1 | |
| 1395 | Aaaa.CanCollide = false | |
| 1396 | local abbWeld = Instance.new("Weld", RootPart)
| |
| 1397 | abbWeld.Part0 = RootPart | |
| 1398 | abbWeld.Part1 = Aaaa | |
| 1399 | abbWeld.C1 = CFrame.new(0,0,9) | |
| 1400 | ||
| 1401 | for i = 0, 2.5, 0.1 do | |
| 1402 | swait() | |
| 1403 | Effects.Ring.Create(BrickColor.new("Navy blue"), FakeHandle.CFrame * angles(math.random(-3,3), math.random(-3,3), math.random(-3,3)), 1.5, 1.5, 0, 0.5, 0.5, 0, 0.07)
| |
| 1404 | --PlayAnimationFromTable({CFrame.new(0.338935494, 0, 0.0863927901, -0.0348953009, 0, 0.999391079, 0, 1, 0, -0.999391079, 0, -0.0348953009), CFrame.new(-0.0100401761, 1.49999499, -0.00284555811, 0.500002861, 0, -0.866023898, 0, 1, 0, 0.866023898, 0, 0.500002861), CFrame.new(1.21845579, 0.576015115, -0.684895277, 0.950073838, 0.308843106, 0.0444484204, 0.0630049855, -0.0503680073, -0.996741474, -0.305597931, 0.949778438, -0.0673119873), CFrame.new(-0.681373537, 0.699999809, -0.527025938, 0.839439929, -0.516847908, 0.167955339, 0.0759939924, -0.194378883, -0.977978468, 0.538113117, 0.833717644, -0.123892054), CFrame.new(0.641661644, -1.99999392, 0.125842005, 0.76604569, 0, -0.642786264, 0, 1, 0, 0.642786264, 0, 0.76604569), CFrame.new(-0.451956809, -1.99999392, -0.00807090476, 0.994521499, 0, 0.104533166, 0, 1, 0, -0.104533151, 0, 0.994521499)}, 0.3, false)
| |
| 1405 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.1) | |
| 1406 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
| 1407 | RW.C0 = clerp(RW.C0, CFrame.new(.35, .5, -.7) * angles(math.rad(205), math.rad(20), -math.rad(110)), 0.1) | |
| 1408 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.1) | |
| 1409 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
| 1410 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
| 1411 | ||
| 1412 | end | |
| 1413 | for i = 0, 0.2, 0.1 do | |
| 1414 | swait() | |
| 1415 | --PlayAnimationFromTable({CFrame.new(0.2283867, 0, 0.115197472, 0.438369602, 0, -0.89879483, 0, 1, 0, 0.89879483, 0, 0.438369602), CFrame.new(0.0305867679, 1.49999499, -0.105302036, 0.438370466, 0, 0.898794472, 0, 1, 0, -0.898794472, 0, 0.438370436), CFrame.new(1.67825615, 0.576015353, -0.394908488, 0.46593222, -0.881719947, 0.0740077272, 0.063004978, -0.0503680483, -0.996741474, 0.88257432, 0.469076842, 0.0320846587), CFrame.new(-1.00808418, 0.399999917, -0.988827169, 0.839437604, -0.542131007, 0.0379279964, 0.0759930089, 0.0479900427, -0.995952845, 0.538116753, 0.838922501, 0.0814828053), CFrame.new(0.641682267, -1.99999392, 0.125833988, 0.9993909, 0, -0.0348993391, 0, 1, 0, 0.0348993391, 0, 0.9993909), CFrame.new(-0.451955765, -1.99999392, -0.00807018578, 0.898794293, 0, 0.438370645, 0, 1, 0, -0.438370645, 0, 0.898794293)}, 0.3, false)
| |
| 1416 | --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0,0,-2.4)*CFrame.Angles(math.rad(0),math.rad(90),-math.rad(90)), 0.3) | |
| 1417 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(50), math.rad(0)), 0.3) | |
| 1418 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3) | |
| 1419 | RW.C0 = clerp(RW.C0, CFrame.new(2, .5, 0) * angles(math.rad(0), math.rad(0), -math.rad(5)), 0.3) | |
| 1420 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3) | |
| 1421 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1422 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1423 | end | |
| 1424 | Effects.Sphere.Create(BrickColor.new("Navy blue"), Aaaa.CFrame * angles(math.random(-3,3), math.random(-3,3), math.random(-3,3)), 2.5, 2.5, 2.5, 3.5, 3.5, 3.5, 0.07)
| |
| 1425 | Effects.Ring.Create(BrickColor.new("Navy blue"), Aaaa.CFrame * angles(0, 0, math.random(-3,3)), 2.5, 2.5, 2.5, 1, 1, 1, 0.07)
| |
| 1426 | ||
| 1427 | CFuncs.Sound.Create("http://roblox.com/asset/?id=231917950", Aaaa, 1, 1)
| |
| 1428 | CFuncs.Sound.Create("http://roblox.com/asset/?id=279675650", FakeHandle, 1, 1.1)
| |
| 1429 | local con = Aaaa.Touched:connect(function(hit) | |
| 1430 | MagniDamage(Aaaa, 30, 30, 55, 4, "Knockdown") | |
| 1431 | --Damagefunc(Hitbox, hit, 30, 60, math.random(1, 5), "Knockdown", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
| 1432 | end | |
| 1433 | ) | |
| 1434 | for i = 0, 1, 0.1 do | |
| 1435 | swait() | |
| 1436 | --PlayAnimationFromTable({CFrame.new(0.2283867, 0, 0.115197472, 0.438369602, 0, -0.89879483, 0, 1, 0, 0.89879483, 0, 0.438369602), CFrame.new(0.0305867679, 1.49999499, -0.105302036, 0.438370466, 0, 0.898794472, 0, 1, 0, -0.898794472, 0, 0.438370436), CFrame.new(1.67825615, 0.576015353, -0.394908488, 0.46593222, -0.881719947, 0.0740077272, 0.063004978, -0.0503680483, -0.996741474, 0.88257432, 0.469076842, 0.0320846587), CFrame.new(-1.00808418, 0.399999917, -0.988827169, 0.839437604, -0.542131007, 0.0379279964, 0.0759930089, 0.0479900427, -0.995952845, 0.538116753, 0.838922501, 0.0814828053), CFrame.new(0.641682267, -1.99999392, 0.125833988, 0.9993909, 0, -0.0348993391, 0, 1, 0, 0.0348993391, 0, 0.9993909), CFrame.new(-0.451955765, -1.99999392, -0.00807018578, 0.898794293, 0, 0.438370645, 0, 1, 0, -0.438370645, 0, 0.898794293)}, 0.3, false)
| |
| 1437 | --FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0,0,-2.4)*CFrame.Angles(math.rad(0),math.rad(90),-math.rad(90)), 0.3) | |
| 1438 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), -math.rad(50), math.rad(0)), 0.3) | |
| 1439 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3) | |
| 1440 | RW.C0 = clerp(RW.C0, CFrame.new(2, .5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
| 1441 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3) | |
| 1442 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1443 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1444 | end | |
| 1445 | Aaaa:Remove() | |
| 1446 | con:disconnect() | |
| 1447 | attack = false | |
| 1448 | end | |
| 1449 | function kek2() | |
| 1450 | attack = true | |
| 1451 | ||
| 1452 | ||
| 1453 | for i = 0, 1, 0.1 do | |
| 1454 | swait() | |
| 1455 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1456 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(25), math.rad(0), math.rad(0)), 0.3) | |
| 1457 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
| 1458 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 1, 0) * angles(math.rad(179), math.rad(0), math.rad(0)), 0.3) | |
| 1459 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1460 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1461 | end | |
| 1462 | CFuncs.Sound.Create("rbxassetid://169380505", RootPart, 0.8, 1.5)
| |
| 1463 | Effects.Cylinder.Create(BrickColor.new("New Yeller"), LeftArm.CFrame * angles(math.rad(2), 0, 0), 1, 9999, 1, 1, 1, 1, 0.07)
| |
| 1464 | for i = 0, 2, 0.1 do | |
| 1465 | swait() | |
| 1466 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1467 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(25), math.rad(0), math.rad(0)), 0.3) | |
| 1468 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
| 1469 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 1, 0) * angles(math.rad(179), math.rad(0), math.rad(0)), 0.3) | |
| 1470 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1471 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1472 | end | |
| 1473 | CFuncs.Sound.Create("rbxassetid://169445602", RootPart, 1, 1.2)
| |
| 1474 | local cf2 = mouse.Hit.p + Vector3.new(math.random(-100, 100) / 50, 50, math.random(-100, 100) / 50) | |
| 1475 | local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, char) | |
| 1476 | if hit2 ~= nil then | |
| 1477 | local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.new("Navy blue"), "Effect", Vector3.new())
| |
| 1478 | d1.Anchored = true | |
| 1479 | d1.CFrame = CFrame.new(pos2) | |
| 1480 | MagniDamage(d1, 20, 10, 25, 5, "Snare") | |
| 1481 | Effects.Cylinder.Create(BrickColor.new("New Yeller"), d1.CFrame * angles(0, 0, 0), 1, 9999, 1, 4, 1, 4, 0.07)
| |
| 1482 | local con = Hitbox.Touched:connect(function(hit) | |
| 1483 | end) | |
| 1484 | game:GetService("Debris"):AddItem(d1, 5)
| |
| 1485 | local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(100, 5, 100))
| |
| 1486 | local d2 = d1:Clone() | |
| 1487 | d2.Parent = d1 | |
| 1488 | d2.CFrame = CFrame.new(d1.Position) | |
| 1489 | d2.BrickColor = BrickColor.new("New Yeller")
| |
| 1490 | d2.Mesh.Scale = Vector3.new(0, 5, 0) | |
| 1491 | table.insert(Effects, {d1, "QuadShot", d2, d2.Mesh, 0})
| |
| 1492 | end | |
| 1493 | attack = false | |
| 1494 | ||
| 1495 | end | |
| 1496 | function kek3() | |
| 1497 | ||
| 1498 | end | |
| 1499 | function kek4() | |
| 1500 | ||
| 1501 | end | |
| 1502 | mouse.Button1Down:connect(function() | |
| 1503 | ||
| 1504 | if attack == false and attacktype == 1 and equipped == true then | |
| 1505 | attacktype = 2 | |
| 1506 | attack1() | |
| 1507 | else | |
| 1508 | if attack == false and attacktype == 2 and equipped == true then | |
| 1509 | attacktype = 3 | |
| 1510 | attack2() | |
| 1511 | else | |
| 1512 | if attack == false and attacktype == 3 and equipped == true then | |
| 1513 | attacktype = 1 | |
| 1514 | attack3() | |
| 1515 | end | |
| 1516 | end | |
| 1517 | end | |
| 1518 | end | |
| 1519 | ) | |
| 1520 | ||
| 1521 | updateskills = function() | |
| 1522 | ||
| 1523 | if cooldown1 <= co1 then | |
| 1524 | cooldown1 = cooldown1 + 0.033333333333333 | |
| 1525 | end | |
| 1526 | if cooldown2 <= co2 then | |
| 1527 | cooldown2 = cooldown2 + 0.033333333333333 | |
| 1528 | end | |
| 1529 | if cooldown3 <= co3 then | |
| 1530 | cooldown3 = cooldown3 + 0.033333333333333 | |
| 1531 | end | |
| 1532 | if cooldown4 <= co4 then | |
| 1533 | cooldown4 = cooldown4 + 0.033333333333333 | |
| 1534 | end | |
| 1535 | end | |
| 1536 | ||
| 1537 | --[[function onKeyDown(key) | |
| 1538 | if key == "u" then | |
| 1539 | if nak == false and disable == false then | |
| 1540 | disable = true | |
| 1541 | AppearDisappear1() | |
| 1542 | AppearDisappear() | |
| 1543 | nak = true | |
| 1544 | wait(1) | |
| 1545 | disable = false | |
| 1546 | elseif disable == false then | |
| 1547 | AppearDisappear2() | |
| 1548 | AppearDisappear() | |
| 1549 | ||
| 1550 | nak = false | |
| 1551 | wait(1) | |
| 1552 | disable = false | |
| 1553 | end | |
| 1554 | end | |
| 1555 | ||
| 1556 | if key == "f" then | |
| 1557 | if equipped == false and disable == false then | |
| 1558 | disable = true | |
| 1559 | equipped = true | |
| 1560 | equip() | |
| 1561 | wait(1) | |
| 1562 | disable = false | |
| 1563 | elseif equipped == true and disable == false then | |
| 1564 | disable = true | |
| 1565 | unequip() | |
| 1566 | equipped = false | |
| 1567 | wait(1) | |
| 1568 | disable = false | |
| 1569 | end | |
| 1570 | end]] | |
| 1571 | mouse.KeyDown:connect(function(k) | |
| 1572 | ||
| 1573 | k = k:lower() | |
| 1574 | if attack == false and equipped == true and k == "z" and co1 <= cooldown1 then | |
| 1575 | cooldown1 = 0 | |
| 1576 | kek1() | |
| 1577 | else | |
| 1578 | if attack == false and equipped == true and k == "x" and co2 <= cooldown2 then | |
| 1579 | cooldown2 = 0 | |
| 1580 | kek2() | |
| 1581 | else | |
| 1582 | if attack == false and equipped == true and k == "c" and co3 <= cooldown3 then | |
| 1583 | cooldown3 = 0 | |
| 1584 | kek3() | |
| 1585 | else | |
| 1586 | if attack == false and k == "v" and co4 <= cooldown4 then | |
| 1587 | cooldown4 = 0 | |
| 1588 | kek4() | |
| 1589 | else | |
| 1590 | if attack == false and k == "f" and equipped == false and disable == false then | |
| 1591 | ||
| 1592 | disable = true | |
| 1593 | equipped = true | |
| 1594 | equip() | |
| 1595 | wait(.5) | |
| 1596 | disable = false | |
| 1597 | else | |
| 1598 | if k == "f" and equipped == true and disable == false then | |
| 1599 | disable = true | |
| 1600 | equipped = false | |
| 1601 | unequip() | |
| 1602 | wait(.5) | |
| 1603 | disable = false | |
| 1604 | ||
| 1605 | ||
| 1606 | else | |
| 1607 | if k == "u" and nak == false and disable == false then | |
| 1608 | disable = true | |
| 1609 | AppearDisappear1() | |
| 1610 | AppearDisappear() | |
| 1611 | nak = true | |
| 1612 | wait(.5) | |
| 1613 | disable = false | |
| 1614 | else | |
| 1615 | if k == "u" and nak == true and disable == false then | |
| 1616 | disable = true | |
| 1617 | AppearDisappear2() | |
| 1618 | AppearDisappear() | |
| 1619 | nak = false | |
| 1620 | wait(.5) | |
| 1621 | disable = false | |
| 1622 | end | |
| 1623 | end | |
| 1624 | end | |
| 1625 | end | |
| 1626 | end | |
| 1627 | end | |
| 1628 | end | |
| 1629 | end | |
| 1630 | end) | |
| 1631 | ||
| 1632 | while 1 do | |
| 1633 | swait() | |
| 1634 | updateskills() | |
| 1635 | bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5) | |
| 1636 | bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5) | |
| 1637 | bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5) | |
| 1638 | bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5) | |
| 1639 | for i,v in pairs(char:GetChildren()) do | |
| 1640 | if v:IsA("Part") then
| |
| 1641 | v.Material = "SmoothPlastic" | |
| 1642 | else | |
| 1643 | if v:IsA("Hat") then
| |
| 1644 | v:WaitForChild("Handle").Material = "SmoothPlastic"
| |
| 1645 | end | |
| 1646 | end | |
| 1647 | end | |
| 1648 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 1649 | velocity = RootPart.Velocity.y | |
| 1650 | sine = sine + change | |
| 1651 | local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, char) | |
| 1652 | if equipped == true or equipped == false then | |
| 1653 | if 1 < RootPart.Velocity.y and hit == nil then | |
| 1654 | Anim = "Jump" | |
| 1655 | if attack == false then | |
| 1656 | manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90),math.rad(65),-math.rad(90)), 0.3) | |
| 1657 | manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.3,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3) | |
| 1658 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3) | |
| 1659 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1660 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 1661 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 1662 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3) | |
| 1663 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0.35) * angles(math.rad(-15), math.rad(0), math.rad(0)), 0.3) | |
| 1664 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0.35) * angles(math.rad(-15), math.rad(0), math.rad(0)), 0.3) | |
| 1665 | end | |
| 1666 | else | |
| 1667 | if RootPart.Velocity.y < -1 and hit == nil then | |
| 1668 | Anim = "Fall" | |
| 1669 | if attack == false then | |
| 1670 | manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90),math.rad(15),-math.rad(90)), 0.3) | |
| 1671 | manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3) | |
| 1672 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3) | |
| 1673 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1674 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 1675 | RW.C0 = clerp(RW.C0, CFrame.new(1.7, 0.2, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) | |
| 1676 | LW.C0 = clerp(LW.C0, CFrame.new(-1.7, 0.2, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3) | |
| 1677 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0.5) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3) | |
| 1678 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0.5) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3) | |
| 1679 | end | |
| 1680 | else | |
| 1681 | if Torsovelocity < 1 and hit ~= nil then | |
| 1682 | Anim = "Idle" | |
| 1683 | if attack == false then | |
| 1684 | if equipped == true then | |
| 1685 | change = 1 | |
| 1686 | manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90 - 15 * math.cos((sine) / 45)),math.rad(40),-math.rad(90)), 0.3) | |
| 1687 | manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.4,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3) | |
| 1688 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3) | |
| 1689 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0 - 0.04 * math.cos((sine) / 30), 0) * angles(math.rad(0), -math.rad(20), math.rad(0)), 0.3) | |
| 1690 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(5), math.rad(20), math.rad(0)), 0.3) | |
| 1691 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
| 1692 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
| 1693 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2 + 0.04 * math.cos((sine) / 30), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1694 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2 + 0.04 * math.cos((sine) / 30), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1695 | else | |
| 1696 | change = 1 | |
| 1697 | manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90 - 15 * math.cos((sine) / 45)),math.rad(40),-math.rad(90)), 0.3) | |
| 1698 | manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.4,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3) | |
| 1699 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3) | |
| 1700 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0 - 0.06 * math.cos((sine) / 30), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1701 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1702 | RW.C0 = clerp(RW.C0, CFrame.new(0.7, 0.1, -0.45) * angles(math.rad(20), math.rad(0), -math.rad(40)), 0.3) | |
| 1703 | LW.C0 = clerp(LW.C0, CFrame.new(-0.7, 0.1, -0.45) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.3) | |
| 1704 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2 + 0.04 * math.cos((sine) / 30), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1705 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2 + 0.04 * math.cos((sine) / 30), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1706 | ||
| 1707 | end | |
| 1708 | end | |
| 1709 | else | |
| 1710 | if 2 < Torsovelocity and hit ~= nil then | |
| 1711 | Anim = "Walk" | |
| 1712 | if attack == false then | |
| 1713 | manWeld.C1 = clerp(manWeld.C1, CFrame.new(0,1.4,0)*CFrame.Angles(math.rad(90),math.rad(40),-math.rad(90)), 0.3) | |
| 1714 | manWeld.C0 = clerp(manWeld.C0, CFrame.new(0,-0.4,0)*CFrame.Angles(math.rad(0),math.rad(0),-math.rad(0)),0.3) | |
| 1715 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(1.2,0,-1)*CFrame.Angles(math.rad(180),0,-math.rad(90)), 0.3) | |
| 1716 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
| 1717 | char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 1718 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
| 1719 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.1, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
| 1720 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0 + 1 * math.cos((sine) / 3)) * angles(math.rad(0 - 50 * math.cos((sine) / 3)), math.rad(0), math.rad(0)), 0.3) | |
| 1721 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0 - 1 * math.cos((sine) / 3)) * angles(math.rad(0 + 50 * math.cos((sine) / 3)), math.rad(0), math.rad(0)), 0.3) | |
| 1722 | end | |
| 1723 | end | |
| 1724 | end | |
| 1725 | end | |
| 1726 | end | |
| 1727 | end | |
| 1728 | if 0 < #Effects then | |
| 1729 | for e = 1, #Effects do | |
| 1730 | if Effects[e] ~= nil then | |
| 1731 | local Thing = Effects[e] | |
| 1732 | if Thing ~= nil then | |
| 1733 | local Part = Thing[1] | |
| 1734 | local Mode = Thing[2] | |
| 1735 | local Delay = Thing[3] | |
| 1736 | local IncX = Thing[4] | |
| 1737 | local IncY = Thing[5] | |
| 1738 | local IncZ = Thing[6] | |
| 1739 | if Thing[1].Transparency <= 1 then | |
| 1740 | if Thing[2] == "Block1" then | |
| 1741 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1742 | Mesh = Thing[1].Mesh | |
| 1743 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1744 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1745 | else | |
| 1746 | if Thing[2] == "Block2" then | |
| 1747 | Thing[1].CFrame = Thing[1].CFrame | |
| 1748 | Mesh = Thing[7] | |
| 1749 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1750 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1751 | else | |
| 1752 | if Thing[2] == "Cylinder" then | |
| 1753 | Mesh = Thing[1].Mesh | |
| 1754 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1755 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1756 | else | |
| 1757 | if Thing[2] == "Blood" then | |
| 1758 | Mesh = Thing[7] | |
| 1759 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
| 1760 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1761 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1762 | else | |
| 1763 | if Thing[2] == "Elec" then | |
| 1764 | Mesh = Thing[1].Mesh | |
| 1765 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 1766 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1767 | else | |
| 1768 | if Thing[2] == "Disappear" then | |
| 1769 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1770 | else | |
| 1771 | if Thing[2] == "Shatter" then | |
| 1772 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1773 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 1774 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 1775 | Thing[6] = Thing[6] + Thing[5] | |
| 1776 | else | |
| 1777 | if Thing[2] == "QuadShot" then | |
| 1778 | if Thing[5] < 100 then | |
| 1779 | Thing[5] = Thing[5] + 2.5 | |
| 1780 | Thing[4].Scale = Vector3.new(Thing[5], 5, Thing[5]) | |
| 1781 | else | |
| 1782 | refda = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
| |
| 1783 | refda.Anchored = true | |
| 1784 | refda.CFrame = CFrame.new(Thing[1].Position) | |
| 1785 | game:GetService("Debris"):AddItem(refda, 5)
| |
| 1786 | CFuncs.Sound.Create("rbxassetid://203691378", refda, 1, 1.2)
| |
| 1787 | CFuncs.Sound.Create("rbxassetid://184718741", refda, 1, 0.8)
| |
| 1788 | --MagniDamage(refda, 40, 20, 50, BrickColor.new("Navy blue"), BrickColor.new("New Yeller"))
| |
| 1789 | MagniDamage(refda, 40, 20, 50, 50, "Freeze") | |
| 1790 | Effects.Sphere.Create(BrickColor.new("New Yeller"), CFrame.new(refda.Position), 3, 3, 3, 10, 10, 10, 0.05)
| |
| 1791 | Effects.Sphere.Create(BrickColor.new("Navy blue"), CFrame.new(refda.Position), 15, 15, 15, 10, 10, 10, 0.05)
| |
| 1792 | --Effects.Sphere.Create(BrickColor.new("New Yeller"), refda.CFrame, 10, 10, 10, 10, 10, 10, 0.06)
| |
| 1793 | Effects.Block.Create(BrickColor.new("New Yeller"), refda.CFrame, 10, 10, 10, 10, 10, 10, 0.06, 1)
| |
| 1794 | Effects.Wave.Create(BrickColor.new("New Yeller"), refda.CFrame, 1, 1, 1, 3, 3, 3, 0.06)
| |
| 1795 | Thing[1].Parent = nil | |
| 1796 | table.remove(Effects, e) | |
| 1797 | end | |
| 1798 | end | |
| 1799 | end | |
| 1800 | end | |
| 1801 | end | |
| 1802 | end | |
| 1803 | end | |
| 1804 | end | |
| 1805 | end | |
| 1806 | else | |
| 1807 | Part.Parent = nil | |
| 1808 | table.remove(Effects, e) | |
| 1809 | end | |
| 1810 | end | |
| 1811 | end | |
| 1812 | end | |
| 1813 | end | |
| 1814 | end |