SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 2 | - | local Player,game,owner = owner,game |
| 2 | + | local Player,Mouse,mouse,UserInputService,ContextActionService = owner |
| 3 | - | local RealPlayer = Player |
| 3 | + | |
| 4 | print("FE Compatibility code by Mokiros")
| |
| 5 | - | print("FE Compatibility code by Mokiros")
|
| 5 | + | script.Parent = Player.Character |
| 6 | - | local rp = RealPlayer |
| 6 | + | |
| 7 | - | script.Parent = rp.Character |
| 7 | + | --RemoteEvent for communicating |
| 8 | local Event = Instance.new("RemoteEvent")
| |
| 9 | - | --RemoteEvent for communicating |
| 9 | + | Event.Name = "UserInput_Event" |
| 10 | - | local Event = Instance.new("RemoteEvent")
|
| 10 | + | |
| 11 | - | Event.Name = "UserInput_Event" |
| 11 | + | --Fake event to make stuff like Mouse.KeyDown work |
| 12 | local function fakeEvent() | |
| 13 | - | --Fake event to make stuff like Mouse.KeyDown work |
| 13 | + | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
|
| 14 | - | local function fakeEvent() |
| 14 | + | t.connect = t.Connect |
| 15 | - | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
|
| 15 | + | return t |
| 16 | - | t.connect = t.Connect |
| 16 | + | |
| 17 | - | return t |
| 17 | + | |
| 18 | --Creating fake input objects with fake variables | |
| 19 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 20 | - | --Creating fake input objects with fake variables |
| 20 | + | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
|
| 21 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 22 | - | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
|
| 22 | + | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
|
| 23 | - | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
|
| 23 | + | end} |
| 24 | - | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
|
| 24 | + | --Merged 2 functions into one by checking amount of arguments |
| 25 | - | end} |
| 25 | + | CAS.UnbindAction = CAS.BindAction |
| 26 | - | --Merged 2 functions into one by checking amount of arguments |
| 26 | + | |
| 27 | - | CAS.UnbindAction = CAS.BindAction |
| 27 | + | --This function will trigger the events that have been :Connect()'ed |
| 28 | local function te(self,ev,...) | |
| 29 | - | --This function will trigger the events that have been :Connect()'ed |
| 29 | + | local t = m[ev] |
| 30 | - | local function te(self,ev,...) |
| 30 | + | if t and t._fakeEvent and t.Function then |
| 31 | - | local t = m[ev] |
| 31 | + | t.Function(...) |
| 32 | - | if t and t._fakeEvent then |
| 32 | + | |
| 33 | - | for _,f in pairs(t.Functions) do |
| 33 | + | |
| 34 | - | f(...) |
| 34 | + | m.TrigEvent = te |
| 35 | UIS.TrigEvent = te | |
| 36 | ||
| 37 | Event.OnServerEvent:Connect(function(plr,io) | |
| 38 | - | m.TrigEvent = te |
| 38 | + | if plr~=Player then return end |
| 39 | - | UIS.TrigEvent = te |
| 39 | + | if io.isMouse then |
| 40 | m.Target = io.Target | |
| 41 | - | Event.OnServerEvent:Connect(function(plr,io) |
| 41 | + | m.Hit = io.Hit |
| 42 | - | if plr~=rp then return end |
| 42 | + | else |
| 43 | - | m.Target = io.Target |
| 43 | + | local b = io.UserInputState == Enum.UserInputState.Begin |
| 44 | - | m.Hit = io.Hit |
| 44 | + | if io.UserInputType == Enum.UserInputType.MouseButton1 then |
| 45 | - | if not io.isMouse then |
| 45 | + | return m:TrigEvent(b and "Button1Down" or "Button1Up") |
| 46 | - | local b = io.UserInputState == Enum.UserInputState.Begin |
| 46 | + | |
| 47 | - | if io.UserInputType == Enum.UserInputType.MouseButton1 then |
| 47 | + | for _,t in pairs(CAS.Actions) do |
| 48 | - | return m:TrigEvent(b and "Button1Down" or "Button1Up") |
| 48 | + | for _,k in pairs(t.Keys) do |
| 49 | if k==io.KeyCode then | |
| 50 | - | for _,t in pairs(CAS.Actions) do |
| 50 | + | t.Function(t.Name,io.UserInputState,io) |
| 51 | - | for _,k in pairs(t.Keys) do |
| 51 | + | end |
| 52 | - | if k==io.KeyCode then |
| 52 | + | |
| 53 | - | t.Function(t.Name,io.UserInputState,io) |
| 53 | + | |
| 54 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 55 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 56 | end | |
| 57 | - | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) |
| 57 | + | end) |
| 58 | - | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) |
| 58 | + | Event.Parent = NLS([==[ |
| 59 | - | end |
| 59 | + | local Player = game:GetService("Players").LocalPlayer
|
| 60 | local Event = script:WaitForChild("UserInput_Event")
| |
| 61 | - | Event.Parent = NLS([==[ |
| 61 | + | |
| 62 | - | local Player = game:GetService("Players").LocalPlayer
|
| 62 | + | local UIS = game:GetService("UserInputService")
|
| 63 | - | local Event = script:WaitForChild("UserInput_Event")
|
| 63 | + | local input = function(io,a) |
| 64 | if a then return end | |
| 65 | - | local Mouse = Player:GetMouse() |
| 65 | + | --Since InputObject is a client-side instance, we create and pass table instead |
| 66 | - | local UIS = game:GetService("UserInputService")
|
| 66 | + | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
|
| 67 | - | local input = function(io,a) |
| 67 | + | |
| 68 | - | if a then return end |
| 68 | + | UIS.InputBegan:Connect(input) |
| 69 | - | --Since InputObject is a client-side instance, we create and pass table instead |
| 69 | + | UIS.InputEnded:Connect(input) |
| 70 | - | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
|
| 70 | + | |
| 71 | local Mouse = Player:GetMouse() | |
| 72 | - | UIS.InputBegan:Connect(input) |
| 72 | + | local h,t |
| 73 | - | UIS.InputEnded:Connect(input) |
| 73 | + | --Give the server mouse data 30 times every second, but only if the values changed |
| 74 | --If player is not moving their mouse, client won't fire events | |
| 75 | - | local h,t |
| 75 | + | while wait(1/30) do |
| 76 | - | --Give the server mouse data 30 times every second, but only if the values changed |
| 76 | + | if h~=Mouse.Hit or t~=Mouse.Target then |
| 77 | - | --If player is not moving their mouse, client won't fire events |
| 77 | + | h,t=Mouse.Hit,Mouse.Target |
| 78 | - | while wait(1/30) do |
| 78 | + | Event:FireServer({isMouse=true,Target=t,Hit=h})
|
| 79 | - | if h~=Mouse.Hit or t~=Mouse.Target then |
| 79 | + | |
| 80 | - | h,t=Mouse.Hit,Mouse.Target |
| 80 | + | end]==],Player.Character) |
| 81 | - | Event:FireServer({isMouse=true,Target=t,Hit=h})
|
| 81 | + | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS |
| 82 | end | |
| 83 | - | end]==],Player.Character) |
| 83 | + | ---------------------------------- |
| 84 | wait() | |
| 85 | - | ----Sandboxed game object that allows the usage of client-side methods and services |
| 85 | + | local Player = owner |
| 86 | - | --Real game object |
| 86 | + | local char = Player.Character |
| 87 | - | local _rg = game |
| 87 | + | local hum = char.Humanoid |
| 88 | local hed = char.Head | |
| 89 | - | --Metatable for fake service |
| 89 | + | local root = char.HumanoidRootPart |
| 90 | - | local fsmt = {
|
| 90 | + | local rootj = root.RootJoint |
| 91 | - | __index = function(self,k) |
| 91 | + | local tors = char.Torso |
| 92 | - | local s = rawget(self,"_RealService") |
| 92 | + | local ra = char["Right Arm"] |
| 93 | - | if s then return s[k] end |
| 93 | + | local la = char["Left Arm"] |
| 94 | - | end, |
| 94 | + | local rl = char["Right Leg"] |
| 95 | - | __newindex = function(self,k,v) |
| 95 | + | local ll = char["Left Leg"] |
| 96 | - | local s = rawget(self,"_RealService") |
| 96 | + | local neck = tors["Neck"] |
| 97 | - | if s then s[k]=v end |
| 97 | + | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) |
| 98 | - | end, |
| 98 | + | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) |
| 99 | - | __call = function(self,...) |
| 99 | + | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) |
| 100 | - | local s = rawget(self,"_RealService") |
| 100 | + | local maincolor = BrickColor.new("Really red")
|
| 101 | - | if s then return s(...) end |
| 101 | + | ------------------------------------------------------- |
| 102 | --.-- | |
| 103 | ------------------------------------------------------- | |
| 104 | - | local function FakeService(t,RealService) |
| 104 | + | local lol = Instance.new("Sound")
|
| 105 | - | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService |
| 105 | + | |
| 106 | - | return setmetatable(t,fsmt) |
| 106 | + | lol.Name = "Sound" |
| 107 | lol.SoundId = "http://roblox.com/asset/?id=576082863" | |
| 108 | lol.Volume = 500 | |
| 109 | - | --Fake game object |
| 109 | + | lol.Looped = true |
| 110 | - | local g = {
|
| 110 | + | lol.Parent = Character |
| 111 | - | GetService = function(self,s) |
| 111 | + | lol:play() |
| 112 | - | return self[s] |
| 112 | + | |
| 113 | - | end, |
| 113 | + | ff = Instance.new("ForceField",char)
|
| 114 | - | Players = FakeService({
|
| 114 | + | ff.Visible = false |
| 115 | - | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
|
| 115 | + | hum.Name = "Base" |
| 116 | - | },"Players"), |
| 116 | + | hum.MaxHealth = 1.0E298 |
| 117 | - | UserInputService = FakeService(UIS,"UserInputService"), |
| 117 | + | hum.Health = 1.0E298 |
| 118 | - | ContextActionService = FakeService(CAS,"ContextActionService"), |
| 118 | + | game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
|
| 119 | if hum.Health > 0.1 and hum.Health < 1.0E298 then | |
| 120 | - | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) |
| 120 | + | hum.MaxHealth = 1.0E298 |
| 121 | - | g.service = g.GetService |
| 121 | + | hum.Health = 1.0E298 |
| 122 | end | |
| 123 | - | g.RunService = FakeService({
|
| 123 | + | |
| 124 | - | RenderStepped = _rg:GetService("RunService").Heartbeat,
|
| 124 | + | ------------------------------------------------------- |
| 125 | - | BindToRenderStep = function(self,name,_,fun) |
| 125 | + | --End Whitelist and Invincibility-- |
| 126 | ------------------------------------------------------- | |
| 127 | - | end, |
| 127 | + | function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 128 | - | UnbindFromRenderStep = function(self,name) |
| 128 | + | local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) |
| 129 | - | self._btrs[name]:Disconnect() |
| 129 | + | prt.Anchored = true |
| 130 | - | end, |
| 130 | + | prt.Material = "Neon" |
| 131 | - | },"RunService") |
| 131 | + | prt.CFrame = cframe |
| 132 | prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 133 | - | setmetatable(g,{
|
| 133 | + | local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 134 | - | __index=function(self,s) |
| 134 | + | game:GetService("Debris"):AddItem(prt, 5)
|
| 135 | - | return _rg:GetService(s) or typeof(_rg[s])=="function" |
| 135 | + | coroutine.resume(coroutine.create(function(Part, Mesh) |
| 136 | - | and function(_,...)return _rg[s](_rg,...)end or _rg[s] |
| 136 | + | for i = 0, 1, delay do |
| 137 | - | end, |
| 137 | + | swait() |
| 138 | - | __newindex = fsmt.__newindex, |
| 138 | + | Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) |
| 139 | - | __call = fsmt.__call |
| 139 | + | Part.Transparency = i |
| 140 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
| 141 | - | --Changing owner to fake player object to support owner:GetMouse() |
| 141 | + | |
| 142 | - | game,owner = g,g.Players.LocalPlayer |
| 142 | + | Part.Parent = nil |
| 143 | end), prt, msh) | |
| 144 | - | --------------------------- |
| 144 | + | |
| 145 | ||
| 146 | - | script.Name = "Banisher Gun V3 / 1" |
| 146 | + | |
| 147 | - | --//====================================================\\-- |
| 147 | + | function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype) |
| 148 | - | --|| CREATED BY SHACKLUSTER |
| 148 | + | local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) |
| 149 | - | --\\====================================================//-- |
| 149 | + | prt.Anchored = true |
| 150 | prt.Material = "Neon" | |
| 151 | - | script:ClearAllChildren() |
| 151 | + | prt.CFrame = cframe |
| 152 | - | wait(0.2) |
| 152 | + | local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, 0.01))
|
| 153 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 154 | - | Player = owner |
| 154 | + | coroutine.resume(coroutine.create(function(Part, Mesh) |
| 155 | - | PlayerGui = Player.PlayerGui |
| 155 | + | local rtype = rottype |
| 156 | - | Cam = workspace.CurrentCamera |
| 156 | + | for i = 0, 1, delay do |
| 157 | - | Backpack = Player.Backpack |
| 157 | + | swait() |
| 158 | - | Character = Player.Character |
| 158 | + | if rtype == 1 then |
| 159 | - | Humanoid = Character.Humanoid |
| 159 | + | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) |
| 160 | - | Mouse = Player:GetMouse() |
| 160 | + | elseif rtype == 2 then |
| 161 | - | RootPart = Character["HumanoidRootPart"] |
| 161 | + | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) |
| 162 | - | Torso = Character["Torso"] |
| 162 | + | |
| 163 | - | Head = Character["Head"] |
| 163 | + | prt.Transparency = i |
| 164 | - | RightArm = Character["Right Arm"] |
| 164 | + | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, 0) |
| 165 | - | LeftArm = Character["Left Arm"] |
| 165 | + | |
| 166 | - | RightLeg = Character["Right Leg"] |
| 166 | + | Part.Parent = nil |
| 167 | - | LeftLeg = Character["Left Leg"] |
| 167 | + | end), prt, msh) |
| 168 | - | RootJoint = RootPart["RootJoint"] |
| 168 | + | |
| 169 | - | Neck = Torso["Neck"] |
| 169 | + | |
| 170 | - | RightShoulder = Torso["Right Shoulder"] |
| 170 | + | ------------------------------------------------------- |
| 171 | - | LeftShoulder = Torso["Left Shoulder"] |
| 171 | + | --Start Good Stuff-- |
| 172 | - | RightHip = Torso["Right Hip"] |
| 172 | + | ------------------------------------------------------- |
| 173 | - | LeftHip = Torso["Left Hip"] |
| 173 | + | |
| 174 | - | local TIME = 0 |
| 174 | + | cam = game.Workspace.CurrentCamera |
| 175 | - | local SIZE = 1 |
| 175 | + | |
| 176 | angles = CFrame.Angles | |
| 177 | attack = false | |
| 178 | Euler = CFrame.fromEulerAnglesXYZ | |
| 179 | - | VT = Vector3.new |
| 179 | + | Rad = math.rad |
| 180 | - | RAD = math.rad |
| 180 | + | |
| 181 | - | C3 = Color3.new |
| 181 | + | BrickC = BrickColor.new |
| 182 | - | UD2 = UDim2.new |
| 182 | + | Cos = math.cos |
| 183 | - | BRICKC = BrickColor.new |
| 183 | + | Acos = math.acos |
| 184 | - | ANGLES = CFrame.Angles |
| 184 | + | Sin = math.sin |
| 185 | - | EULER = CFrame.fromEulerAnglesXYZ |
| 185 | + | Asin = math.asin |
| 186 | - | COS = math.cos |
| 186 | + | Abs = math.abs |
| 187 | - | ACOS = math.acos |
| 187 | + | Mrandom = math.random |
| 188 | - | SIN = math.sin |
| 188 | + | Floor = math.floor |
| 189 | - | ASIN = math.asin |
| 189 | + | ------------------------------------------------------- |
| 190 | - | ABS = math.abs |
| 190 | + | --End Good Stuff-- |
| 191 | - | MRANDOM = math.random |
| 191 | + | ------------------------------------------------------- |
| 192 | - | FLOOR = math.floor |
| 192 | + | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
| 193 | - | --//=================================\\ |
| 193 | + | RSH, LSH = nil, nil |
| 194 | - | --|| USEFUL VALUES |
| 194 | + | RW = Instance.new("Weld")
|
| 195 | - | --\\=================================// |
| 195 | + | LW = Instance.new("Weld")
|
| 196 | RH = tors["Right Hip"] | |
| 197 | - | Animation_Speed = 3 |
| 197 | + | LH = tors["Left Hip"] |
| 198 | - | local FORCERESET = false |
| 198 | + | RSH = tors["Right Shoulder"] |
| 199 | - | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) |
| 199 | + | LSH = tors["Left Shoulder"] |
| 200 | - | local Speed = 16 |
| 200 | + | RSH.Parent = nil |
| 201 | - | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) |
| 201 | + | LSH.Parent = nil |
| 202 | - | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) |
| 202 | + | RW.Name = "RW" |
| 203 | - | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) |
| 203 | + | RW.Part0 = tors |
| 204 | - | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) |
| 204 | + | RW.C0 = CF(1.5, 0.5, 0) |
| 205 | - | local DAMAGEMULTIPLIER = 1 |
| 205 | + | RW.C1 = CF(0, 0.5, 0) |
| 206 | - | local ANIM = "Idle" |
| 206 | + | RW.Part1 = ra |
| 207 | - | local ATTACK = false |
| 207 | + | RW.Parent = tors |
| 208 | - | local EQUIPPED = false |
| 208 | + | LW.Name = "LW" |
| 209 | - | local HOLD = false |
| 209 | + | LW.Part0 = tors |
| 210 | - | local COMBO = 1 |
| 210 | + | LW.C0 = CF(-1.5, 0.5, 0) |
| 211 | - | local Rooted = false |
| 211 | + | LW.C1 = CF(0, 0.5, 0) |
| 212 | - | local SINE = 0 |
| 212 | + | LW.Part1 = la |
| 213 | - | local KEYHOLD = false |
| 213 | + | LW.Parent = tors |
| 214 | - | local CHANGE = 2 / Animation_Speed |
| 214 | + | Effects = {}
|
| 215 | - | local WALKINGANIM = false |
| 215 | + | ------------------------------------------------------- |
| 216 | - | local VALUE1 = false |
| 216 | + | --Start HeartBeat-- |
| 217 | - | local VALUE2 = false |
| 217 | + | ------------------------------------------------------- |
| 218 | - | local ROBLOXIDLEANIMATION = IT("Animation")
|
| 218 | + | |
| 219 | - | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" |
| 219 | + | ArtificialHB.Name = "Heartbeat" |
| 220 | - | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" |
| 220 | + | script:WaitForChild("Heartbeat")
|
| 221 | - | --ROBLOXIDLEANIMATION.Parent = Humanoid |
| 221 | + | |
| 222 | - | local WEAPONGUI = IT("ScreenGui", PlayerGui)
|
| 222 | + | frame = 1 / 60 |
| 223 | - | WEAPONGUI.Name = "BanishV3Gui" |
| 223 | + | |
| 224 | - | local Weapon = IT("Model")
|
| 224 | + | |
| 225 | - | Weapon.Name = "Adds" |
| 225 | + | |
| 226 | - | local Effects = IT("Folder", Weapon)
|
| 226 | + | |
| 227 | - | Effects.Name = "Effects" |
| 227 | + | |
| 228 | - | local ANIMATOR = Humanoid.Animator |
| 228 | + | |
| 229 | - | local ANIMATE = Character:FindFirstChild("Animate")
|
| 229 | + | script.Heartbeat:Fire() |
| 230 | - | local UNANCHOR = true |
| 230 | + | |
| 231 | - | local TOBANISH = {}
|
| 231 | + | |
| 232 | - | script.Parent = PlayerGui |
| 232 | + | |
| 233 | tf = tf + s | |
| 234 | - | --//=================================\\ |
| 234 | + | |
| 235 | - | --\\=================================// |
| 235 | + | |
| 236 | script.Heartbeat:Fire() | |
| 237 | lastframe = tick() | |
| 238 | - | --//=================================\\ |
| 238 | + | |
| 239 | - | --|| SAZERENOS' ARTIFICIAL HEARTBEAT |
| 239 | + | |
| 240 | - | --\\=================================// |
| 240 | + | script.Heartbeat:Fire() |
| 241 | end | |
| 242 | lastframe = tick() | |
| 243 | - | ArtificialHB.Name = "ArtificialHB" |
| 243 | + | |
| 244 | if tossremainder then | |
| 245 | - | script:WaitForChild("ArtificialHB")
|
| 245 | + | |
| 246 | else | |
| 247 | - | frame = Frame_Speed |
| 247 | + | |
| 248 | end | |
| 249 | end | |
| 250 | end) | |
| 251 | ||
| 252 | - | script.ArtificialHB:Fire() |
| 252 | + | |
| 253 | for i,v in pairs(char:children()) do | |
| 254 | if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
| |
| 255 | v:Remove() | |
| 256 | end | |
| 257 | end | |
| 258 | - | script.ArtificialHB:Fire() |
| 258 | + | shirt = Instance.new("Shirt", char)
|
| 259 | shirt.Name = "Shirt" | |
| 260 | pants = Instance.new("Pants", char)
| |
| 261 | pants.Name = "Pants" | |
| 262 | - | script.ArtificialHB:Fire() |
| 262 | + | char.Shirt.ShirtTemplate = "rbxassetid://791994658" |
| 263 | char.Pants.PantsTemplate = "rbxassetid://1029442377" | |
| 264 | - | lastframe = tick() |
| 264 | + | ----------------------------------------- |
| 265 | --[[ | |
| 266 | Thanks for using Build-To-Lua by jarredbcv. | |
| 267 | ]]-- | |
| 268 | ||
| 269 | New = function(Object, Parent, Name, Data) | |
| 270 | local Object = Instance.new(Object) | |
| 271 | for Index, Value in pairs(Data or {}) do
| |
| 272 | Object[Index] = Value | |
| 273 | end | |
| 274 | - | --//=================================\\ |
| 274 | + | Object.Parent = Parent |
| 275 | - | --\\=================================// |
| 275 | + | Object.Name = Name |
| 276 | - | local sick = Instance.new("Sound",Character)
|
| 276 | + | return Object |
| 277 | - | sick.SoundId = "rbxassetid://576082863" |
| 277 | + | |
| 278 | - | sick.Looped = true |
| 278 | + | |
| 279 | - | sick.Pitch = 1 |
| 279 | + | Gaunty = New("Model",char,"Gaunty",{})
|
| 280 | - | sick.Volume = 500.1367 |
| 280 | + | Handle = New("Part",Gaunty,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 1.26999998, 1),CFrame = CFrame.new(-5.67319345, 3.02064276, -77.6615906, 0.999894261, 0.010924357, 0.00963267777, -0.0110270018, 0.999882579, 0.0106679145, -0.00951499958, -0.0107729975, 0.999897003),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
|
| 281 | - | sick:Play() |
| 281 | + | Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 282 | - | --//=================================\\ |
| 282 | + | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.82765579, 3.62595344, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 283 | - | --|| SOME FUNCTIONS |
| 283 | + | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.161155701, 0.603512526, 0.00862884521, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 284 | - | --\\=================================// |
| 284 | + | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-6.13765526, 3.62595367, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 285 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.471122265, 0.600126028, 0.00564575195, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 286 | - | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) |
| 286 | + | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.5176549, 3.62595415, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 287 | - | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) |
| 287 | + | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.148812294, 0.606899738, 0.0116195679, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 288 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.21765471, 3.62595463, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
| |
| 289 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.448780537, 0.610177517, 0.014503479, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 290 | - | function PositiveAngle(NUMBER) |
| 290 | + | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-6.13765526, 2.53595448, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 291 | - | if NUMBER >= 0 then |
| 291 | + | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.459102631, -0.489744425, -0.00598144531, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 292 | - | NUMBER = 0 |
| 292 | + | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.82765627, 2.53595448, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 293 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.149136543, -0.486357927, -0.00299835205, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 294 | - | return NUMBER |
| 294 | + | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.51765537, 2.53595448, -77.6579361, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 295 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.160831451, -0.48297143, -1.52587891e-05, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 296 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.21765566, 2.53595424, -77.6579361, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
| |
| 297 | - | function NegativeAngle(NUMBER) |
| 297 | + | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.460799217, -0.479694128, 0.00286865234, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 298 | - | if NUMBER <= 0 then |
| 298 | + | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07999992, 0.279999971, 1.06999993),CFrame = CFrame.new(-5.66865063, 3.64553881, -77.6613617, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
|
| 299 | - | NUMBER = 0 |
| 299 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 300 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(-0.00235080719, 0.624869347, 0.00694274902, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 301 | - | return NUMBER |
| 301 | + | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66490126, 3.73544312, -77.6652145, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 302 | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 303 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.000443935394, 0.714845657, 0.00408172607, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 304 | - | function Swait(NUMBER) |
| 304 | + | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66480446, 3.52554965, -77.65522, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 305 | - | if NUMBER == 0 or NUMBER == nil then |
| 305 | + | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 306 | - | ArtificialHB.Event:wait() |
| 306 | + | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.00275993347, 0.504870415, 0.0118331909, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 307 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07999992, 0.279999971, 1.06999993),CFrame = CFrame.new(-5.6686511, 2.55553746, -77.6613541, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 308 | - | for i = 1, NUMBER do |
| 308 | + | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 309 | - | ArtificialHB.Event:wait() |
| 309 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.00966835022, -0.465003252, -0.00468444824, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 310 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66490126, 2.64544272, -77.6652145, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
| |
| 311 | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
| |
| 312 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.0124630928, -0.375026226, -0.00754547119, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 313 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66480494, 2.43554902, -77.65522, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
| |
| 314 | - | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) |
| 314 | + | Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
|
| 315 | - | local NEWMESH = IT(MESH) |
| 315 | + | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.0147790909, -0.585001707, 0.000205993652, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 316 | - | if MESH == "SpecialMesh" then |
| 316 | + | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 3.62595463, -78.1079407, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 317 | - | NEWMESH.MeshType = MESHTYPE |
| 317 | + | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.0018901825, 0.61005497, -0.439842224, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 318 | - | if MESHID ~= "nil" and MESHID ~= "" then |
| 318 | + | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 3.62595558, -77.8179321, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 319 | - | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID |
| 319 | + | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00464963913, 0.606931448, -0.149864197, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 320 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 3.62595606, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
| |
| 321 | - | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then |
| 321 | + | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00278997421, 0.603431463, 0.180152893, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 322 | - | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID |
| 322 | + | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 3.62595654, -77.1979294, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 323 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00554895401, 0.600307703, 0.470123291, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 324 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 2.53595638, -77.1979294, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
| |
| 325 | - | NEWMESH.Offset = OFFSET or VT(0, 0, 0) |
| 325 | + | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.0064702034, -0.489563704, 0.458496094, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 326 | - | NEWMESH.Scale = SCALE |
| 326 | + | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 2.53595614, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 327 | - | NEWMESH.Parent = PARENT |
| 327 | + | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00922966003, -0.486439705, 0.168525696, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 328 | - | return NEWMESH |
| 328 | + | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265558, 2.53595638, -77.8179245, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 329 | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00736999512, -0.482939243, -0.161483765, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 330 | NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 2.53595614, -78.1079254, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
| |
| 331 | - | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) |
| 331 | + | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.0101289749, -0.479815245, -0.451454163, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 332 | - | local NEWPART = IT("Part")
|
| 332 | + | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765547, 3.62595677, -77.1979218, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
|
| 333 | - | NEWPART.formFactor = FORMFACTOR |
| 333 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(-0.00554943085, 0.600307941, 0.47013092, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 334 | - | NEWPART.Reflectance = REFLECTANCE |
| 334 | + | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 3.62595701, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
|
| 335 | - | NEWPART.Transparency = TRANSPARENCY |
| 335 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(-0.00278949738, 0.603432655, 0.180152893, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 336 | - | NEWPART.CanCollide = false |
| 336 | + | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765451, 3.62595749, -77.8179321, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
|
| 337 | - | NEWPART.Locked = true |
| 337 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.000350952148, 0.606987953, -0.149810791, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 338 | - | NEWPART.Anchored = true |
| 338 | + | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765451, 3.62595749, -78.107933, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
|
| 339 | - | if ANCHOR == false then |
| 339 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00311040878, 0.61011219, -0.439788818, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 340 | - | NEWPART.Anchored = false |
| 340 | + | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.53595734, -78.107933, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
|
| 341 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.0151295662, -0.479759216, -0.451416016, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 342 | - | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) |
| 342 | + | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.5359571, -77.8179245, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
|
| 343 | - | NEWPART.Name = NAME |
| 343 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.0123701096, -0.482883692, -0.161437988, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 344 | - | NEWPART.Size = SIZE |
| 344 | + | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.5359571, -77.4879227, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
|
| 345 | - | NEWPART.Position = Torso.Position |
| 345 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00923013687, -0.48643899, 0.168533325, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 346 | - | NEWPART.Material = MATERIAL |
| 346 | + | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.53595686, -77.1979218, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
|
| 347 | - | NEWPART:BreakJoints() |
| 347 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00647068024, -0.489563227, 0.458503723, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 348 | - | NEWPART.Parent = PARENT |
| 348 | + | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-6.13765478, 3.62595701, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
|
| 349 | - | return NEWPART |
| 349 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.471121788, 0.600129128, 0.00566101074, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 350 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.82765484, 3.62595725, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 351 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.161154747, 0.603516102, 0.008644104, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 352 | - | local function weldBetween(a, b) |
| 352 | + | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.51765442, 3.62595773, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
|
| 353 | - | local weldd = Instance.new("ManualWeld")
|
| 353 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.148812771, 0.606903076, 0.0116348267, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 354 | - | weldd.Part0 = a |
| 354 | + | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.21765375, 3.6259582, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
|
| 355 | - | weldd.Part1 = b |
| 355 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.44878149, 0.610180855, 0.0145187378, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 356 | - | weldd.C0 = CFrame.new() |
| 356 | + | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.21765327, 2.53595781, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
|
| 357 | - | weldd.C1 = b.CFrame:inverse() * a.CFrame |
| 357 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.460801125, -0.47969079, 0.00289154053, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 358 | - | weldd.Parent = a |
| 358 | + | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.51765299, 2.53595757, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
|
| 359 | - | return weldd |
| 359 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.160833359, -0.48296833, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 360 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.82765341, 2.53595734, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 361 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.149133682, -0.486355066, -0.00299072266, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
| |
| 362 | Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-6.13765383, 2.53595734, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 363 | - | CV="Magenta" |
| 363 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.4591012, -0.489741802, -0.00597381592, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 364 | - | p = game.Players.LocalPlayer |
| 364 | + | NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.25000003),CFrame = CFrame.new(-5.66203499, 3.4509573, -77.7865677, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 365 | - | char = p.Character |
| 365 | + | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00760126114, 0.431732178, -0.120269775, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 366 | - | local txt = Instance.new("BillboardGui", char)
|
| 366 | + | NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.280000031),CFrame = CFrame.new(-5.66203451, 3.45095778, -77.5215683, -1.0000006, -6.18456397e-10, -9.12696123e-08, 6.18456397e-10, 1.0000006, -4.65661287e-09, 8.38190317e-08, 4.65661287e-09, -1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 367 | - | txt.Adornee = char .Head |
| 367 | + | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, -1),C1 = CFrame.new(0.00508022308, 0.428877592, 0.144706726, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 368 | - | txt.Name = "_status" |
| 368 | + | NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.25000003),CFrame = CFrame.new(-5.66203403, 2.81095791, -77.7865601, -1.0000006, 8.81700544e-08, 3.7252903e-09, -8.69331416e-08, -1.0000006, 4.65661287e-09, -3.7252903e-09, -4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 369 | - | txt.Size = UDim2.new(2, 0, 1.2, 0) |
| 369 | + | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, -8.74227766e-08, 0, 8.74227766e-08, -1, 0, 0, 0, 1),C1 = CFrame.new(0.0146594048, -0.208191872, -0.127082825, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 370 | - | txt.StudsOffset = Vector3.new(-9, 8, 0) |
| 370 | + | NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.280000031),CFrame = CFrame.new(-5.66203356, 2.8209579, -77.5215607, 1.0000006, -8.69331416e-08, 8.38190317e-08, -8.81700544e-08, -1.0000006, -4.65661287e-09, 9.12696123e-08, -4.65661287e-09, -1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
|
| 371 | - | local text = Instance.new("TextLabel", txt)
|
| 371 | + | mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, -8.74227766e-08, 8.74227766e-08, -8.74227766e-08, -1, -7.64274186e-15, 8.74227766e-08, 0, -1),C1 = CFrame.new(0.0120282173, -0.201047897, 0.137992859, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 372 | - | text.Size = UDim2.new(10, 0, 7, 0) |
| 372 | + | Wedge = New("WedgePart",Gaunty,"Wedge",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.1099999, 0.569999993, 1.13),CFrame = CFrame.new(-5.6508193, 4.06113148, -77.6620178, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
|
| 373 | - | text.FontSize = "Size24" |
| 373 | + | mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.0109024048, 1.04061508, 0.010887146, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
|
| 374 | - | text.TextScaled = true |
| 374 | + | |
| 375 | - | text.TextTransparency = 0 |
| 375 | + | |
| 376 | - | text.BackgroundTransparency = 1 |
| 376 | + | local NewInstance = function(instance,parent,properties) |
| 377 | - | text.TextTransparency = 0 |
| 377 | + | local inst = Instance.new(instance,parent) |
| 378 | - | text.TextStrokeTransparency = 0 |
| 378 | + | if(properties)then |
| 379 | - | text.Font = "Bodoni" |
| 379 | + | for i,v in next, properties do |
| 380 | - | text.TextStrokeColor3 = Color3.new(0,0,0) |
| 380 | + | pcall(function() inst[i] = v end) |
| 381 | end | |
| 382 | - | v=Instance.new("Part")
|
| 382 | + | |
| 383 | - | v.Name = "ColorBrick" |
| 383 | + | return inst; |
| 384 | - | v.Parent=p.Character |
| 384 | + | |
| 385 | - | v.FormFactor="Symmetric" |
| 385 | + | |
| 386 | - | v.Anchored=true |
| 386 | + | |
| 387 | - | v.CanCollide=false |
| 387 | + | local HW = NewInstance('Motor', char, {Part0 = ra, Part1 = Handle, C0 = CF(0,-.51,0)})
|
| 388 | - | v.BottomSurface="Smooth" |
| 388 | + | |
| 389 | - | v.TopSurface="Smooth" |
| 389 | + | for _,v in next, Gaunty:children() do |
| 390 | - | v.Size=Vector3.new(10,5,3) |
| 390 | + | v.CanCollide = false |
| 391 | - | v.Transparency=1 |
| 391 | + | |
| 392 | - | v.CFrame=char.Torso.CFrame |
| 392 | + | |
| 393 | - | v.BrickColor=BrickColor.new(CV) |
| 393 | + | |
| 394 | - | v.Transparency=1 |
| 394 | + | local all, last = {}, nil
|
| 395 | - | text.TextColor3 = Color3.new(255,0,0) |
| 395 | + | ArmourParts = {}
|
| 396 | - | v.Shape="Block" |
| 396 | + | NeonParts = {}
|
| 397 | - | text.Text = "Anime Girl" |
| 397 | + | function scan(p) |
| 398 | for _, v in pairs(p:GetChildren()) do | |
| 399 | if v:IsA("BasePart") then
| |
| 400 | if v.BrickColor == BrickColor.new("Really red") then
| |
| 401 | table.insert(ArmourParts, v) | |
| 402 | end | |
| 403 | - | if trace > 0 then |
| 403 | + | if v.BrickColor == BrickColor.new("Really red") then
|
| 404 | table.insert(NeonParts, v) | |
| 405 | end | |
| 406 | if last then | |
| 407 | local w = Instance.new("Weld")
| |
| 408 | w.Part0, w.Part1 = last, v | |
| 409 | - | if m11 > m00 then |
| 409 | + | w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse() |
| 410 | w.Parent = last | |
| 411 | end | |
| 412 | table.insert(all, v) | |
| 413 | last = v | |
| 414 | end | |
| 415 | scan(v) | |
| 416 | end | |
| 417 | end | |
| 418 | scan(Gaunty) | |
| 419 | local all2, last2 = {}, nil
| |
| 420 | ArmourParts2 = {}
| |
| 421 | NeonParts2 = {}
| |
| 422 | function scan2(p) | |
| 423 | for _, v in pairs(p:GetChildren()) do | |
| 424 | if v:IsA("BasePart") then
| |
| 425 | - | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip |
| 425 | + | if v.BrickColor == BrickColor.new("Really red") then
|
| 426 | table.insert(ArmourParts2, v) | |
| 427 | end | |
| 428 | if v.BrickColor == BrickColor.new("Really red") then
| |
| 429 | table.insert(NeonParts2, v) | |
| 430 | end | |
| 431 | if last2 then | |
| 432 | local w = Instance.new("Weld")
| |
| 433 | w.Part0, w.Part1 = last2, v | |
| 434 | w.C0 = v.CFrame:toObjectSpace(last2.CFrame):inverse() | |
| 435 | w.Parent = last2 | |
| 436 | end | |
| 437 | table.insert(all2, v) | |
| 438 | last2 = v | |
| 439 | end | |
| 440 | scan2(v) | |
| 441 | end | |
| 442 | end | |
| 443 | for i, v in pairs(ArmourParts) do | |
| 444 | - | local startInterp, finishInterp; |
| 444 | + | v.BrickColor = BrickC("Really red")
|
| 445 | - | if cosTheta >= 0.0001 then |
| 445 | + | |
| 446 | - | if (1 - cosTheta) > 0.0001 then |
| 446 | + | for i, v in pairs(NeonParts) do |
| 447 | - | local theta = ACOS(cosTheta) |
| 447 | + | v.BrickColor = BrickColor.random() |
| 448 | - | local invSinTheta = 1 / SIN(theta) |
| 448 | + | end |
| 449 | - | startInterp = SIN((1 - t) * theta) * invSinTheta |
| 449 | + | for i, v in pairs(ArmourParts2) do |
| 450 | - | finishInterp = SIN(t * theta) * invSinTheta |
| 450 | + | v.BrickColor = BrickC("Really red")
|
| 451 | end | |
| 452 | for i, v in pairs(NeonParts2) do | |
| 453 | v.BrickColor = BrickColor.random() | |
| 454 | end | |
| 455 | ------------------------------------------------------- | |
| 456 | - | if (1 + cosTheta) > 0.0001 then |
| 456 | + | --End HeartBeat-- |
| 457 | - | local theta = ACOS(-cosTheta) |
| 457 | + | ------------------------------------------------------- |
| 458 | - | local invSinTheta = 1 / SIN(theta) |
| 458 | + | local l = game.Lighting |
| 459 | - | startInterp = SIN((t - 1) * theta) * invSinTheta |
| 459 | + | local sky = Instance.new("Sky",l)
|
| 460 | - | finishInterp = SIN(t * theta) * invSinTheta |
| 460 | + | l.TimeOfDay = "00:00:00" |
| 461 | l.Brightness = 1 | |
| 462 | - | startInterp = t - 1 |
| 462 | + | l.Ambient = Color3.new(0.25, 0.5, 0.75) |
| 463 | --- | |
| 464 | local runDummyScript = function(f,scri) | |
| 465 | local oldenv = getfenv(f) | |
| 466 | local newenv = setmetatable({}, {
| |
| 467 | __index = function(_, k) | |
| 468 | if k:lower() == 'script' then | |
| 469 | - | function Clerp(a, b, t) |
| 469 | + | return scri |
| 470 | - | local qa = {QuaternionFromCFrame(a)}
|
| 470 | + | else |
| 471 | - | local qb = {QuaternionFromCFrame(b)}
|
| 471 | + | return oldenv[k] |
| 472 | end | |
| 473 | end | |
| 474 | }) | |
| 475 | setfenv(f, newenv) | |
| 476 | ypcall(function() f() end) | |
| 477 | end | |
| 478 | - | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) |
| 478 | + | cors = {}
|
| 479 | - | local frame = IT("Frame")
|
| 479 | + | mas = Instance.new("Model",game:GetService("Lighting"))
|
| 480 | - | frame.BackgroundTransparency = TRANSPARENCY |
| 480 | + | mas.Name = "CompiledModel" |
| 481 | - | frame.BorderSizePixel = BORDERSIZEPIXEL |
| 481 | + | o1 = Instance.new("Model")
|
| 482 | - | frame.Position = POSITION |
| 482 | + | o2 = Instance.new("Part")
|
| 483 | - | frame.Size = SIZE |
| 483 | + | o3 = Instance.new("SpecialMesh")
|
| 484 | - | frame.BackgroundColor3 = COLOR |
| 484 | + | o4 = Instance.new("Model")
|
| 485 | - | frame.BorderColor3 = BORDERCOLOR |
| 485 | + | o5 = Instance.new("Part")
|
| 486 | - | frame.Name = NAME |
| 486 | + | o6 = Instance.new("SpecialMesh")
|
| 487 | - | frame.Parent = PARENT |
| 487 | + | o7 = Instance.new("Weld")
|
| 488 | - | return frame |
| 488 | + | o8 = Instance.new("Part")
|
| 489 | o9 = Instance.new("SpecialMesh")
| |
| 490 | o10 = Instance.new("Weld")
| |
| 491 | - | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) |
| 491 | + | o11 = Instance.new("Part")
|
| 492 | - | local label = IT("TextLabel")
|
| 492 | + | o12 = Instance.new("SpecialMesh")
|
| 493 | - | label.BackgroundTransparency = 1 |
| 493 | + | o13 = Instance.new("Weld")
|
| 494 | - | label.Size = UD2(1, 0, 1, 0) |
| 494 | + | o14 = Instance.new("Part")
|
| 495 | - | label.Position = UD2(0, 0, 0, 0) |
| 495 | + | o15 = Instance.new("SpecialMesh")
|
| 496 | - | label.TextColor3 = TEXTCOLOR |
| 496 | + | o16 = Instance.new("Weld")
|
| 497 | - | label.TextStrokeTransparency = STROKETRANSPARENCY |
| 497 | + | o17 = Instance.new("Part")
|
| 498 | - | label.TextTransparency = TRANSPARENCY |
| 498 | + | o18 = Instance.new("SpecialMesh")
|
| 499 | - | label.FontSize = TEXTFONTSIZE |
| 499 | + | o19 = Instance.new("Weld")
|
| 500 | - | label.Font = TEXTFONT |
| 500 | + | o20 = Instance.new("Part")
|
| 501 | - | label.BorderSizePixel = BORDERSIZEPIXEL |
| 501 | + | o21 = Instance.new("SpecialMesh")
|
| 502 | - | label.TextScaled = false |
| 502 | + | o22 = Instance.new("Weld")
|
| 503 | - | label.Text = TEXT |
| 503 | + | o23 = Instance.new("Part")
|
| 504 | - | label.Name = NAME |
| 504 | + | o24 = Instance.new("SpecialMesh")
|
| 505 | - | label.Parent = PARENT |
| 505 | + | o25 = Instance.new("Weld")
|
| 506 | - | return label |
| 506 | + | o26 = Instance.new("Part")
|
| 507 | o27 = Instance.new("SpecialMesh")
| |
| 508 | o28 = Instance.new("Weld")
| |
| 509 | - | function NoOutlines(PART) |
| 509 | + | o29 = Instance.new("Part")
|
| 510 | - | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 |
| 510 | + | o30 = Instance.new("SpecialMesh")
|
| 511 | o31 = Instance.new("Weld")
| |
| 512 | o32 = Instance.new("Part")
| |
| 513 | - | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) |
| 513 | + | o33 = Instance.new("SpecialMesh")
|
| 514 | - | local NEWWELD = IT(TYPE) |
| 514 | + | o34 = Instance.new("Weld")
|
| 515 | - | NEWWELD.Part0 = PART0 |
| 515 | + | o35 = Instance.new("Part")
|
| 516 | - | NEWWELD.Part1 = PART1 |
| 516 | + | o36 = Instance.new("SpecialMesh")
|
| 517 | - | NEWWELD.C0 = C0 |
| 517 | + | o37 = Instance.new("Weld")
|
| 518 | - | NEWWELD.C1 = C1 |
| 518 | + | o38 = Instance.new("Part")
|
| 519 | - | NEWWELD.Parent = PARENT |
| 519 | + | o39 = Instance.new("SpecialMesh")
|
| 520 | - | return NEWWELD |
| 520 | + | o40 = Instance.new("Weld")
|
| 521 | o41 = Instance.new("Part")
| |
| 522 | o42 = Instance.new("SpecialMesh")
| |
| 523 | - | local S = IT("Sound")
|
| 523 | + | o43 = Instance.new("Weld")
|
| 524 | - | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) |
| 524 | + | o44 = Instance.new("Part")
|
| 525 | - | local NEWSOUND = nil |
| 525 | + | o45 = Instance.new("SpecialMesh")
|
| 526 | o46 = Instance.new("Weld")
| |
| 527 | - | NEWSOUND = S:Clone() |
| 527 | + | o47 = Instance.new("Part")
|
| 528 | - | NEWSOUND.Parent = PARENT |
| 528 | + | o48 = Instance.new("SpecialMesh")
|
| 529 | - | NEWSOUND.Volume = VOLUME |
| 529 | + | o49 = Instance.new("Weld")
|
| 530 | - | NEWSOUND.Pitch = PITCH |
| 530 | + | o50 = Instance.new("Part")
|
| 531 | - | NEWSOUND.SoundId = "1753701701"..ID |
| 531 | + | o51 = Instance.new("SpecialMesh")
|
| 532 | - | NEWSOUND:play() |
| 532 | + | o52 = Instance.new("Weld")
|
| 533 | - | if DOESLOOP == true then |
| 533 | + | o53 = Instance.new("Part")
|
| 534 | - | NEWSOUND.Looped = true |
| 534 | + | o54 = Instance.new("SpecialMesh")
|
| 535 | o55 = Instance.new("Weld")
| |
| 536 | - | repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT |
| 536 | + | o56 = Instance.new("Part")
|
| 537 | - | NEWSOUND:remove() |
| 537 | + | o57 = Instance.new("SpecialMesh")
|
| 538 | o58 = Instance.new("Weld")
| |
| 539 | o59 = Instance.new("Part")
| |
| 540 | - | return NEWSOUND |
| 540 | + | o60 = Instance.new("SpecialMesh")
|
| 541 | o61 = Instance.new("Weld")
| |
| 542 | o62 = Instance.new("Part")
| |
| 543 | - | function CFrameFromTopBack(at, top, back) |
| 543 | + | o63 = Instance.new("SpecialMesh")
|
| 544 | - | local right = top:Cross(back) |
| 544 | + | o64 = Instance.new("Weld")
|
| 545 | - | return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) |
| 545 | + | o1.Name = "Head_" |
| 546 | o1.Parent = mas | |
| 547 | o2.Name = "REF" | |
| 548 | - | --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
|
| 548 | + | o2.Parent = o1 |
| 549 | - | function WACKYEFFECT(Table) |
| 549 | + | o2.Transparency = 1 |
| 550 | - | local TYPE = (Table.EffectType or "Sphere") |
| 550 | + | o2.Position = Vector3.new(110.644409, 4.68007088, -60.6269913) |
| 551 | - | local SIZE = (Table.Size or VT(1,1,1)) |
| 551 | + | o2.Rotation = Vector3.new(180, 0.0199999996, -180) |
| 552 | - | local ENDSIZE = (Table.Size2 or VT(0,0,0)) |
| 552 | + | o2.Anchored = false |
| 553 | - | local TRANSPARENCY = (Table.Transparency or 0) |
| 553 | + | o2.CanCollide = false |
| 554 | - | local ENDTRANSPARENCY = (Table.Transparency2 or 1) |
| 554 | + | o2.FormFactor = Enum.FormFactor.Symmetric |
| 555 | - | local CFRAME = (Table.CFrame or Torso.CFrame) |
| 555 | + | o2.Size = Vector3.new(2, 1, 1) |
| 556 | - | local MOVEDIRECTION = (Table.MoveToPos or nil) |
| 556 | + | o2.CFrame = CFrame.new(110.644409, 4.68007088, -60.6269913, -0.99999994, 1.23944917e-22, 0.000331714633, 1.23908515e-22, 1, -1.09738441e-22, -0.000331714633, -1.09697344e-22, -0.99999994) |
| 557 | - | local ROTATION1 = (Table.RotationX or 0) |
| 557 | + | o2.BottomSurface = Enum.SurfaceType.Smooth |
| 558 | - | local ROTATION2 = (Table.RotationY or 0) |
| 558 | + | o2.TopSurface = Enum.SurfaceType.Smooth |
| 559 | - | local ROTATION3 = (Table.RotationZ or 0) |
| 559 | + | o2.Position = Vector3.new(110.644409, 4.68007088, -60.6269913) |
| 560 | - | local MATERIAL = (Table.Material or "Neon") |
| 560 | + | o3.Parent = o2 |
| 561 | - | local COLOR = (Table.Color or C3(1,1,1)) |
| 561 | + | o3.Scale = Vector3.new(1.25, 1.25, 1.25) |
| 562 | - | local TIME = (Table.Time or 45) |
| 562 | + | o4.Name = "Hat" |
| 563 | - | local SOUNDID = (Table.SoundID or nil) |
| 563 | + | o4.Parent = o1 |
| 564 | - | local SOUNDPITCH = (Table.SoundPitch or nil) |
| 564 | + | |
| 565 | - | local SOUNDVOLUME = (Table.SoundVolume or nil) |
| 565 | + | |
| 566 | ------------------------------------------------------- | |
| 567 | - | local PLAYSSOUND = false |
| 567 | + | --Start Important Functions-- |
| 568 | - | local SOUND = nil |
| 568 | + | ------------------------------------------------------- |
| 569 | - | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
|
| 569 | + | function swait(num) |
| 570 | - | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then |
| 570 | + | if num == 0 or num == nil then |
| 571 | - | PLAYSSOUND = true |
| 571 | + | game:service("RunService").Stepped:wait(0)
|
| 572 | - | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) |
| 572 | + | |
| 573 | for i = 0, num do | |
| 574 | - | EFFECT.Color = COLOR |
| 574 | + | game:service("RunService").Stepped:wait(0)
|
| 575 | - | local MSH = nil |
| 575 | + | |
| 576 | - | if TYPE == "Sphere" then |
| 576 | + | |
| 577 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
|
| 577 | + | |
| 578 | - | elseif TYPE == "Block" then |
| 578 | + | function thread(f) |
| 579 | - | MSH = IT("BlockMesh",EFFECT)
|
| 579 | + | coroutine.resume(coroutine.create(f)) |
| 580 | - | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) |
| 580 | + | |
| 581 | - | elseif TYPE == "Wave" then |
| 581 | + | function clerp(a, b, t) |
| 582 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
|
| 582 | + | local qa = {
|
| 583 | - | elseif TYPE == "Ring" then |
| 583 | + | QuaternionFromCFrame(a) |
| 584 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
|
| 584 | + | |
| 585 | - | elseif TYPE == "Slash" then |
| 585 | + | local qb = {
|
| 586 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
|
| 586 | + | QuaternionFromCFrame(b) |
| 587 | - | elseif TYPE == "Round Slash" then |
| 587 | + | |
| 588 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
|
| 588 | + | |
| 589 | - | elseif TYPE == "Swirl" then |
| 589 | + | |
| 590 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
|
| 590 | + | |
| 591 | - | elseif TYPE == "Skull" then |
| 591 | + | |
| 592 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
|
| 592 | + | |
| 593 | - | elseif TYPE == "Crystal" then |
| 593 | + | |
| 594 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
|
| 594 | + | |
| 595 | local trace = m00 + m11 + m22 | |
| 596 | - | if MSH ~= nil then |
| 596 | + | if trace > 0 then |
| 597 | - | local MOVESPEED = nil |
| 597 | + | |
| 598 | - | if MOVEDIRECTION ~= nil then |
| 598 | + | |
| 599 | - | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME |
| 599 | + | |
| 600 | else | |
| 601 | - | local GROWTH = SIZE - ENDSIZE |
| 601 | + | |
| 602 | - | local TRANS = TRANSPARENCY - ENDTRANSPARENCY |
| 602 | + | if m00 < m11 then |
| 603 | - | if TYPE == "Block" then |
| 603 | + | |
| 604 | - | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) |
| 604 | + | |
| 605 | - | else |
| 605 | + | |
| 606 | - | EFFECT.CFrame = CFRAME |
| 606 | + | |
| 607 | end | |
| 608 | - | for LOOP = 1, TIME+1 do |
| 608 | + | |
| 609 | - | Swait() |
| 609 | + | |
| 610 | - | MSH.Scale = MSH.Scale - GROWTH/TIME |
| 610 | + | |
| 611 | - | if TYPE == "Wave" then |
| 611 | + | |
| 612 | - | MSH.Offset = VT(0,0,-MSH.Scale.X/8) |
| 612 | + | |
| 613 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 614 | - | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME |
| 614 | + | |
| 615 | - | if TYPE == "Block" then |
| 615 | + | |
| 616 | - | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) |
| 616 | + | |
| 617 | - | else |
| 617 | + | |
| 618 | - | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) |
| 618 | + | |
| 619 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 620 | - | if MOVEDIRECTION ~= nil then |
| 620 | + | |
| 621 | - | local ORI = EFFECT.Orientation |
| 621 | + | |
| 622 | - | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) |
| 622 | + | |
| 623 | - | EFFECT.Orientation = ORI |
| 623 | + | |
| 624 | local xs, ys, zs = x + x, y + y, z + z | |
| 625 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 626 | - | if PLAYSSOUND == false then |
| 626 | + | |
| 627 | - | EFFECT:remove() |
| 627 | + | |
| 628 | - | else |
| 628 | + | |
| 629 | - | SOUND.Stopped:Connect(function() |
| 629 | + | |
| 630 | - | EFFECT:remove() |
| 630 | + | |
| 631 | - | end) |
| 631 | + | |
| 632 | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
| 633 | end | |
| 634 | - | if PLAYSSOUND == false then |
| 634 | + | |
| 635 | - | EFFECT:remove() |
| 635 | + | |
| 636 | - | else |
| 636 | + | local startInterp, finishInterp |
| 637 | - | repeat Swait() until SOUND.Playing == false |
| 637 | + | if cosTheta >= 1.0E-4 then |
| 638 | - | EFFECT:remove() |
| 638 | + | if 1 - cosTheta > 1.0E-4 then |
| 639 | local theta = math.acos(cosTheta) | |
| 640 | local invSinTheta = 1 / Sin(theta) | |
| 641 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
| 642 | finishInterp = Sin(t * theta) * invSinTheta | |
| 643 | else | |
| 644 | - | function MakeForm(PART,TYPE) |
| 644 | + | |
| 645 | - | if TYPE == "Cyl" then |
| 645 | + | |
| 646 | - | local MSH = IT("CylinderMesh",PART)
|
| 646 | + | |
| 647 | - | elseif TYPE == "Ball" then |
| 647 | + | elseif 1 + cosTheta > 1.0E-4 then |
| 648 | - | local MSH = IT("SpecialMesh",PART)
|
| 648 | + | local theta = math.acos(-cosTheta) |
| 649 | - | MSH.MeshType = "Sphere" |
| 649 | + | local invSinTheta = 1 / Sin(theta) |
| 650 | - | elseif TYPE == "Wedge" then |
| 650 | + | startInterp = Sin((t - 1) * theta) * invSinTheta |
| 651 | - | local MSH = IT("SpecialMesh",PART)
|
| 651 | + | finishInterp = Sin(t * theta) * invSinTheta |
| 652 | - | MSH.MeshType = "Wedge" |
| 652 | + | |
| 653 | startInterp = t - 1 | |
| 654 | finishInterp = t | |
| 655 | end | |
| 656 | - | function SpawnTrail(FROM,TO,BIG) |
| 656 | + | |
| 657 | - | local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Bright yellow", "Trail", VT(0,0,0)) |
| 657 | + | |
| 658 | - | MakeForm(TRAIL,"Cyl") |
| 658 | + | function rayCast(Position, Direction, Range, Ignore) |
| 659 | - | local DIST = (FROM - TO).Magnitude |
| 659 | + | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
|
| 660 | - | if BIG == true then |
| 660 | + | |
| 661 | - | TRAIL.Size = VT(0.5,DIST,0.5) |
| 661 | + | |
| 662 | local Create = RbxUtility.Create | |
| 663 | - | TRAIL.Size = VT(0.25,DIST,0.25) |
| 663 | + | |
| 664 | ------------------------------------------------------- | |
| 665 | - | TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0)) |
| 665 | + | --Start Damage Function-- |
| 666 | ------------------------------------------------------- | |
| 667 | - | for i = 1, 5 do |
| 667 | + | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) |
| 668 | - | Swait() |
| 668 | + | if hit.Parent == nil then |
| 669 | - | TRAIL.Transparency = TRAIL.Transparency + 0.1 |
| 669 | + | return |
| 670 | end | |
| 671 | - | TRAIL:remove() |
| 671 | + | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
|
| 672 | for _, v in pairs(hit.Parent:children()) do | |
| 673 | if v:IsA("Humanoid") then
| |
| 674 | h = v | |
| 675 | - | Debris = game:GetService("Debris")
|
| 675 | + | |
| 676 | end | |
| 677 | - | function CastProperRay(StartPos, EndPos, Distance, Ignore) |
| 677 | + | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
|
| 678 | - | local DIRECTION = CF(StartPos,EndPos).lookVector |
| 678 | + | |
| 679 | - | return Raycast(StartPos, DIRECTION, Distance, Ignore) |
| 679 | + | hit.Parent:FindFirstChild("Head"):BreakJoints()
|
| 680 | end | |
| 681 | ||
| 682 | - | function turnto(position) |
| 682 | + | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
|
| 683 | - | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) |
| 683 | + | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
|
| 684 | if hit.Parent.DebounceHit.Value == true then | |
| 685 | return | |
| 686 | - | function createaccessory(attachmentpart,mesh,texture,scale,offset,color) |
| 686 | + | |
| 687 | - | local acs = Instance.new("Part")
|
| 687 | + | |
| 688 | - | acs.CanCollide = false |
| 688 | + | if insta == true then |
| 689 | - | acs.Anchored = false |
| 689 | + | hit.Parent:FindFirstChild("Head"):BreakJoints()
|
| 690 | - | acs.Size = Vector3.new(0,0,0) |
| 690 | + | end |
| 691 | - | acs.CFrame = attachmentpart.CFrame |
| 691 | + | local c = Create("ObjectValue"){
|
| 692 | - | acs.Parent = Character |
| 692 | + | Name = "creator", |
| 693 | - | acs.BrickColor = color |
| 693 | + | Value = game:service("Players").LocalPlayer,
|
| 694 | - | local meshs = Instance.new("SpecialMesh")
|
| 694 | + | Parent = h, |
| 695 | - | meshs.MeshId = mesh |
| 695 | + | } |
| 696 | - | meshs.TextureId = texture |
| 696 | + | game:GetService("Debris"):AddItem(c, .5)
|
| 697 | - | meshs.Parent = acs |
| 697 | + | if HitSound ~= nil and HitPitch ~= nil then |
| 698 | - | meshs.Scale = scale |
| 698 | + | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) |
| 699 | - | meshs.Offset = offset |
| 699 | + | |
| 700 | - | weldBetween(attachmentpart,acs) |
| 700 | + | local Damage = math.random(minim, maxim) |
| 701 | local blocked = false | |
| 702 | local block = hit.Parent:findFirstChild("Block")
| |
| 703 | - | Character["Body Colors"].HeadColor = BrickColor.new("Really black")
|
| 703 | + | if block ~= nil then |
| 704 | - | Character["Body Colors"].TorsoColor = BrickColor.new("Really black")
|
| 704 | + | if block.className == "IntValue" then |
| 705 | - | Character["Body Colors"].LeftArmColor = BrickColor.new("Really black")
|
| 705 | + | if block.Value > 0 then |
| 706 | - | Character["Body Colors"].RightArmColor = BrickColor.new("Really black")
|
| 706 | + | blocked = true |
| 707 | - | Character["Body Colors"].LeftLegColor = BrickColor.new("Really black")
|
| 707 | + | block.Value = block.Value - 1 |
| 708 | - | Character["Body Colors"].RightLegColor = BrickColor.new("Really black")
|
| 708 | + | print(block.Value) |
| 709 | end | |
| 710 | end | |
| 711 | end | |
| 712 | if blocked == false then | |
| 713 | - | local m = Create("Model"){
|
| 713 | + | h.Health = h.Health - Damage |
| 714 | - | Parent = Character, |
| 714 | + | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) |
| 715 | - | Name = "WeaponModel" |
| 715 | + | |
| 716 | h.Health = h.Health - (Damage / 2) | |
| 717 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 718 | - | --//=================================\\ |
| 718 | + | |
| 719 | - | --|| WEAPON CREATION |
| 719 | + | if Type == "Knockdown" then |
| 720 | - | --\\=================================// |
| 720 | + | local hum = hit.Parent.Humanoid |
| 721 | - | local HitBox = CreatePart(3, B, "Neon", 0, 1, "Really red", "Hitbox", VT(5,1.3,0.6),false) |
| 721 | + | hum.PlatformStand = true |
| 722 | - | local weld = CreateWeldOrSnapOrMotor("Weld", HitBox, HandlePart, HitBox, CF(0,0,-3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 722 | + | coroutine.resume(coroutine.create(function(HHumanoid) |
| 723 | swait(1) | |
| 724 | - | function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW) |
| 724 | + | HHumanoid.PlatformStand = false |
| 725 | - | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true) |
| 725 | + | end), hum) |
| 726 | - | local mesh = IT("SpecialMesh",wave)
|
| 726 | + | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit |
| 727 | - | mesh.MeshType = "Sphere" |
| 727 | + | local bodvol = Create("BodyVelocity"){
|
| 728 | - | mesh.Scale = SIZE |
| 728 | + | velocity = angle * knockback, |
| 729 | - | mesh.Offset = VT(0,0,0) |
| 729 | + | P = 5000, |
| 730 | - | wave.CFrame = CFRAME |
| 730 | + | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), |
| 731 | - | coroutine.resume(coroutine.create(function(PART) |
| 731 | + | Parent = hit, |
| 732 | - | for i = 1, WAIT do |
| 732 | + | } |
| 733 | - | Swait() |
| 733 | + | local rl = Create("BodyAngularVelocity"){
|
| 734 | - | mesh.Scale = mesh.Scale + GROW |
| 734 | + | P = 3000, |
| 735 | - | wave.Transparency = wave.Transparency + (1/WAIT) |
| 735 | + | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, |
| 736 | - | if wave.Transparency > 0.99 then |
| 736 | + | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), |
| 737 | - | wave:remove() |
| 737 | + | Parent = hit, |
| 738 | } | |
| 739 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 740 | - | end)) |
| 740 | + | game:GetService("Debris"):AddItem(rl, .5)
|
| 741 | elseif Type == "Normal" then | |
| 742 | local vp = Create("BodyVelocity"){
| |
| 743 | P = 500, | |
| 744 | - | function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE) |
| 744 | + | maxForce = Vector3.new(math.huge, 0, math.huge), |
| 745 | - | if TYPE == "Gem" then |
| 745 | + | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, |
| 746 | - | local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0)) |
| 746 | + | } |
| 747 | - | acs.Anchored = false |
| 747 | + | if knockback > 0 then |
| 748 | - | acs.CanCollide = false |
| 748 | + | vp.Parent = hit.Parent.Torso |
| 749 | - | acs.CFrame = PART.CFrame |
| 749 | + | |
| 750 | - | local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
|
| 750 | + | game:GetService("Debris"):AddItem(vp, .5)
|
| 751 | - | weldBetween(PART,acs) |
| 751 | + | elseif Type == "Up" then |
| 752 | - | elseif TYPE == "Skull" then |
| 752 | + | local bodyVelocity = Create("BodyVelocity"){
|
| 753 | - | local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0)) |
| 753 | + | velocity = Vector3.new(0, 20, 0), |
| 754 | - | acs.Anchored = false |
| 754 | + | P = 5000, |
| 755 | - | acs.CanCollide = false |
| 755 | + | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), |
| 756 | - | acs.CFrame = PART.CFrame |
| 756 | + | Parent = hit, |
| 757 | - | local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
|
| 757 | + | } |
| 758 | - | weldBetween(PART,acs) |
| 758 | + | game:GetService("Debris"):AddItem(bodyVelocity, .5)
|
| 759 | - | elseif TYPE == "Eye" then |
| 759 | + | elseif Type == "DarkUp" then |
| 760 | - | local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0)) |
| 760 | + | coroutine.resume(coroutine.create(function() |
| 761 | - | acs.Anchored = false |
| 761 | + | for i = 0, 1, 0.1 do |
| 762 | - | acs.CanCollide = false |
| 762 | + | swait() |
| 763 | - | acs.CFrame = PART.CFrame |
| 763 | + | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
|
| 764 | - | local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
|
| 764 | + | |
| 765 | - | weldBetween(PART,acs) |
| 765 | + | end)) |
| 766 | local bodyVelocity = Create("BodyVelocity"){
| |
| 767 | velocity = Vector3.new(0, 20, 0), | |
| 768 | - | ------------------- |
| 768 | + | P = 5000, |
| 769 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 770 | - | for _, v in pairs (Weapon:GetChildren()) do |
| 770 | + | Parent = hit, |
| 771 | - | if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then |
| 771 | + | } |
| 772 | - | local p1 = v.Part1 |
| 772 | + | game:GetService("Debris"):AddItem(bodyVelocity, 1)
|
| 773 | - | v.Part1 = nil |
| 773 | + | elseif Type == "Snare" then |
| 774 | - | local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components() |
| 774 | + | local bp = Create("BodyPosition"){
|
| 775 | - | v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12) |
| 775 | + | P = 2000, |
| 776 | - | v.Part1 = p1 |
| 776 | + | D = 100, |
| 777 | - | elseif v.ClassName == "Part" then |
| 777 | + | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
| 778 | - | for _, b in pairs (v:GetChildren()) do |
| 778 | + | position = hit.Parent.Torso.Position, |
| 779 | - | if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then |
| 779 | + | Parent = hit.Parent.Torso, |
| 780 | - | b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size) |
| 780 | + | } |
| 781 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 782 | elseif Type == "Freeze" then | |
| 783 | local BodPos = Create("BodyPosition"){
| |
| 784 | P = 50000, | |
| 785 | D = 1000, | |
| 786 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 787 | - | createaccessory(Head,"http://www.roblox.com/asset/?id=13070796","",VT(1, 1, 1),VT(0, 0.25, 0.1),BrickColor.new"Really black") |
| 787 | + | position = hit.Parent.Torso.Position, |
| 788 | Parent = hit.Parent.Torso, | |
| 789 | } | |
| 790 | - | local AT1 = IT("Attachment",RightArm)
|
| 790 | + | local BodGy = Create("BodyGyro") {
|
| 791 | - | AT1.Position = VT(0,-1.15,0) |
| 791 | + | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , |
| 792 | - | local AT2 = IT("Attachment",LeftArm)
|
| 792 | + | P = 20e+003, |
| 793 | - | AT2.Position = VT(0,-1.15,0) |
| 793 | + | Parent = hit.Parent.Torso, |
| 794 | cframe = hit.Parent.Torso.CFrame, | |
| 795 | - | Humanoid.HealthChanged:connect(function() |
| 795 | + | } |
| 796 | - | if Humanoid.Health ~= "inf" then |
| 796 | + | hit.Parent.Torso.Anchored = true |
| 797 | - | Humanoid.Health = "inf" |
| 797 | + | coroutine.resume(coroutine.create(function(Part) |
| 798 | swait(1.5) | |
| 799 | - | if Humanoid.MaxHealth ~= "inf" then |
| 799 | + | Part.Anchored = false |
| 800 | - | Humanoid.MaxHealth = "inf" |
| 800 | + | end), hit.Parent.Torso) |
| 801 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 802 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 803 | end | |
| 804 | local debounce = Create("BoolValue"){
| |
| 805 | - | NumberSequenceKeypoint.new(0,1.2,0), |
| 805 | + | Name = "DebounceHit", |
| 806 | - | NumberSequenceKeypoint.new(1,0,0) |
| 806 | + | Parent = hit.Parent, |
| 807 | Value = true, | |
| 808 | } | |
| 809 | - | NumberSequenceKeypoint.new(0,0.8,0), |
| 809 | + | game:GetService("Debris"):AddItem(debounce, Delay)
|
| 810 | - | NumberSequenceKeypoint.new(1,1,0) |
| 810 | + | c = Create("ObjectValue"){
|
| 811 | Name = "creator", | |
| 812 | - | local PE=Instance.new("ParticleEmitter")
|
| 812 | + | Value = Player, |
| 813 | - | PE.LightEmission=0 |
| 813 | + | Parent = h, |
| 814 | - | PE.Size=NumberSequence.new(EyeSizes) |
| 814 | + | } |
| 815 | - | PE.Transparency=NumberSequence.new(EyeTrans) |
| 815 | + | game:GetService("Debris"):AddItem(c, .5)
|
| 816 | - | PE.Lifetime=NumberRange.new(0.35,0.35,0.35) |
| 816 | + | |
| 817 | - | PE.Rotation=NumberRange.new(0,360) |
| 817 | + | |
| 818 | - | PE.Rate=999 |
| 818 | + | ------------------------------------------------------- |
| 819 | - | PE.Acceleration = Vector3.new(0,0,0) |
| 819 | + | --End Damage Function-- |
| 820 | - | PE.Drag = 5 |
| 820 | + | ------------------------------------------------------- |
| 821 | - | PE.LockedToPart = false |
| 821 | + | |
| 822 | - | PE.Speed = NumberRange.new(0,0,0) |
| 822 | + | |
| 823 | - | PE.Rotation = NumberRange.new(-100, 100) |
| 823 | + | NumberSequenceKeypoint.new(0,0.65,0), |
| 824 | - | PE.RotSpeed = NumberRange.new(-100, 100) |
| 824 | + | NumberSequenceKeypoint.new(0.5,0.7,0), |
| 825 | - | PE.Texture="http://www.roblox.com/asset/?id=669492379" |
| 825 | + | NumberSequenceKeypoint.new(1,0,0) |
| 826 | - | PE.Color = ColorSequence.new(Color3.new(170, 0, 170)) |
| 826 | + | |
| 827 | - | PE.ZOffset = 0 |
| 827 | + | |
| 828 | - | PE.Name = "Reign" |
| 828 | + | NumberSequenceKeypoint.new(0,0,0), |
| 829 | - | PE.Enabled = false |
| 829 | + | NumberSequenceKeypoint.new(0.5,0,0), |
| 830 | - | PE.VelocitySpread = 10000 |
| 830 | + | NumberSequenceKeypoint.new(1,1,0) |
| 831 | } | |
| 832 | - | function particles(art) |
| 832 | + | local PE2=Instance.new("ParticleEmitter", ra)
|
| 833 | - | local o = PE:Clone() |
| 833 | + | PE2.LightEmission=.9 |
| 834 | - | o.Parent = art |
| 834 | + | PE2.Color = ColorSequence.new(BrickC("Really red").Color,BrickC("Really red").Color)
|
| 835 | - | o.Enabled = true |
| 835 | + | PE2.Transparency=NumberSequence.new(EyeTrans) |
| 836 | - | return o |
| 836 | + | PE2.Lifetime=NumberRange.new(0.35) |
| 837 | PE2.Rotation=NumberRange.new(0,360) | |
| 838 | PE2.Rate=999 | |
| 839 | - | particles(AT1) |
| 839 | + | PE2.VelocitySpread = 10000 |
| 840 | - | particles(AT2) |
| 840 | + | PE2.Acceleration = Vector3.new(0,25,0) |
| 841 | PE2.ZOffset = 0.5 | |
| 842 | - | createbodypart("Gem","Magenta",Torso,VT(0, 0.2, 0.5),VT(0.6,1.5,0.5))
|
| 842 | + | PE2.Drag = 0 |
| 843 | - | createbodypart("Gem","Magenta",Torso,VT(0, -0.2, 0.5),VT(0.2,1,0.5))
|
| 843 | + | PE2.Speed = NumberRange.new(0,0,0) |
| 844 | - | createbodypart("Gem","Magenta",Torso,VT(-0.3, 0.5, 0.5),VT(0.5,0.8,0.2))
|
| 844 | + | PE2.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds" |
| 845 | - | createbodypart("Gem","Magenta",Torso,VT(0.3, 0.5, 0.5),VT(0.5,0.8,0.2))
|
| 845 | + | PE2.Name = "PE2" |
| 846 | PE2.Enabled = true | |
| 847 | - | ---ribs--- |
| 847 | + | PE2.LockedToPart = true |
| 848 | - | createbodypart("Gem","Magenta",Torso,VT(0.6, 0.9, -0.57),VT(0.8,0.2,0.2))
|
| 848 | + | -- |
| 849 | - | createbodypart("Gem","Magenta",Torso,VT(-0.6, 0.9, -0.57),VT(0.8,0.2,0.2))
|
| 849 | + | |
| 850 | ||
| 851 | - | createbodypart("Gem","Magenta",Torso,VT(0.7, 0.5, -0.57),VT(0.6,0.2,0.2))
|
| 851 | + | ------------------------------------------------------- |
| 852 | - | createbodypart("Gem","Magenta",Torso,VT(-0.7, 0.5, -0.57),VT(0.6,0.2,0.2))
|
| 852 | + | --Start Damage Function Customization-- |
| 853 | ------------------------------------------------------- | |
| 854 | - | createbodypart("Gem","Magenta",Torso,VT(0.8, 0.2, -0.57),VT(0.4,0.2,0.2))
|
| 854 | + | function ShowDamage(Pos, Text, Time, Color) |
| 855 | - | createbodypart("Gem","Magenta",Torso,VT(-0.8, 0.2, -0.57),VT(0.4,0.2,0.2))
|
| 855 | + | local Rate = (1 / 30) |
| 856 | - | -------------------------------- |
| 856 | + | local Pos = (Pos or Vector3.new(0, 0, 0)) |
| 857 | - | local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.6,0.2),false) |
| 857 | + | local Text = (Text or "") |
| 858 | - | local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
|
| 858 | + | local Time = (Time or 2) |
| 859 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.5,0.2),false) |
| 859 | + | local Color = (Color or Color3.new(1, 0, 1)) |
| 860 | - | MakeForm(Part,"Wedge") |
| 860 | + | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) |
| 861 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
|
| 861 | + | EffectPart.Anchored = true |
| 862 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.3,0.2),false) |
| 862 | + | local BillboardGui = Create("BillboardGui"){
|
| 863 | - | MakeForm(Part,"Wedge") |
| 863 | + | Size = UDim2.new(3, 0, 3, 0), |
| 864 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
|
| 864 | + | Adornee = EffectPart, |
| 865 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.3,0.3),false) |
| 865 | + | Parent = EffectPart, |
| 866 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 866 | + | |
| 867 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.5,0.5),false) |
| 867 | + | local TextLabel = Create("TextLabel"){
|
| 868 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 868 | + | BackgroundTransparency = 1, |
| 869 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.4,0.4,0.4),false) |
| 869 | + | Size = UDim2.new(1, 0, 1, 0), |
| 870 | - | MakeForm(Part,"Cyl") |
| 870 | + | Text = Text, |
| 871 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 871 | + | Font = "Bodoni", |
| 872 | - | for i = 1, 8 do |
| 872 | + | TextColor3 = Color, |
| 873 | - | local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0,0.35,0.41),false) |
| 873 | + | TextScaled = true, |
| 874 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
|
| 874 | + | TextStrokeColor3 = Color3.fromRGB(0,0,0), |
| 875 | Parent = BillboardGui, | |
| 876 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0.38,0.41,0.38),false) |
| 876 | + | |
| 877 | - | MakeForm(Part,"Cyl") |
| 877 | + | game.Debris:AddItem(EffectPart, (Time)) |
| 878 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 878 | + | EffectPart.Parent = game:GetService("Workspace")
|
| 879 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.37,0.5,0.37),false) |
| 879 | + | delay(0, function() |
| 880 | - | MakeForm(Part,"Ball") |
| 880 | + | local Frames = (Time / Rate) |
| 881 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 881 | + | for Frame = 1, Frames do |
| 882 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.7,0.4),false) |
| 882 | + | wait(Rate) |
| 883 | - | MakeForm(Part,"Wedge") |
| 883 | + | local Percent = (Frame / Frames) |
| 884 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
|
| 884 | + | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) |
| 885 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.4,0.2),false) |
| 885 | + | TextLabel.TextTransparency = Percent |
| 886 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 886 | + | |
| 887 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.35,0.35,0.35),false) |
| 887 | + | if EffectPart and EffectPart.Parent then |
| 888 | - | MakeForm(Part,"Cyl") |
| 888 | + | EffectPart:Destroy() |
| 889 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 889 | + | |
| 890 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.5,0.1,0.5),false) |
| 890 | + | |
| 891 | - | MakeForm(Part,"Cyl") |
| 891 | + | |
| 892 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 892 | + | ------------------------------------------------------- |
| 893 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.5,0.1,0.45),false) |
| 893 | + | --End Damage Function Customization-- |
| 894 | - | MakeForm(Part,"Cyl") |
| 894 | + | ------------------------------------------------------- |
| 895 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 895 | + | |
| 896 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.5,0.2),false) |
| 896 | + | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) |
| 897 | - | MakeForm(Part,"Wedge") |
| 897 | + | for _, c in pairs(workspace:children()) do |
| 898 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
|
| 898 | + | local hum = c:findFirstChild("Humanoid")
|
| 899 | - | local LASTPART = Handle |
| 899 | + | if hum ~= nil then |
| 900 | - | for i = 1, 10 do |
| 900 | + | local head = c:findFirstChild("Head")
|
| 901 | - | if LASTPART == Handle then |
| 901 | + | if head ~= nil then |
| 902 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.1,0.2,0),false) |
| 902 | + | local targ = head.Position - Part.Position |
| 903 | - | LASTPART = Part |
| 903 | + | local mag = targ.magnitude |
| 904 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 904 | + | if magni >= mag and c.Name ~= Player.Name then |
| 905 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
| 906 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.1,0.05,0),false) |
| 906 | + | |
| 907 | - | CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
|
| 907 | + | end |
| 908 | - | LASTPART = Part |
| 908 | + | |
| 909 | end | |
| 910 | end | |
| 911 | ||
| 912 | - | local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.15,2,0.15),false) |
| 912 | + | |
| 913 | - | MakeForm(Barrel,"Cyl") |
| 913 | + | CFuncs = {
|
| 914 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 914 | + | Part = {
|
| 915 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.25,1,0.25),false) |
| 915 | + | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
| 916 | - | MakeForm(Part,"Cyl") |
| 916 | + | local Part = Create("Part")({
|
| 917 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
|
| 917 | + | Parent = Parent, |
| 918 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0,0.1,0.2),false) |
| 918 | + | Reflectance = Reflectance, |
| 919 | - | MakeForm(Part,"Wedge") |
| 919 | + | Transparency = Transparency, |
| 920 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 920 | + | CanCollide = false, |
| 921 | - | local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0.125,0,0.125),false) |
| 921 | + | Locked = true, |
| 922 | - | MakeForm(Hole,"Cyl") |
| 922 | + | BrickColor = BrickColor.new(tostring(BColor)), |
| 923 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
|
| 923 | + | Name = Name, |
| 924 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0,0,0),false) |
| 924 | + | Size = Size, |
| 925 | - | local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
|
| 925 | + | Material = Material |
| 926 | - | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
|
| 926 | + | }) |
| 927 | - | local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Brown", "Eye", VT(0,0,0),false) |
| 927 | + | RemoveOutlines(Part) |
| 928 | - | local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
|
| 928 | + | return Part |
| 929 | - | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
|
| 929 | + | |
| 930 | }, | |
| 931 | Mesh = {
| |
| 932 | - | GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5)) |
| 932 | + | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
| 933 | - | GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5)) |
| 933 | + | local Msh = Create(Mesh)({
|
| 934 | Parent = Part, | |
| 935 | Offset = OffSet, | |
| 936 | Scale = Scale | |
| 937 | - | for _, c in pairs(Weapon:GetDescendants()) do |
| 937 | + | }) |
| 938 | - | if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then |
| 938 | + | if Mesh == "SpecialMesh" then |
| 939 | - | c.Material = "Glass" |
| 939 | + | Msh.MeshType = MeshType |
| 940 | - | c.Color = C3(0,0,0) |
| 940 | + | Msh.MeshId = MeshId |
| 941 | - | elseif c.ClassName == "Part" and c.Name == "Eye" then |
| 941 | + | |
| 942 | - | c.Color = C3(1,0,0) |
| 942 | + | return Msh |
| 943 | - | c.Material = "Neon" |
| 943 | + | |
| 944 | }, | |
| 945 | Mesh = {
| |
| 946 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 947 | - | Weapon.Parent = Character |
| 947 | + | local Msh = Create(Mesh)({
|
| 948 | - | for _, c in pairs(Weapon:GetChildren()) do |
| 948 | + | Parent = Part, |
| 949 | - | if c.ClassName == "Part" then |
| 949 | + | Offset = OffSet, |
| 950 | - | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) |
| 950 | + | Scale = Scale |
| 951 | }) | |
| 952 | if Mesh == "SpecialMesh" then | |
| 953 | Msh.MeshType = MeshType | |
| 954 | - | local SKILLTEXTCOLOR = C3(1,0,0) |
| 954 | + | Msh.MeshId = MeshId |
| 955 | - | local SKILLFONT = "Antique" |
| 955 | + | |
| 956 | - | local SKILLTEXTSIZE = 7 |
| 956 | + | return Msh |
| 957 | end | |
| 958 | - | Humanoid.Died:connect(function() |
| 958 | + | }, |
| 959 | - | ATTACK = true |
| 959 | + | Weld = {
|
| 960 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 961 | local Weld = Create("Weld")({
| |
| 962 | - | local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") |
| 962 | + | Parent = Parent, |
| 963 | - | --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") |
| 963 | + | Part0 = Part0, |
| 964 | - | local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") |
| 964 | + | Part1 = Part1, |
| 965 | - | local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") |
| 965 | + | C0 = C0, |
| 966 | - | local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") |
| 966 | + | C1 = C1 |
| 967 | - | ]] |
| 967 | + | }) |
| 968 | - | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1") |
| 968 | + | return Weld |
| 969 | - | --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2") |
| 969 | + | |
| 970 | - | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3") |
| 970 | + | }, |
| 971 | - | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4") |
| 971 | + | Sound = {
|
| 972 | - | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5") |
| 972 | + | Create = function(id, par, vol, pit) |
| 973 | - | ]] |
| 973 | + | coroutine.resume(coroutine.create(function() |
| 974 | - | function printbye(Name) |
| 974 | + | local S = Create("Sound")({
|
| 975 | - | local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
|
| 975 | + | Volume = vol, |
| 976 | - | warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".") |
| 976 | + | Pitch = pit or 1, |
| 977 | SoundId = id, | |
| 978 | Parent = par or workspace | |
| 979 | - | workspace.ChildAdded:connect(function(instance) |
| 979 | + | }) |
| 980 | - | for BANISH = 1, #TOBANISH do |
| 980 | + | wait() |
| 981 | - | if TOBANISH[BANISH] ~= nil then |
| 981 | + | S:play() |
| 982 | - | if instance.Name == TOBANISH[BANISH] then |
| 982 | + | game:GetService("Debris"):AddItem(S, 6)
|
| 983 | end)) | |
| 984 | - | printbye(instance.Name) |
| 984 | + | |
| 985 | - | instance:ClearAllChildren() |
| 985 | + | }, |
| 986 | - | Debris:AddItem(instance,0.0005) |
| 986 | + | ParticleEmitter = {
|
| 987 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 988 | local fp = Create("ParticleEmitter")({
| |
| 989 | Parent = Parent, | |
| 990 | Color = ColorSequence.new(Color1, Color2), | |
| 991 | LightEmission = LightEmission, | |
| 992 | Size = Size, | |
| 993 | - | --//=================================\\ |
| 993 | + | Texture = Texture, |
| 994 | - | --|| DAMAGING |
| 994 | + | Transparency = Transparency, |
| 995 | - | --\\=================================// |
| 995 | + | ZOffset = ZOffset, |
| 996 | Acceleration = Accel, | |
| 997 | - | function Banish(Foe) |
| 997 | + | Drag = Drag, |
| 998 | - | if Foe then |
| 998 | + | LockedToPart = LockedToPart, |
| 999 | - | coroutine.resume(coroutine.create(function() |
| 999 | + | VelocityInheritance = VelocityInheritance, |
| 1000 | - | --if game.Players:FindFirstChild(Foe.Name) then |
| 1000 | + | EmissionDirection = EmissionDirection, |
| 1001 | - | table.insert(TOBANISH,Foe.Name) |
| 1001 | + | Enabled = Enabled, |
| 1002 | - | printbye(Foe.Name) |
| 1002 | + | Lifetime = LifeTime, |
| 1003 | - | --end |
| 1003 | + | Rate = Rate, |
| 1004 | - | Foe.Archivable = true |
| 1004 | + | Rotation = Rotation, |
| 1005 | - | local CLONE = Foe:Clone() |
| 1005 | + | RotSpeed = RotSpeed, |
| 1006 | - | Foe:Destroy() |
| 1006 | + | Speed = Speed, |
| 1007 | - | CLONE.Parent = Effects |
| 1007 | + | VelocitySpread = VelocitySpread |
| 1008 | - | CLONE:BreakJoints() |
| 1008 | + | }) |
| 1009 | - | local MATERIALS = {"Glass","Neon"}
|
| 1009 | + | return fp |
| 1010 | - | for _, c in pairs(CLONE:GetDescendants()) do |
| 1010 | + | |
| 1011 | - | if c:IsA("BasePart") then
|
| 1011 | + | |
| 1012 | - | if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then |
| 1012 | + | |
| 1013 | - | CreateSound(340722848, c, 10, 1, false) |
| 1013 | + | function RemoveOutlines(part) |
| 1014 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 1015 | - | c.Anchored = true |
| 1015 | + | |
| 1016 | - | c.Transparency = c.Transparency + 0.2 |
| 1016 | + | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
| 1017 | - | c.Material = MATERIALS[MRANDOM(1,2)] |
| 1017 | + | local Part = Create("Part")({
|
| 1018 | - | c.Color = C3(1,0,0) |
| 1018 | + | formFactor = FormFactor, |
| 1019 | - | if c.ClassName == "MeshPart" then |
| 1019 | + | Parent = Parent, |
| 1020 | - | c.TextureID = "" |
| 1020 | + | Reflectance = Reflectance, |
| 1021 | Transparency = Transparency, | |
| 1022 | - | if c:FindFirstChildOfClass("SpecialMesh") then
|
| 1022 | + | CanCollide = false, |
| 1023 | - | c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
|
| 1023 | + | Locked = true, |
| 1024 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 1025 | - | if c:FindFirstChildOfClass("Decal") then
|
| 1025 | + | Name = Name, |
| 1026 | - | c:FindFirstChildOfClass("Decal"):remove()
|
| 1026 | + | Size = Size, |
| 1027 | Material = Material | |
| 1028 | - | c.Name = "Banished" |
| 1028 | + | |
| 1029 | - | c.CanCollide = false |
| 1029 | + | RemoveOutlines(Part) |
| 1030 | - | else |
| 1030 | + | return Part |
| 1031 | - | c:remove() |
| 1031 | + | |
| 1032 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 1033 | local Msh = Create(Mesh)({
| |
| 1034 | - | local A = false |
| 1034 | + | Parent = Part, |
| 1035 | - | for i = 1, 35 do |
| 1035 | + | Offset = OffSet, |
| 1036 | - | if A == false then |
| 1036 | + | Scale = Scale |
| 1037 | - | A = true |
| 1037 | + | |
| 1038 | - | elseif A == true then |
| 1038 | + | if Mesh == "SpecialMesh" then |
| 1039 | - | A = false |
| 1039 | + | Msh.MeshType = MeshType |
| 1040 | Msh.MeshId = MeshId | |
| 1041 | - | for _, c in pairs(CLONE:GetDescendants()) do |
| 1041 | + | |
| 1042 | - | if c:IsA("BasePart") then
|
| 1042 | + | return Msh |
| 1043 | - | c.Anchored = true |
| 1043 | + | |
| 1044 | - | c.Material = MATERIALS[MRANDOM(1,2)] |
| 1044 | + | function CreateWeld(Parent, Part0, Part1, C0, C1) |
| 1045 | - | c.Transparency = c.Transparency + 0.8/35 |
| 1045 | + | local Weld = Create("Weld")({
|
| 1046 | - | if A == false then |
| 1046 | + | Parent = Parent, |
| 1047 | - | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) |
| 1047 | + | Part0 = Part0, |
| 1048 | - | elseif A == true then |
| 1048 | + | Part1 = Part1, |
| 1049 | - | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) |
| 1049 | + | C0 = C0, |
| 1050 | C1 = C1 | |
| 1051 | }) | |
| 1052 | return Weld | |
| 1053 | - | Swait() |
| 1053 | + | |
| 1054 | ||
| 1055 | - | CLONE:remove() |
| 1055 | + | |
| 1056 | - | end)) |
| 1056 | + | ------------------------------------------------------- |
| 1057 | --Start Effect Function-- | |
| 1058 | ------------------------------------------------------- | |
| 1059 | EffectModel = Instance.new("Model", char)
| |
| 1060 | - | function ApplyAoE(POSITION,RANGE,ISBANISH) |
| 1060 | + | Effects = {
|
| 1061 | - | local CHILDREN = workspace:GetDescendants() |
| 1061 | + | Block = {
|
| 1062 | - | for index, CHILD in pairs(CHILDREN) do |
| 1062 | + | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) |
| 1063 | - | if CHILD.ClassName == "Model" and CHILD ~= Character then |
| 1063 | + | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 1064 | - | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
|
| 1064 | + | prt.Anchored = true |
| 1065 | - | if HUM then |
| 1065 | + | prt.CFrame = cframe |
| 1066 | - | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
|
| 1066 | + | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 1067 | - | if TORSO then |
| 1067 | + | game:GetService("Debris"):AddItem(prt, 10)
|
| 1068 | - | if (TORSO.Position - POSITION).Magnitude <= RANGE then |
| 1068 | + | if Type == 1 or Type == nil then |
| 1069 | - | if ISBANISH == true then |
| 1069 | + | table.insert(Effects, {
|
| 1070 | - | Banish(CHILD) |
| 1070 | + | prt, |
| 1071 | - | else |
| 1071 | + | "Block1", |
| 1072 | - | if ISBANISH == "Gravity" then |
| 1072 | + | delay, |
| 1073 | - | HUM.PlatformStand = true |
| 1073 | + | x3, |
| 1074 | - | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
|
| 1074 | + | y3, |
| 1075 | - | local grav = Instance.new("BodyPosition",TORSO)
|
| 1075 | + | z3, |
| 1076 | - | grav.D = 15 |
| 1076 | + | msh |
| 1077 | - | grav.P = 20000 |
| 1077 | + | }) |
| 1078 | - | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) |
| 1078 | + | elseif Type == 2 then |
| 1079 | - | grav.position = TORSO.Position |
| 1079 | + | table.insert(Effects, {
|
| 1080 | - | grav.Name = "V3BanishForce"..Player.Name |
| 1080 | + | prt, |
| 1081 | - | else |
| 1081 | + | "Block2", |
| 1082 | - | TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
|
| 1082 | + | delay, |
| 1083 | - | TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25)) |
| 1083 | + | x3, |
| 1084 | y3, | |
| 1085 | - | else |
| 1085 | + | z3, |
| 1086 | - | HUM.PlatformStand = false |
| 1086 | + | msh |
| 1087 | }) | |
| 1088 | else | |
| 1089 | - | elseif ISBANISH == "Gravity" then |
| 1089 | + | table.insert(Effects, {
|
| 1090 | - | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
|
| 1090 | + | prt, |
| 1091 | - | TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
|
| 1091 | + | "Block3", |
| 1092 | - | HUM.PlatformStand = false |
| 1092 | + | delay, |
| 1093 | x3, | |
| 1094 | y3, | |
| 1095 | z3, | |
| 1096 | msh | |
| 1097 | }) | |
| 1098 | end | |
| 1099 | end | |
| 1100 | }, | |
| 1101 | - | --//=================================\\ |
| 1101 | + | Sphere = {
|
| 1102 | - | --|| ATTACK FUNCTIONS AND STUFF |
| 1102 | + | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 1103 | - | --\\=================================// |
| 1103 | + | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 1104 | prt.Anchored = true | |
| 1105 | - | function Banisher_Bullet() |
| 1105 | + | prt.CFrame = cframe |
| 1106 | - | ATTACK = true |
| 1106 | + | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 1107 | - | Rooted = false |
| 1107 | + | game:GetService("Debris"):AddItem(prt, 10)
|
| 1108 | - | for i=0, 0.4, 0.1 / Animation_Speed do |
| 1108 | + | table.insert(Effects, {
|
| 1109 | - | Swait() |
| 1109 | + | prt, |
| 1110 | - | turnto(Mouse.Hit.p) |
| 1110 | + | "Cylinder", |
| 1111 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) |
| 1111 | + | delay, |
| 1112 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) |
| 1112 | + | x3, |
| 1113 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) |
| 1113 | + | y3, |
| 1114 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
| 1114 | + | z3, |
| 1115 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
| 1115 | + | msh |
| 1116 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
| 1116 | + | }) |
| 1117 | end | |
| 1118 | - | repeat |
| 1118 | + | }, |
| 1119 | - | for i=0, 0.2, 0.1 / Animation_Speed do |
| 1119 | + | Cylinder = {
|
| 1120 | - | Swait() |
| 1120 | + | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 1121 | - | turnto(Mouse.Hit.p) |
| 1121 | + | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 1122 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) |
| 1122 | + | prt.Anchored = true |
| 1123 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) |
| 1123 | + | prt.CFrame = cframe |
| 1124 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) |
| 1124 | + | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 1125 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
| 1125 | + | game:GetService("Debris"):AddItem(prt, 10)
|
| 1126 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
| 1126 | + | table.insert(Effects, {
|
| 1127 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
| 1127 | + | prt, |
| 1128 | "Cylinder", | |
| 1129 | - | local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character) |
| 1129 | + | delay, |
| 1130 | - | SpawnTrail(Hole.Position,POS) |
| 1130 | + | x3, |
| 1131 | - | if HIT ~= nil then |
| 1131 | + | y3, |
| 1132 | - | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then |
| 1132 | + | z3, |
| 1133 | - | Banish(HIT.Parent) |
| 1133 | + | msh |
| 1134 | }) | |
| 1135 | end | |
| 1136 | - | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
|
| 1136 | + | }, |
| 1137 | - | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
|
| 1137 | + | Wave = {
|
| 1138 | - | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
|
| 1138 | + | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 1139 | - | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
|
| 1139 | + | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 1140 | - | for i=0, 0.3, 0.1 / Animation_Speed do |
| 1140 | + | prt.Anchored = true |
| 1141 | - | Swait() |
| 1141 | + | prt.CFrame = cframe |
| 1142 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) |
| 1142 | + | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
|
| 1143 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed) |
| 1143 | + | game:GetService("Debris"):AddItem(prt, 10)
|
| 1144 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) |
| 1144 | + | table.insert(Effects, {
|
| 1145 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
| 1145 | + | prt, |
| 1146 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
| 1146 | + | "Cylinder", |
| 1147 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
| 1147 | + | delay, |
| 1148 | x3 / 60, | |
| 1149 | - | until KEYHOLD == false |
| 1149 | + | y3 / 60, |
| 1150 | - | ATTACK = false |
| 1150 | + | z3 / 60, |
| 1151 | - | Rooted = false |
| 1151 | + | msh |
| 1152 | }) | |
| 1153 | end | |
| 1154 | - | function AttackTemplate() |
| 1154 | + | }, |
| 1155 | - | ATTACK = true |
| 1155 | + | Ring = {
|
| 1156 | - | Rooted = false |
| 1156 | + | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 1157 | - | for i=0, 1, 0.1 / Animation_Speed do |
| 1157 | + | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 1158 | - | Swait() |
| 1158 | + | prt.Anchored = true |
| 1159 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
| 1159 | + | prt.CFrame = cframe |
| 1160 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
| 1160 | + | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 1161 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
| 1161 | + | game:GetService("Debris"):AddItem(prt, 10)
|
| 1162 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) |
| 1162 | + | table.insert(Effects, {
|
| 1163 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
| 1163 | + | prt, |
| 1164 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
| 1164 | + | "Cylinder", |
| 1165 | delay, | |
| 1166 | - | ATTACK = false |
| 1166 | + | x3, |
| 1167 | - | Rooted = false |
| 1167 | + | y3, |
| 1168 | z3, | |
| 1169 | msh | |
| 1170 | - | Humanoid.WalkSpeed = 200 |
| 1170 | + | }) |
| 1171 | - | Humanoid.JumpPower = 1006 |
| 1171 | + | |
| 1172 | }, | |
| 1173 | Break = {
| |
| 1174 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 1175 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 1176 | prt.Anchored = true | |
| 1177 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1178 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1179 | local num = math.random(10, 50) / 1000 | |
| 1180 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1181 | table.insert(Effects, {
| |
| 1182 | prt, | |
| 1183 | "Shatter", | |
| 1184 | num, | |
| 1185 | prt.CFrame, | |
| 1186 | math.random() - math.random(), | |
| 1187 | - | function Laugh() |
| 1187 | + | 0, |
| 1188 | - | ATTACK = true |
| 1188 | + | math.random(50, 100) / 100 |
| 1189 | - | Rooted = true |
| 1189 | + | }) |
| 1190 | - | Cso("649634100", Head, 10, 0.5)
|
| 1190 | + | |
| 1191 | - | for i=0, 0.5, 0.1 / Animation_Speed do |
| 1191 | + | }, |
| 1192 | - | Swait() |
| 1192 | + | Spiral = {
|
| 1193 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
| 1193 | + | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
| 1194 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
| 1194 | + | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
| 1195 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(125), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) |
| 1195 | + | prt.Anchored = true |
| 1196 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
| 1196 | + | prt.CFrame = cframe |
| 1197 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
| 1197 | + | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 1198 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
| 1198 | + | game:GetService("Debris"):AddItem(prt, 10)
|
| 1199 | table.insert(Effects, {
| |
| 1200 | - | for i=1, 185 do |
| 1200 | + | prt, |
| 1201 | - | Swait() |
| 1201 | + | "Cylinder", |
| 1202 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
| 1202 | + | delay, |
| 1203 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
| 1203 | + | x3, |
| 1204 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(125), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) |
| 1204 | + | y3, |
| 1205 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
| 1205 | + | z3, |
| 1206 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
| 1206 | + | msh |
| 1207 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) |
| 1207 | + | }) |
| 1208 | end | |
| 1209 | - | ATTACK = false |
| 1209 | + | }, |
| 1210 | - | Rooted = false |
| 1210 | + | Push = {
|
| 1211 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1212 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1213 | - | function WarpMeteor() |
| 1213 | + | prt.Anchored = true |
| 1214 | - | local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude |
| 1214 | + | prt.CFrame = cframe |
| 1215 | - | if DIST > 180 then |
| 1215 | + | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
|
| 1216 | - | DIST = 180 |
| 1216 | + | game:GetService("Debris"):AddItem(prt, 10)
|
| 1217 | table.insert(Effects, {
| |
| 1218 | - | local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace) |
| 1218 | + | prt, |
| 1219 | - | local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character) |
| 1219 | + | "Cylinder", |
| 1220 | - | if HITFLOOR then |
| 1220 | + | delay, |
| 1221 | - | local POS = HITPOS |
| 1221 | + | x3, |
| 1222 | - | ATTACK = true |
| 1222 | + | y3, |
| 1223 | - | Rooted = true |
| 1223 | + | z3, |
| 1224 | - | local WARPED = false |
| 1224 | + | msh |
| 1225 | - | local SMASHED = false |
| 1225 | + | }) |
| 1226 | - | local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character) |
| 1226 | + | |
| 1227 | - | coroutine.resume(coroutine.create(function() |
| 1227 | + | } |
| 1228 | - | repeat |
| 1228 | + | |
| 1229 | - | Swait() |
| 1229 | + | function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) |
| 1230 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed) |
| 1230 | + | local fp = IT("Part")
|
| 1231 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 1231 | + | fp.formFactor = formfactor |
| 1232 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
| 1232 | + | fp.Parent = parent |
| 1233 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) |
| 1233 | + | fp.Reflectance = reflectance |
| 1234 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 1234 | + | fp.Transparency = transparency |
| 1235 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 1235 | + | fp.CanCollide = false |
| 1236 | - | until WARPED == true |
| 1236 | + | fp.Locked = true |
| 1237 | - | repeat |
| 1237 | + | fp.BrickColor = brickcolor |
| 1238 | - | Swait() |
| 1238 | + | fp.Name = name |
| 1239 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed) |
| 1239 | + | fp.Size = size |
| 1240 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 1240 | + | fp.Position = tors.Position |
| 1241 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
| 1241 | + | RemoveOutlines(fp) |
| 1242 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) |
| 1242 | + | fp.Material = "SmoothPlastic" |
| 1243 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE + 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 1243 | + | fp:BreakJoints() |
| 1244 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 1244 | + | return fp |
| 1245 | - | until SMASHED == true |
| 1245 | + | end |
| 1246 | - | repeat |
| 1246 | + | |
| 1247 | - | Swait() |
| 1247 | + | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
| 1248 | - | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 1248 | + | local mesh = IT(Mesh) |
| 1249 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-40), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 1249 | + | mesh.Parent = part |
| 1250 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(-15), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
| 1250 | + | if Mesh == "SpecialMesh" then |
| 1251 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(15), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed) |
| 1251 | + | mesh.MeshType = meshtype |
| 1252 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed) |
| 1252 | + | if meshid ~= "nil" then |
| 1253 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 1253 | + | mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid |
| 1254 | - | until ATTACK == false |
| 1254 | + | |
| 1255 | - | end)) |
| 1255 | + | |
| 1256 | - | VALUE1 = true |
| 1256 | + | mesh.Offset = offset |
| 1257 | - | CreateSound(233856115, Torso, 5, 1.6, false) |
| 1257 | + | mesh.Scale = scale |
| 1258 | - | for i = 1, 25 do |
| 1258 | + | return mesh |
| 1259 | - | Swait() |
| 1259 | + | |
| 1260 | - | for _, c in pairs(Character:GetChildren()) do |
| 1260 | + | |
| 1261 | - | if c.ClassName == "Part" then |
| 1261 | + | function Magic(bonuspeed, type, pos, scale, value, color, MType) |
| 1262 | - | c.Transparency = c.Transparency + 1/25 |
| 1262 | + | local type = type |
| 1263 | local rng = Instance.new("Part", char)
| |
| 1264 | rng.Anchored = true | |
| 1265 | - | for _, c in pairs(Weapon:GetChildren()) do |
| 1265 | + | rng.BrickColor = color |
| 1266 | - | if c.ClassName == "Part" then |
| 1266 | + | rng.CanCollide = false |
| 1267 | - | c.Transparency = c.Transparency + 1/25 |
| 1267 | + | rng.FormFactor = 3 |
| 1268 | rng.Name = "Ring" | |
| 1269 | rng.Material = "Neon" | |
| 1270 | rng.Size = Vector3.new(1, 1, 1) | |
| 1271 | - | UNANCHOR = false |
| 1271 | + | rng.Transparency = 0 |
| 1272 | - | RootPart.Anchored = true |
| 1272 | + | rng.TopSurface = 0 |
| 1273 | - | RootPart.Velocity = VT(0,0,0) |
| 1273 | + | rng.BottomSurface = 0 |
| 1274 | - | local ROOTPOS = RootPart.Position |
| 1274 | + | rng.CFrame = pos |
| 1275 | - | RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z)) |
| 1275 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 1276 | - | WARPED = true |
| 1276 | + | rngm.MeshType = MType |
| 1277 | - | for i = 1, 25 do |
| 1277 | + | rngm.Scale = scale |
| 1278 | - | Swait() |
| 1278 | + | local scaler2 = 1 |
| 1279 | - | for _, c in pairs(Character:GetChildren()) do |
| 1279 | + | if type == "Add" then |
| 1280 | - | if c.ClassName == "Part" then |
| 1280 | + | scaler2 = 1 * value |
| 1281 | - | c.Transparency = c.Transparency - 1/25 |
| 1281 | + | elseif type == "Divide" then |
| 1282 | scaler2 = 1 / value | |
| 1283 | end | |
| 1284 | - | for _, c in pairs(Weapon:GetChildren()) do |
| 1284 | + | |
| 1285 | - | if c.ClassName == "Part" then |
| 1285 | + | for i = 0, 10 / bonuspeed, 0.1 do |
| 1286 | - | c.Transparency = c.Transparency - 1/25 |
| 1286 | + | swait() |
| 1287 | if type == "Add" then | |
| 1288 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 1289 | elseif type == "Divide" then | |
| 1290 | - | local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Part", VT(0,0,0)) |
| 1290 | + | scaler2 = scaler2 - 0.01 / value * bonuspeed |
| 1291 | - | SHELL.CFrame = RootPart.CFrame |
| 1291 | + | |
| 1292 | - | MakeForm(SHELL,"Ball") |
| 1292 | + | rng.Transparency = rng.Transparency + 0.01 * bonuspeed |
| 1293 | - | CreateSound(402981977, SHELL, 5, 1.6, false) |
| 1293 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) |
| 1294 | - | for i = 1, 10 do |
| 1294 | + | |
| 1295 | - | Swait() |
| 1295 | + | rng:Destroy() |
| 1296 | - | SHELL.Transparency = SHELL.Transparency - 1/10 |
| 1296 | + | |
| 1297 | - | SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8 |
| 1297 | + | |
| 1298 | ||
| 1299 | - | for i = 1, math.ceil(75/2) do |
| 1299 | + | function Eviscerate(dude) |
| 1300 | - | Swait() |
| 1300 | + | if dude.Name ~= char then |
| 1301 | - | RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0) |
| 1301 | + | local bgf = IT("BodyGyro", dude.Head)
|
| 1302 | - | SHELL.CFrame = CF(RootPart.Position) |
| 1302 | + | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) |
| 1303 | - | WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(5,3,5), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
|
| 1303 | + | local val = IT("BoolValue", dude)
|
| 1304 | val.Name = "IsHit" | |
| 1305 | - | RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z)) |
| 1305 | + | local ds = coroutine.wrap(function() |
| 1306 | - | SHELL.CFrame = CF(RootPart.Position) |
| 1306 | + | dude:WaitForChild("Head"):BreakJoints()
|
| 1307 | - | WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(35,35,35)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
|
| 1307 | + | wait(0.5) |
| 1308 | - | WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
|
| 1308 | + | target = nil |
| 1309 | - | WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
|
| 1309 | + | coroutine.resume(coroutine.create(function() |
| 1310 | - | for i = 1, 5 do |
| 1310 | + | for i, v in pairs(dude:GetChildren()) do |
| 1311 | - | WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
|
| 1311 | + | if v:IsA("Accessory") then
|
| 1312 | v:Destroy() | |
| 1313 | - | SHELL:remove() |
| 1313 | + | |
| 1314 | - | ApplyAoE(RootPart.Position,75,35,75,175,false) |
| 1314 | + | if v:IsA("Humanoid") then
|
| 1315 | - | SMASHED = true |
| 1315 | + | v:Destroy() |
| 1316 | - | wait(1) |
| 1316 | + | |
| 1317 | - | VALUE1 = false |
| 1317 | + | if v:IsA("CharacterMesh") then
|
| 1318 | - | UNANCHOR = true |
| 1318 | + | v:Destroy() |
| 1319 | - | ATTACK = false |
| 1319 | + | |
| 1320 | - | Rooted = false |
| 1320 | + | if v:IsA("Model") then
|
| 1321 | v:Destroy() | |
| 1322 | end | |
| 1323 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 1324 | - | --//=================================\\ |
| 1324 | + | for x, o in pairs(v:GetChildren()) do |
| 1325 | - | --|| ASSIGN THINGS TO KEYS |
| 1325 | + | if o:IsA("Decal") then
|
| 1326 | - | --\\=================================// |
| 1326 | + | o:Destroy() |
| 1327 | end | |
| 1328 | - | function MouseDown(Mouse) |
| 1328 | + | |
| 1329 | - | if ATTACK == false then |
| 1329 | + | coroutine.resume(coroutine.create(function() |
| 1330 | v.Material = "Neon" | |
| 1331 | v.CanCollide = false | |
| 1332 | local PartEmmit1 = IT("ParticleEmitter", v)
| |
| 1333 | - | function MouseUp(Mouse) |
| 1333 | + | PartEmmit1.LightEmission = 1 |
| 1334 | - | HOLD = false |
| 1334 | + | PartEmmit1.Texture = "rbxassetid://284205403" |
| 1335 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 1336 | PartEmmit1.Rate = 150 | |
| 1337 | - | function KeyDown(Key) |
| 1337 | + | PartEmmit1.Lifetime = NumberRange.new(1) |
| 1338 | - | KEYHOLD = true |
| 1338 | + | PartEmmit1.Size = NumberSequence.new({
|
| 1339 | - | if Key == "z" and ATTACK == false then |
| 1339 | + | NumberSequenceKeypoint.new(0, 0.75, 0), |
| 1340 | - | Banisher_Bullet() |
| 1340 | + | NumberSequenceKeypoint.new(1, 0, 0) |
| 1341 | }) | |
| 1342 | PartEmmit1.Transparency = NumberSequence.new({
| |
| 1343 | - | if Key == "t" and ATTACK == false then |
| 1343 | + | NumberSequenceKeypoint.new(0, 0, 0), |
| 1344 | - | Laugh() |
| 1344 | + | NumberSequenceKeypoint.new(1, 1, 0) |
| 1345 | }) | |
| 1346 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
| 1347 | - | if Key == "x" and ATTACK == false then |
| 1347 | + | PartEmmit1.VelocitySpread = 30000 |
| 1348 | - | WarpMeteor() |
| 1348 | + | PartEmmit1.Rotation = NumberRange.new(-500, 500) |
| 1349 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
| 1350 | local BodPoss = IT("BodyPosition", v)
| |
| 1351 | BodPoss.P = 3000 | |
| 1352 | - | function KeyUp(Key) |
| 1352 | + | BodPoss.D = 1000 |
| 1353 | - | KEYHOLD = false |
| 1353 | + | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) |
| 1354 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
| 1355 | v.Color = maincolor.Color | |
| 1356 | - | Mouse.Button1Down:connect(function(NEWKEY) |
| 1356 | + | coroutine.resume(coroutine.create(function() |
| 1357 | - | MouseDown(NEWKEY) |
| 1357 | + | for i = 0, 49 do |
| 1358 | swait(1) | |
| 1359 | - | Mouse.Button1Up:connect(function(NEWKEY) |
| 1359 | + | v.Transparency = v.Transparency + 0.08 |
| 1360 | - | MouseUp(NEWKEY) |
| 1360 | + | |
| 1361 | wait(0.5) | |
| 1362 | - | Mouse.KeyDown:connect(function(NEWKEY) |
| 1362 | + | PartEmmit1.Enabled = false |
| 1363 | - | KeyDown(NEWKEY) |
| 1363 | + | wait(3) |
| 1364 | v:Destroy() | |
| 1365 | - | Mouse.KeyUp:connect(function(NEWKEY) |
| 1365 | + | dude:Destroy() |
| 1366 | - | KeyUp(NEWKEY) |
| 1366 | + | end)) |
| 1367 | end)) | |
| 1368 | end | |
| 1369 | - | --//=================================\\ |
| 1369 | + | |
| 1370 | - | --\\=================================// |
| 1370 | + | end)) |
| 1371 | end) | |
| 1372 | ds() | |
| 1373 | - | function unanchor() |
| 1373 | + | |
| 1374 | - | if UNANCHOR == true then |
| 1374 | + | |
| 1375 | - | g = Character:GetChildren() |
| 1375 | + | |
| 1376 | - | for i = 1, #g do |
| 1376 | + | function FindNearestHead(Position, Distance, SinglePlayer) |
| 1377 | - | if g[i].ClassName == "Part" then |
| 1377 | + | if SinglePlayer then |
| 1378 | - | g[i].Anchored = false |
| 1378 | + | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude |
| 1379 | end | |
| 1380 | local List = {}
| |
| 1381 | for i, v in pairs(workspace:GetChildren()) do | |
| 1382 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
| |
| 1383 | table.insert(List, v) | |
| 1384 | end | |
| 1385 | - | --//=================================\\ |
| 1385 | + | |
| 1386 | - | --|| WRAP THE WHOLE SCRIPT UP |
| 1386 | + | return List |
| 1387 | - | --\\=================================// |
| 1387 | + | |
| 1388 | ||
| 1389 | - | Humanoid.Changed:connect(function(Jump) |
| 1389 | + | function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) |
| 1390 | - | if Jump == "Jump" and (Disable_Jump == true) then |
| 1390 | + | local type = type |
| 1391 | - | Humanoid.Jump = false |
| 1391 | + | local rng = Instance.new("Part", char)
|
| 1392 | rng.Anchored = true | |
| 1393 | rng.BrickColor = color | |
| 1394 | rng.CanCollide = false | |
| 1395 | - | local CONNECT = nil |
| 1395 | + | rng.FormFactor = 3 |
| 1396 | rng.Name = "Ring" | |
| 1397 | rng.Material = "Neon" | |
| 1398 | - | Swait() |
| 1398 | + | rng.Size = Vector3.new(1, 1, 1) |
| 1399 | - | ANIMATE.Parent = nil |
| 1399 | + | rng.Transparency = 0 |
| 1400 | - | if Character:FindFirstChildOfClass("Humanoid") == nil then
|
| 1400 | + | rng.TopSurface = 0 |
| 1401 | - | Humanoid = IT("Humanoid",Character)
|
| 1401 | + | rng.BottomSurface = 0 |
| 1402 | rng.CFrame = pos | |
| 1403 | - | for _,v in next, Humanoid:GetPlayingAnimationTracks() do |
| 1403 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos |
| 1404 | - | v:Stop(); |
| 1404 | + | local rngm = Instance.new("SpecialMesh", rng)
|
| 1405 | rngm.MeshType = MType | |
| 1406 | - | SINE = SINE + CHANGE |
| 1406 | + | rngm.Scale = Vector3.new(x1, y1, z1) |
| 1407 | - | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude |
| 1407 | + | local scaler2 = 1 |
| 1408 | - | local TORSOVERTICALVELOCITY = RootPart.Velocity.y |
| 1408 | + | local speeder = FastSpeed |
| 1409 | - | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) |
| 1409 | + | if type == "Add" then |
| 1410 | - | local WALKSPEEDVALUE = 24 / (Humanoid.WalkSpeed / 16) |
| 1410 | + | scaler2 = 1 * value |
| 1411 | - | if ANIM == "Walk" and TORSOVELOCITY > 1 then |
| 1411 | + | elseif type == "Divide" then |
| 1412 | - | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) |
| 1412 | + | scaler2 = 1 / value |
| 1413 | - | Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) |
| 1413 | + | |
| 1414 | - | RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed*2) |
| 1414 | + | |
| 1415 | - | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed*2) |
| 1415 | + | for i = 0, 10 / bonuspeed, 0.1 do |
| 1416 | - | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then |
| 1416 | + | swait() |
| 1417 | - | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
| 1417 | + | if type == "Add" then |
| 1418 | - | Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
| 1418 | + | scaler2 = scaler2 - 0.01 * value / bonuspeed |
| 1419 | - | RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*2) |
| 1419 | + | elseif type == "Divide" then |
| 1420 | - | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*2) |
| 1420 | + | scaler2 = scaler2 - 0.01 / value * bonuspeed |
| 1421 | end | |
| 1422 | - | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then |
| 1422 | + | speeder = speeder - 0.01 * FastSpeed * bonuspeed |
| 1423 | - | ANIM = "Jump" |
| 1423 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed |
| 1424 | - | if ATTACK == false then |
| 1424 | + | rng.Transparency = rng.Transparency + 0.01 * bonuspeed |
| 1425 | - | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
| 1425 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) |
| 1426 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
| 1426 | + | |
| 1427 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) |
| 1427 | + | rng:Destroy() |
| 1428 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) |
| 1428 | + | |
| 1429 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) |
| 1429 | + | |
| 1430 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) |
| 1430 | + | |
| 1431 | - | end |
| 1431 | + | function SoulSteal(dude) |
| 1432 | - | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then |
| 1432 | + | if dude.Name ~= char then |
| 1433 | - | ANIM = "Fall" |
| 1433 | + | local bgf = IT("BodyGyro", dude.Head)
|
| 1434 | - | if ATTACK == false then |
| 1434 | + | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) |
| 1435 | - | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
| 1435 | + | local val = IT("BoolValue", dude)
|
| 1436 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
| 1436 | + | val.Name = "IsHit" |
| 1437 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) |
| 1437 | + | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') |
| 1438 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) |
| 1438 | + | local soulst = coroutine.wrap(function() |
| 1439 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) |
| 1439 | + | local soul = Instance.new("Part",dude)
|
| 1440 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) |
| 1440 | + | soul.Size = Vector3.new(1,1,1) |
| 1441 | soul.CanCollide = false | |
| 1442 | - | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then |
| 1442 | + | soul.Anchored = false |
| 1443 | - | ANIM = "Idle" |
| 1443 | + | soul.Position = torso.Position |
| 1444 | - | if ATTACK == false then |
| 1444 | + | soul.Transparency = 1 |
| 1445 | - | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
| 1445 | + | local PartEmmit1 = IT("ParticleEmitter", soul)
|
| 1446 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
| 1446 | + | PartEmmit1.LightEmission = 1 |
| 1447 | - | --RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.25 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed) |
| 1447 | + | PartEmmit1.Texture = "rbxassetid://569507414" |
| 1448 | - | --LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.2 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed) |
| 1448 | + | PartEmmit1.Color = ColorSequence.new(maincolor.Color) |
| 1449 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) |
| 1449 | + | PartEmmit1.Rate = 250 |
| 1450 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) |
| 1450 | + | PartEmmit1.Lifetime = NumberRange.new(1.6) |
| 1451 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed) |
| 1451 | + | PartEmmit1.Size = NumberSequence.new({
|
| 1452 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed) |
| 1452 | + | NumberSequenceKeypoint.new(0, 1, 0), |
| 1453 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 1454 | - | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then |
| 1454 | + | }) |
| 1455 | - | ANIM = "Walk" |
| 1455 | + | PartEmmit1.Transparency = NumberSequence.new({
|
| 1456 | - | if ATTACK == false then |
| 1456 | + | NumberSequenceKeypoint.new(0, 0, 0), |
| 1457 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.5 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
| 1457 | + | NumberSequenceKeypoint.new(1, 1, 0) |
| 1458 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
| 1458 | + | }) |
| 1459 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) |
| 1459 | + | PartEmmit1.Speed = NumberRange.new(0, 0) |
| 1460 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) |
| 1460 | + | PartEmmit1.VelocitySpread = 30000 |
| 1461 | - | --RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) |
| 1461 | + | PartEmmit1.Rotation = NumberRange.new(-360, 360) |
| 1462 | - | --LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) |
| 1462 | + | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) |
| 1463 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
| 1463 | + | local BodPoss = IT("BodyPosition", soul)
|
| 1464 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) |
| 1464 | + | BodPoss.P = 3000 |
| 1465 | BodPoss.D = 1000 | |
| 1466 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 1467 | - | unanchor() |
| 1467 | + | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) |
| 1468 | - | Humanoid.MaxHealth = "inf" |
| 1468 | + | wait(1.6) |
| 1469 | - | Humanoid.Health = "inf" |
| 1469 | + | soul.Touched:connect(function(hit) |
| 1470 | - | if Rooted == false then |
| 1470 | + | if hit.Parent == char then |
| 1471 | - | Disable_Jump = false |
| 1471 | + | soul:Destroy() |
| 1472 | - | Humanoid.WalkSpeed = Speed |
| 1472 | + | |
| 1473 | - | elseif Rooted == true then |
| 1473 | + | |
| 1474 | - | Disable_Jump = true |
| 1474 | + | wait(1.2) |
| 1475 | - | Humanoid.WalkSpeed = 0 |
| 1475 | + | while soul do |
| 1476 | swait() | |
| 1477 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 1478 | BodPoss.Position = tors.Position | |
| 1479 | - | --//=================================\\ |
| 1479 | + | |
| 1480 | - | --\\=================================// |
| 1480 | + | |
| 1481 | soulst() | |
| 1482 | end | |
| 1483 | end | |
| 1484 | function FaceMouse() | |
| 1485 | local Cam = workspace.CurrentCamera | |
| 1486 | - | --//====================================================\\-- |
| 1486 | + | return {
|
| 1487 | - | --|| END OF SCRIPT |
| 1487 | + | CFrame.new(char.Torso.Position, Vector3.new(Mouse.Hit.p.x, char.Torso.Position.y, Mouse.Hit.p.z)), |
| 1488 | - | --\\====================================================//-- |
| 1488 | + | Vector3.new(Mouse.Hit.p.x, Mouse.Hit.p.y, Mouse.Hit.p.z) |
| 1489 | } | |
| 1490 | end | |
| 1491 | -------------------- | |
| 1492 | ----------------------------------- | |
| 1493 | --End Effect Function-- | |
| 1494 | ------------------------------------------------------- | |
| 1495 | function Cso(ID, PARENT, VOLUME, PITCH) | |
| 1496 | local NSound = nil | |
| 1497 | coroutine.resume(coroutine.create(function() | |
| 1498 | NSound = IT("Sound", PARENT)
| |
| 1499 | NSound.Volume = VOLUME | |
| 1500 | NSound.Pitch = PITCH | |
| 1501 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 1502 | swait() | |
| 1503 | NSound:play() | |
| 1504 | game:GetService("Debris"):AddItem(NSound, 10)
| |
| 1505 | end)) | |
| 1506 | return NSound | |
| 1507 | end | |
| 1508 | function CameraEnshaking(Length, Intensity) | |
| 1509 | coroutine.resume(coroutine.create(function() | |
| 1510 | local intensity = 1 * Intensity | |
| 1511 | local rotM = 0.01 * Intensity | |
| 1512 | for i = 0, Length, 0.1 do | |
| 1513 | swait() | |
| 1514 | intensity = intensity - 0.05 * Intensity / Length | |
| 1515 | rotM = rotM - 5.0E-4 * Intensity / Length | |
| 1516 | hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) | |
| 1517 | cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM) | |
| 1518 | end | |
| 1519 | hum.CameraOffset = Vector3.new(0, 0, 0) | |
| 1520 | end)) | |
| 1521 | end | |
| 1522 | -- | |
| 1523 | function SphereAura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos) | |
| 1524 | local type = type | |
| 1525 | local rng = Instance.new("Part", char)
| |
| 1526 | rng.Anchored = true | |
| 1527 | rng.BrickColor = color | |
| 1528 | rng.CanCollide = false | |
| 1529 | rng.FormFactor = 3 | |
| 1530 | rng.Name = "Ring" | |
| 1531 | rng.Material = "Neon" | |
| 1532 | rng.Size = Vector3.new(1, 1, 1) | |
| 1533 | rng.Transparency = 0 | |
| 1534 | rng.TopSurface = 0 | |
| 1535 | rng.BottomSurface = 0 | |
| 1536 | rng.CFrame = pos | |
| 1537 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
| 1538 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 1539 | rngm.MeshType = "Sphere" | |
| 1540 | rngm.Scale = Vector3.new(x1, y1, z1) | |
| 1541 | local scaler2 = 1 | |
| 1542 | local speeder = FastSpeed | |
| 1543 | if type == "Add" then | |
| 1544 | scaler2 = 1 * value | |
| 1545 | elseif type == "Divide" then | |
| 1546 | scaler2 = 1 / value | |
| 1547 | end | |
| 1548 | coroutine.resume(coroutine.create(function() | |
| 1549 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 1550 | swait() | |
| 1551 | if type == "Add" then | |
| 1552 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 1553 | elseif type == "Divide" then | |
| 1554 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 1555 | end | |
| 1556 | rng.BrickColor = BrickColor.random() | |
| 1557 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
| 1558 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
| 1559 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 1560 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
| 1561 | end | |
| 1562 | rng:Destroy() | |
| 1563 | end)) | |
| 1564 | end | |
| 1565 | ||
| 1566 | function FindNearestHead(Position, Distance, SinglePlayer) | |
| 1567 | if SinglePlayer then | |
| 1568 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
| 1569 | end | |
| 1570 | local List = {}
| |
| 1571 | for i, v in pairs(workspace:GetChildren()) do | |
| 1572 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
| |
| 1573 | table.insert(List, v) | |
| 1574 | end | |
| 1575 | end | |
| 1576 | return List | |
| 1577 | end | |
| 1578 | ------------------------------------------------------- | |
| 1579 | --End Important Functions-- | |
| 1580 | ------------------------------------------------------- | |
| 1581 | ||
| 1582 | ||
| 1583 | local Lite = IT("PointLight",tors)
| |
| 1584 | Lite.Color = Color3.new(.7,0,1) | |
| 1585 | Lite.Range = 8 | |
| 1586 | Lite.Brightness = 10 | |
| 1587 | Lite.Shadows = true | |
| 1588 | -- | |
| 1589 | abss = Instance.new("BillboardGui",char)
| |
| 1590 | abss.Size = UDim2.new(10,0,10,0) | |
| 1591 | abss.Enabled = false | |
| 1592 | imgl = Instance.new("ImageLabel",abss)
| |
| 1593 | imgl.Position = UDim2.new(0,0,0,0) | |
| 1594 | imgl.Size = UDim2.new(1,0,1,0) | |
| 1595 | imgl.Image = "rbxassetid://224019254" | |
| 1596 | imgl.BackgroundTransparency = 1 | |
| 1597 | imgl.ImageColor3 = Color3.new(.5,0,.5) | |
| 1598 | img2 = Instance.new("ImageLabel",abss)
| |
| 1599 | img2.Position = UDim2.new(0,0,0,0) | |
| 1600 | img2.Size = UDim2.new(1,0,1,0) | |
| 1601 | img2.Image = "rbxassetid://224019254" | |
| 1602 | img2.BackgroundTransparency = 1 | |
| 1603 | img2.ImageColor3 = Color3.new(.5,0,.5) | |
| 1604 | ------------------------------------------------------- | |
| 1605 | --Start Customization-- | |
| 1606 | ------------------------------------------------------- | |
| 1607 | local Player_Size = 1 | |
| 1608 | if Player_Size ~= 1 then | |
| 1609 | root.Size = root.Size * Player_Size | |
| 1610 | tors.Size = tors.Size * Player_Size | |
| 1611 | hed.Size = hed.Size * Player_Size | |
| 1612 | ra.Size = ra.Size * Player_Size | |
| 1613 | la.Size = la.Size * Player_Size | |
| 1614 | rl.Size = rl.Size * Player_Size | |
| 1615 | ll.Size = ll.Size * Player_Size | |
| 1616 | ---------------------------------------------------------------------------------- | |
| 1617 | rootj.Parent = root | |
| 1618 | neck.Parent = tors | |
| 1619 | RW.Parent = tors | |
| 1620 | LW.Parent = tors | |
| 1621 | RH.Parent = tors | |
| 1622 | LH.Parent = tors | |
| 1623 | ---------------------------------------------------------------------------------- | |
| 1624 | rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1625 | rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1626 | neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1627 | neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) | |
| 1628 | RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0 | |
| 1629 | LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0 | |
| 1630 | ---------------------------------------------------------------------------------- | |
| 1631 | RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1632 | LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1633 | RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1634 | LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1635 | --hat.Parent = Character | |
| 1636 | end | |
| 1637 | ---------------------------------------------------------------------------------- | |
| 1638 | local SONG = 570556587 | |
| 1639 | local SONG2 = 0 | |
| 1640 | local Music = Instance.new("Sound",tors)
| |
| 1641 | Music.Volume = 2.5 | |
| 1642 | Music.Looped = true | |
| 1643 | Music.Pitch = 1 --Pitcher | |
| 1644 | ---------------------------------------------------------------------------------- | |
| 1645 | local equipped = false | |
| 1646 | local idle = 0 | |
| 1647 | local change = 1 | |
| 1648 | local val = 0 | |
| 1649 | local toim = 0 | |
| 1650 | local idleanim = 0.4 | |
| 1651 | local sine = 0 | |
| 1652 | local Sit = 1 | |
| 1653 | ---------------------------------------------------------------------------------- | |
| 1654 | hum.WalkSpeed = 50 | |
| 1655 | hum.JumpPower = 100 | |
| 1656 | hum.Animator.Parent = nil | |
| 1657 | ---------------------------------------------------------------------------------- | |
| 1658 | local r = 255 | |
| 1659 | local g = 0 | |
| 1660 | local b = 0 | |
| 1661 | coroutine.resume(coroutine.create(function() | |
| 1662 | while wait() do | |
| 1663 | for i = 0, 50.8 do | |
| 1664 | swait() | |
| 1665 | g = g + 5 | |
| 1666 | end | |
| 1667 | for i = 0, 50.8 do | |
| 1668 | swait() | |
| 1669 | r = r - 5 | |
| 1670 | end | |
| 1671 | for i = 0, 50.8 do | |
| 1672 | swait() | |
| 1673 | b = b + 5 | |
| 1674 | end | |
| 1675 | for i = 0, 50.8 do | |
| 1676 | swait() | |
| 1677 | g = g - 5 | |
| 1678 | end | |
| 1679 | for i = 0, 50.8 do | |
| 1680 | swait() | |
| 1681 | r = r + 5 | |
| 1682 | end | |
| 1683 | for i = 0, 50.8 do | |
| 1684 | swait() | |
| 1685 | b = b - 5 | |
| 1686 | end | |
| 1687 | end | |
| 1688 | end)) | |
| 1689 | ||
| 1690 | --- | |
| 1691 | ||
| 1692 | ||
| 1693 | ---------------------------------------------------------------------------------- | |
| 1694 | local naeeym2 = IT("BillboardGui",char)
| |
| 1695 | naeeym2.AlwaysOnTop = true | |
| 1696 | naeeym2.Size = UDim2.new(5,35,2,15) | |
| 1697 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
| 1698 | naeeym2.MaxDistance = 75 | |
| 1699 | naeeym2.Adornee = hed | |
| 1700 | naeeym2.Name = "Name" | |
| 1701 | local tecks2 = IT("TextLabel",naeeym2)
| |
| 1702 | tecks2.BackgroundTransparency = 1 | |
| 1703 | tecks2.TextScaled = true | |
| 1704 | tecks2.BorderSizePixel = 0 | |
| 1705 | tecks2.Text = "" | |
| 1706 | tecks2.Font = "Fantasy" | |
| 1707 | tecks2.TextSize = 30 | |
| 1708 | tecks2.TextStrokeTransparency = 0 | |
| 1709 | tecks2.TextColor3 = Color3.new(1,1,1) | |
| 1710 | tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) | |
| 1711 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 1712 | tecks2.Parent = naeeym2 | |
| 1713 | hed.face.Texture = "rbxassetid://404306534" | |
| 1714 | -- | |
| 1715 | CV="Blue" | |
| 1716 | Character = Player.Character | |
| 1717 | local txt = Instance.new("BillboardGui", Character)
| |
| 1718 | txt.Adornee = Character .Head | |
| 1719 | txt.Name = "_status" | |
| 1720 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
| 1721 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
| 1722 | local text = Instance.new("TextLabel", txt)
| |
| 1723 | text.Size = UDim2.new(10, 0, 7, 0) | |
| 1724 | text.FontSize = "Size24" | |
| 1725 | text.TextScaled = true | |
| 1726 | text.TextTransparency = 0 | |
| 1727 | text.BackgroundTransparency = 1 | |
| 1728 | text.TextTransparency = 0 | |
| 1729 | text.TextStrokeTransparency = 0 | |
| 1730 | text.Font = "Antique" | |
| 1731 | text.TextStrokeColor3 = Color3.new(255,0,0) | |
| 1732 | ||
| 1733 | v=Instance.new("Part")
| |
| 1734 | v.Name = "ColorBrick" | |
| 1735 | v.Parent=Player.Character | |
| 1736 | v.FormFactor="Symmetric" | |
| 1737 | v.Anchored=true | |
| 1738 | v.CanCollide=false | |
| 1739 | v.BottomSurface="Smooth" | |
| 1740 | v.TopSurface="Smooth" | |
| 1741 | v.Size=Vector3.new(10,5,3) | |
| 1742 | v.Transparency=1 | |
| 1743 | v.CFrame=Character.Torso.CFrame | |
| 1744 | v.BrickColor=BrickColor.new(CV) | |
| 1745 | v.Transparency=1 | |
| 1746 | text.TextColor3 = Color3.new(0,0,0) | |
| 1747 | v.Shape="Block" | |
| 1748 | text.Text = "Anime Girl" | |
| 1749 | coroutine.resume(coroutine.create(function() | |
| 1750 | while true do wait() | |
| 1751 | text.Text = "Stranger" | |
| 1752 | wait(math.random(1,2)) | |
| 1753 | local textline = math.random(1,4) | |
| 1754 | if textline == 1 then | |
| 1755 | text.Text = "S!#T$R!%4n$G3r" | |
| 1756 | wait() | |
| 1757 | text.Text = "H|I S{NP4|:)"
| |
| 1758 | ||
| 1759 | end | |
| 1760 | if textline == 2 then | |
| 1761 | text.Text = "=$?_#Wh4t)" | |
| 1762 | wait(.05) | |
| 1763 | ||
| 1764 | if textline == 3 then | |
| 1765 | text.Text = "%E#rro!r#" | |
| 1766 | wait(.05) | |
| 1767 | text.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1)) | |
| 1768 | ||
| 1769 | end | |
| 1770 | ||
| 1771 | ||
| 1772 | ||
| 1773 | ||
| 1774 | ||
| 1775 | ||
| 1776 | ||
| 1777 | end | |
| 1778 | end | |
| 1779 | ||
| 1780 | ||
| 1781 | ||
| 1782 | end)) | |
| 1783 | --- | |
| 1784 | ||
| 1785 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 1786 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1787 | prt.Anchored = true | |
| 1788 | prt.CFrame = cframe | |
| 1789 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1790 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1791 | if Type == 1 or Type == nil then | |
| 1792 | table.insert(Effects, {
| |
| 1793 | prt, | |
| 1794 | "Block1", | |
| 1795 | delay, | |
| 1796 | x3, | |
| 1797 | y3, | |
| 1798 | z3, | |
| 1799 | msh | |
| 1800 | }) | |
| 1801 | elseif Type == 2 then | |
| 1802 | table.insert(Effects, {
| |
| 1803 | prt, | |
| 1804 | "Block2", | |
| 1805 | delay, | |
| 1806 | x3, | |
| 1807 | y3, | |
| 1808 | z3, | |
| 1809 | msh | |
| 1810 | }) | |
| 1811 | elseif Type == 3 then | |
| 1812 | table.insert(Effects, {
| |
| 1813 | prt, | |
| 1814 | "Block3", | |
| 1815 | delay, | |
| 1816 | x3, | |
| 1817 | y3, | |
| 1818 | z3, | |
| 1819 | msh | |
| 1820 | }) | |
| 1821 | end | |
| 1822 | end | |
| 1823 | ||
| 1824 | ||
| 1825 | ||
| 1826 | ||
| 1827 | ||
| 1828 | ---------------------------------------------------------------------------------- | |
| 1829 | local AddInstance = function(Object, ...) | |
| 1830 | local Obj = Instance.new(Object) | |
| 1831 | for i,v in next,(...) do | |
| 1832 | Obj[i] = v | |
| 1833 | end | |
| 1834 | return Obj | |
| 1835 | end | |
| 1836 | ---------------------------------------------------- | |
| 1837 | local Reaper = AddInstance("Part",{
| |
| 1838 | Parent = hed, | |
| 1839 | CFrame = hed.CFrame, | |
| 1840 | formFactor = "Symmetric", | |
| 1841 | Size = Vector3.new(1, 1, 1), | |
| 1842 | CanCollide = false, | |
| 1843 | TopSurface = "Smooth", | |
| 1844 | BottomSurface = "Smooth", | |
| 1845 | Locked = true, | |
| 1846 | }) | |
| 1847 | local Weld = AddInstance("Weld",{
| |
| 1848 | Parent = Reaper, | |
| 1849 | Part0 = hed, | |
| 1850 | C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0), | |
| 1851 | Part1 = Reaper, | |
| 1852 | }) | |
| 1853 | local Mesh = AddInstance("SpecialMesh",{
| |
| 1854 | Parent = Reaper, | |
| 1855 | MeshId = "rbxassetid://83499032", | |
| 1856 | TextureId = "rbxassetid://184744284", | |
| 1857 | Scale = Vector3.new(1.1, 1.1, 1.1), | |
| 1858 | VertexColor = Vector3.new(0.3, 0.3, 0.3), | |
| 1859 | }) | |
| 1860 | ------------------------------------------------------- | |
| 1861 | --End Customization-- | |
| 1862 | ------------------------------------------------------- | |
| 1863 | ||
| 1864 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
| 1865 | local NSound = nil | |
| 1866 | coroutine.resume(coroutine.create(function() | |
| 1867 | NSound = Instance.new("Sound", PARENT)
| |
| 1868 | NSound.Volume = VOLUME | |
| 1869 | NSound.Pitch = PITCH | |
| 1870 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 1871 | swait() | |
| 1872 | NSound:play() | |
| 1873 | game:GetService("Debris"):AddItem(NSound, 10)
| |
| 1874 | end)) | |
| 1875 | return NSound | |
| 1876 | end | |
| 1877 | ||
| 1878 | ||
| 1879 | ------------------------------------------------------- | |
| 1880 | --Start Attacks N Stuff-- | |
| 1881 | ------------------------------------------------------- | |
| 1882 | local sine=0 | |
| 1883 | function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype) | |
| 1884 | local Hitboxpart = Instance.new("Part", EffectModel)
| |
| 1885 | RemoveOutlines(Hitboxpart) | |
| 1886 | Hitboxpart.Size = Vector3.new(siz1, siz2, siz3) | |
| 1887 | Hitboxpart.CanCollide = false | |
| 1888 | Hitboxpart.Transparency = 1 | |
| 1889 | Hitboxpart.Anchored = true | |
| 1890 | Hitboxpart.CFrame = Pose | |
| 1891 | game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
| |
| 1892 | MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype) | |
| 1893 | end | |
| 1894 | wait2 = false | |
| 1895 | combo = 1 | |
| 1896 | Mouse.Button1Down:connect(function(key) | |
| 1897 | if attack == false then | |
| 1898 | attack = true | |
| 1899 | hum.WalkSpeed = 3.01 | |
| 1900 | if combo == 1 and wait2 == false then | |
| 1901 | wait2 = true | |
| 1902 | for i = 0, 1.2, 0.1 do | |
| 1903 | swait() | |
| 1904 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3) | |
| 1905 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
| 1906 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1) | |
| 1907 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
| 1908 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3) | |
| 1909 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3) | |
| 1910 | end | |
| 1911 | CreateSound("138097048", ra, 3, .8)
| |
| 1912 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal") | |
| 1913 | for i = 0, 1.2, 0.1 do | |
| 1914 | swait() | |
| 1915 | BlockEffect(maincolor, Handle.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2) | |
| 1916 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(55)), 0.3) | |
| 1917 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
| 1918 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(95), math.rad(0), math.rad(40)), 0.1) | |
| 1919 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
| 1920 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3) | |
| 1921 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) | |
| 1922 | end | |
| 1923 | combo = 2 | |
| 1924 | end | |
| 1925 | if combo == 2 and wait2 == false then | |
| 1926 | wait2 = true | |
| 1927 | for i = 0, 1.2, 0.1 do | |
| 1928 | swait() | |
| 1929 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3) | |
| 1930 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
| 1931 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1) | |
| 1932 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
| 1933 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3) | |
| 1934 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3) | |
| 1935 | end | |
| 1936 | CreateSound("138097048", rl, 3, 1)
| |
| 1937 | HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal") | |
| 1938 | for i = 0, 1.6, 0.1 do | |
| 1939 | swait() | |
| 1940 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(65+255.45*i)), 0.3) | |
| 1941 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
| 1942 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(54), math.rad(0), math.rad(35)), 0.1) | |
| 1943 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-35)), 0.3) | |
| 1944 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3) | |
| 1945 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(0)), 0.3) | |
| 1946 | end | |
| 1947 | combo = 3 | |
| 1948 | end | |
| 1949 | if combo == 3 and wait2 == false then | |
| 1950 | for i = 0, 1.2, 0.1 do | |
| 1951 | swait() | |
| 1952 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3) | |
| 1953 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) | |
| 1954 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1) | |
| 1955 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
| 1956 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3) | |
| 1957 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3) | |
| 1958 | end | |
| 1959 | CreateSound("138097048", ra, 3, .8)
| |
| 1960 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal") | |
| 1961 | for i = 0, 1.2, 0.1 do | |
| 1962 | swait() | |
| 1963 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(35)), 0.3) | |
| 1964 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
| 1965 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(96), math.rad(0), math.rad(10)), 0.1) | |
| 1966 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
| 1967 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3) | |
| 1968 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) | |
| 1969 | end | |
| 1970 | Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 0.1, 0.1, 0.1, 0.03) | |
| 1971 | Effects.Ring.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 2, 2, 2, 0.1, 0.1, 0.1, 0.03) | |
| 1972 | HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal") | |
| 1973 | for i = 0, 1.2, 0.1 do | |
| 1974 | swait() | |
| 1975 | rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-35)), 0.3) | |
| 1976 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
| 1977 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(25), math.rad(0), math.rad(10)), 0.1) | |
| 1978 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3) | |
| 1979 | RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3) | |
| 1980 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3) | |
| 1981 | end | |
| 1982 | combo = 1 | |
| 1983 | end | |
| 1984 | hum.WalkSpeed = 8 | |
| 1985 | wait2 = false | |
| 1986 | attack = false | |
| 1987 | end | |
| 1988 | end) | |
| 1989 | ||
| 1990 | function Ending() | |
| 1991 | local target = nil | |
| 1992 | local targettorso = nil | |
| 1993 | if Mouse.Target.Parent ~= char and Mouse.Target.Parent.Parent ~= char and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 1994 | if Mouse.Target.Parent.Humanoid.PlatformStand == false then | |
| 1995 | targetT = Mouse.Target.Parent | |
| 1996 | target = Mouse.Target.Parent.Humanoid | |
| 1997 | targettorso = Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
| |
| 1998 | targethead = Mouse.Target.Parent:FindFirstChild("Head")
| |
| 1999 | end | |
| 2000 | end | |
| 2001 | if target ~= nil then | |
| 2002 | targettorso.Anchored = true | |
| 2003 | attack = true | |
| 2004 | hum.WalkSpeed = 0 | |
| 2005 | local originalpos = root.CFrame | |
| 2006 | root.CFrame = targettorso.CFrame * CF(0,0,2.6) | |
| 2007 | for i = 0,1.8,0.1 do | |
| 2008 | swait() | |
| 2009 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-65)), 0.15) | |
| 2010 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(65)), 0.3) | |
| 2011 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
| 2012 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
| 2013 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(35)), 0.1) | |
| 2014 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
| 2015 | end | |
| 2016 | Eviscerate(targetT) | |
| 2017 | CreateSound("331666100", ra, 4, 1)
| |
| 2018 | CreateSound("180083286", targettorso, 10, 1)
| |
| 2019 | coroutine.resume(coroutine.create(function() | |
| 2020 | for i = 0,1.8,0.1 do | |
| 2021 | swait() | |
| 2022 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
| 2023 | end | |
| 2024 | for i = 0,1.8,0.1 do | |
| 2025 | swait() | |
| 2026 | hum.CameraOffset = Vector3.new(0,0,0) | |
| 2027 | end | |
| 2028 | end)) | |
| 2029 | for i = 0,4.6,0.1 do | |
| 2030 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
| 2031 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
| 2032 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
| 2033 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
| 2034 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) | |
| 2035 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
| 2036 | end | |
| 2037 | wait(.6) | |
| 2038 | root.CFrame = originalpos | |
| 2039 | attack = false | |
| 2040 | hum.WalkSpeed = 8 | |
| 2041 | end | |
| 2042 | end | |
| 2043 | ||
| 2044 | ||
| 2045 | function Ending() | |
| 2046 | local target = nil | |
| 2047 | local targettorso = nil | |
| 2048 | if Mouse.Target.Parent ~= char and Mouse.Target.Parent.Parent ~= char and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 2049 | if Mouse.Target.Parent.Humanoid.PlatformStand == false then | |
| 2050 | targetT = Mouse.Target.Parent | |
| 2051 | target = Mouse.Target.Parent.Humanoid | |
| 2052 | targettorso = Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
| |
| 2053 | targethead = Mouse.Target.Parent:FindFirstChild("Head")
| |
| 2054 | end | |
| 2055 | end | |
| 2056 | if target ~= nil then | |
| 2057 | targettorso.Anchored = true | |
| 2058 | attack = true | |
| 2059 | hum.WalkSpeed = 0 | |
| 2060 | local originalpos = root.CFrame | |
| 2061 | root.CFrame = targettorso.CFrame * CF(0,0,2.6) | |
| 2062 | for i = 0,1.8,0.1 do | |
| 2063 | swait() | |
| 2064 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-65)), 0.15) | |
| 2065 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(65)), 0.3) | |
| 2066 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
| 2067 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
| 2068 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(35)), 0.1) | |
| 2069 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
| 2070 | end | |
| 2071 | Eviscerate(targetT) | |
| 2072 | CreateSound("331666100", ra, 4, 1)
| |
| 2073 | CreateSound("180083286", targettorso, 10, 1)
| |
| 2074 | coroutine.resume(coroutine.create(function() | |
| 2075 | for i = 0,1.8,0.1 do | |
| 2076 | swait() | |
| 2077 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
| 2078 | end | |
| 2079 | for i = 0,1.8,0.1 do | |
| 2080 | swait() | |
| 2081 | hum.CameraOffset = Vector3.new(0,0,0) | |
| 2082 | end | |
| 2083 | end)) | |
| 2084 | for i = 0,4.6,0.1 do | |
| 2085 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
| 2086 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
| 2087 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
| 2088 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
| 2089 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1) | |
| 2090 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
| 2091 | end | |
| 2092 | wait(.6) | |
| 2093 | root.CFrame = originalpos | |
| 2094 | attack = false | |
| 2095 | hum.WalkSpeed = 8 | |
| 2096 | end | |
| 2097 | end | |
| 2098 | ||
| 2099 | function Painful_Stomp() | |
| 2100 | attack = true | |
| 2101 | for i = 0,0.1,0.1 do | |
| 2102 | swait() | |
| 2103 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
| 2104 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2105 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
| 2106 | LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
| 2107 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2108 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2109 | end | |
| 2110 | CreateSound("331666100", char, 10, 1)
| |
| 2111 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 2112 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 2113 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 2114 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 2115 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05) | |
| 2116 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05) | |
| 2117 | Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03) | |
| 2118 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do | |
| 2119 | if v:FindFirstChild("Head") then
| |
| 2120 | Eviscerate(v) | |
| 2121 | end | |
| 2122 | end | |
| 2123 | coroutine.resume(coroutine.create(function() | |
| 2124 | for i = 0,2.8,0.1 do | |
| 2125 | swait() | |
| 2126 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
| 2127 | end | |
| 2128 | for i = 0,1.8,0.1 do | |
| 2129 | swait() | |
| 2130 | hum.CameraOffset = Vector3.new(0,0,0) | |
| 2131 | end | |
| 2132 | end)) | |
| 2133 | for i = 0,3.7,0.1 do | |
| 2134 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
| 2135 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2136 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15) | |
| 2137 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15) | |
| 2138 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2139 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2140 | end | |
| 2141 | wait(.6) | |
| 2142 | attack = false | |
| 2143 | end | |
| 2144 | ||
| 2145 | ||
| 2146 | ||
| 2147 | function Purity_Slam() | |
| 2148 | attack = true | |
| 2149 | for i = 0,5.2,0.1 do | |
| 2150 | swait() | |
| 2151 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
| 2152 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2153 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
| 2154 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
| 2155 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2156 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2157 | end | |
| 2158 | CreateSound("331666100", tors, 10, 1)
| |
| 2159 | Effects.Ring.Create(BrickC("Really red"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
| |
| 2160 | Effects.Ring.Create(BrickC("Really red"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 5.6, 5.6, 5.6, 0.03)
| |
| 2161 | Effects.Ring.Create(BrickC("Really red"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
| |
| 2162 | Effects.Ring.Create(BrickC("Really red"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 10.6, 10, 10, 0.03)
| |
| 2163 | MagniDamage(tors, 100, 400, 600, 10, "Normal") | |
| 2164 | coroutine.resume(coroutine.create(function() | |
| 2165 | for i = 0,1.8,0.1 do | |
| 2166 | swait() | |
| 2167 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
| 2168 | end | |
| 2169 | for i = 0,1.8,0.1 do | |
| 2170 | swait() | |
| 2171 | hum.CameraOffset = Vector3.new(0,0,0) | |
| 2172 | end | |
| 2173 | end)) | |
| 2174 | for i = 1,4.7,0.1 do | |
| 2175 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15) | |
| 2176 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3) | |
| 2177 | RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15) | |
| 2178 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
| 2179 | RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1) | |
| 2180 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1) | |
| 2181 | end | |
| 2182 | wait(.6) | |
| 2183 | attack = false | |
| 2184 | end | |
| 2185 | ||
| 2186 | function Call_Upon_The_Eyes() | |
| 2187 | attack = true | |
| 2188 | hum.WalkSpeed = 0 | |
| 2189 | for i = 0, 6, 0.1 do | |
| 2190 | swait() | |
| 2191 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 2192 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2193 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15) | |
| 2194 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
| 2195 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.12) | |
| 2196 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 2197 | end | |
| 2198 | Magic(5, "Add", Mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere") | |
| 2199 | Magic(10, "Add", Mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere") | |
| 2200 | Magic(1, "Add", Mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere") | |
| 2201 | Magic(1, "Add", Mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere") | |
| 2202 | CameraEnshaking(4, 25) | |
| 2203 | for i, v in pairs(FindNearestHead(Mouse.Hit.p, 14.5)) do | |
| 2204 | if v:FindFirstChild("Head") then
| |
| 2205 | Eviscerate(v) | |
| 2206 | end | |
| 2207 | end | |
| 2208 | for i = 0, 6, 0.1 do | |
| 2209 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 2210 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2211 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15) | |
| 2212 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
| 2213 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.2) | |
| 2214 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 2215 | end | |
| 2216 | attack = false | |
| 2217 | hum.WalkSpeed = 10 | |
| 2218 | end | |
| 2219 | ||
| 2220 | function WhatHuh() | |
| 2221 | attack = true | |
| 2222 | hum.WalkSpeed = 1.01 | |
| 2223 | CreateSound("130766865", hed, 10, 1)
| |
| 2224 | char.Head.face.Texture = "rbxassetid://276732672" | |
| 2225 | for i = 0,4,0.1 do | |
| 2226 | swait() | |
| 2227 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 2228 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(26), Rad(0)), 0.3) | |
| 2229 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2230 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2231 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1) | |
| 2232 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1) | |
| 2233 | end | |
| 2234 | for i = 0,6.7,0.1 do | |
| 2235 | swait() | |
| 2236 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 2237 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(-26), Rad(0)), 0.3) | |
| 2238 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2239 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2240 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1) | |
| 2241 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1) | |
| 2242 | end | |
| 2243 | for i = 0,8.1,0.1 do | |
| 2244 | swait() | |
| 2245 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 2246 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(26), Rad(0)), 0.3) | |
| 2247 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2248 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2249 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1) | |
| 2250 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1) | |
| 2251 | end | |
| 2252 | for i = 0,1,0.1 do | |
| 2253 | swait() | |
| 2254 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 2255 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(40), Rad(-26), Rad(0)), 0.3) | |
| 2256 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2257 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2258 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1) | |
| 2259 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1) | |
| 2260 | end | |
| 2261 | for i = 0,1,0.1 do | |
| 2262 | swait() | |
| 2263 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 2264 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(40), Rad(26), Rad(0)), 0.3) | |
| 2265 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2266 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2267 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1) | |
| 2268 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1) | |
| 2269 | end | |
| 2270 | for i = 0,4,0.1 do | |
| 2271 | swait() | |
| 2272 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 2273 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(-26), Rad(0)), 0.3) | |
| 2274 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2275 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 2276 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(120)), 0.1) | |
| 2277 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-120)), 0.1) | |
| 2278 | end | |
| 2279 | attack = false | |
| 2280 | char.Head.face.Texture = "rbxassetid://404306534" | |
| 2281 | hum.WalkSpeed = 16 | |
| 2282 | end | |
| 2283 | ||
| 2284 | function Taunt1() | |
| 2285 | attack = true | |
| 2286 | hum.WalkSpeed = 0 | |
| 2287 | for i = 0, 9, 0.1 do | |
| 2288 | swait() | |
| 2289 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15) | |
| 2290 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2291 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15) | |
| 2292 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15) | |
| 2293 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-9), Rad(0), Rad(155 + 25 * Sin(sine / 2.5))), 0.12) | |
| 2294 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 2295 | end | |
| 2296 | attack = false | |
| 2297 | hum.WalkSpeed = 10 | |
| 2298 | end | |
| 2299 | ||
| 2300 | function Decapitate() | |
| 2301 | local target = nil | |
| 2302 | local targettorso = nil | |
| 2303 | if Mouse.Target.Parent ~= char and Mouse.Target.Parent.Parent ~= char and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 2304 | if Mouse.Target.Parent.Humanoid.PlatformStand == false then | |
| 2305 | target = Mouse.Target.Parent.Humanoid | |
| 2306 | targettorso = Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
| |
| 2307 | targethead = Mouse.Target.Parent:FindFirstChild("Head")
| |
| 2308 | end | |
| 2309 | end | |
| 2310 | if target ~= nil then | |
| 2311 | targettorso.Anchored = true | |
| 2312 | attack = true | |
| 2313 | hum.WalkSpeed = 0 | |
| 2314 | root.CFrame = targettorso.CFrame * CF(0,0,2.6) | |
| 2315 | for i = 0,4.2,0.1 do | |
| 2316 | swait() | |
| 2317 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15) | |
| 2318 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3) | |
| 2319 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15) | |
| 2320 | LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15) | |
| 2321 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(35)), 0.1) | |
| 2322 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
| 2323 | end | |
| 2324 | local ModelHead01 = New("Model", char, "", {})
| |
| 2325 | local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {})
| |
| 2326 | local Head01 = targethead:Clone() | |
| 2327 | targethead.Transparency = 1 | |
| 2328 | Head01.Parent = ModelHead01 | |
| 2329 | local weldHead01 = Instance.new("Weld")
| |
| 2330 | weldHead01.Parent = Head01 | |
| 2331 | weldHead01.Part0 = targethead | |
| 2332 | weldHead01.Part1 = Head01 | |
| 2333 | weldHead01.C1 = CFrame.new(0, 0, 0) | |
| 2334 | targethead.face:Remove() | |
| 2335 | weldHead01.Part0 = ra | |
| 2336 | weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 2337 | targettorso:BreakJoints() | |
| 2338 | CreateSound("314390675", targettorso, 5, .7)
| |
| 2339 | for i = 0,3.2,0.1 do | |
| 2340 | swait() | |
| 2341 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15) | |
| 2342 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3) | |
| 2343 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
| 2344 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(50)), 0.15) | |
| 2345 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(20), Rad(90)), 0.1) | |
| 2346 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1) | |
| 2347 | end | |
| 2348 | for i = 0,4.2,0.1 do | |
| 2349 | swait() | |
| 2350 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15) | |
| 2351 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3) | |
| 2352 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
| 2353 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
| 2354 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(185), Rad(0), Rad(15)), 0.1) | |
| 2355 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1) | |
| 2356 | end | |
| 2357 | CreateSound("541909763", targettorso, 5, .8)
| |
| 2358 | weldHead01:Destroy() | |
| 2359 | Head01.CanCollide = true | |
| 2360 | local bodyVelocity2 = Create("BodyVelocity")({
| |
| 2361 | velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50, | |
| 2362 | P = 5000, | |
| 2363 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 2364 | Parent = Head01 | |
| 2365 | }) | |
| 2366 | game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
| |
| 2367 | for i = 0,6.2,0.1 do | |
| 2368 | swait() | |
| 2369 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(40)), 0.15) | |
| 2370 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3) | |
| 2371 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15) | |
| 2372 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15) | |
| 2373 | RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-15)), 0.1) | |
| 2374 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1) | |
| 2375 | end | |
| 2376 | targettorso.Anchored = false | |
| 2377 | attack = false | |
| 2378 | hum.WalkSpeed = 8 | |
| 2379 | root.CFrame = targettorso.CFrame * CF(0,0,3.4) | |
| 2380 | end | |
| 2381 | end | |
| 2382 | ||
| 2383 | function Painful_Stomp() | |
| 2384 | attack = true | |
| 2385 | for i = 0,5.2,0.1 do | |
| 2386 | swait() | |
| 2387 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15) | |
| 2388 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2389 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15) | |
| 2390 | LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15) | |
| 2391 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2392 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2393 | end | |
| 2394 | CreateSound("331666100", char, 10, 1)
| |
| 2395 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 2396 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 2397 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 2398 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05) | |
| 2399 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05) | |
| 2400 | Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05) | |
| 2401 | Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03) | |
| 2402 | for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do | |
| 2403 | if v:FindFirstChild("Head") then
| |
| 2404 | Eviscerate(v) | |
| 2405 | end | |
| 2406 | end | |
| 2407 | coroutine.resume(coroutine.create(function() | |
| 2408 | for i = 0,2.8,0.1 do | |
| 2409 | swait() | |
| 2410 | hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)) | |
| 2411 | end | |
| 2412 | for i = 0,1.8,0.1 do | |
| 2413 | swait() | |
| 2414 | hum.CameraOffset = Vector3.new(0,0,0) | |
| 2415 | end | |
| 2416 | end)) | |
| 2417 | for i = 0,3.7,0.1 do | |
| 2418 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15) | |
| 2419 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2420 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15) | |
| 2421 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15) | |
| 2422 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2423 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2424 | end | |
| 2425 | wait(.6) | |
| 2426 | attack = false | |
| 2427 | end | |
| 2428 | ------------------------------------------------------- | |
| 2429 | --End Attacks N Stuff-- | |
| 2430 | ------------------------------------------------------- | |
| 2431 | MoreTaunts = false | |
| 2432 | ||
| 2433 | Mouse.KeyDown:connect(function(key) | |
| 2434 | if attack == false then | |
| 2435 | ||
| 2436 | ||
| 2437 | if key == 'u' then | |
| 2438 | Call_Upon_The_Eyes() | |
| 2439 | end | |
| 2440 | if key == 'j' then | |
| 2441 | WhatHuh() | |
| 2442 | end | |
| 2443 | ||
| 2444 | if key == 'c' then | |
| 2445 | Ending() | |
| 2446 | end | |
| 2447 | ||
| 2448 | if key == 'v' then | |
| 2449 | Taunt1() | |
| 2450 | end | |
| 2451 | ||
| 2452 | if key == 'f' then | |
| 2453 | Painful_Stomp() | |
| 2454 | end | |
| 2455 | if key == 'r' then | |
| 2456 | Purity_Slam() | |
| 2457 | end | |
| 2458 | ||
| 2459 | if key == 'b' and angery == false then | |
| 2460 | ohshitimangry() | |
| 2461 | end | |
| 2462 | ||
| 2463 | if string.byte(key) == 48 then | |
| 2464 | Swing = 2 | |
| 2465 | hum.WalkSpeed = 38.82 | |
| 2466 | end | |
| 2467 | end | |
| 2468 | end) | |
| 2469 | ||
| 2470 | Mouse.KeyUp:connect(function(key) | |
| 2471 | if string.byte(key) == 48 then | |
| 2472 | Swing = 1 | |
| 2473 | hum.WalkSpeed = 8 | |
| 2474 | end | |
| 2475 | end) | |
| 2476 | ||
| 2477 | -- | |
| 2478 | angery = false | |
| 2479 | function ohshitimangry() | |
| 2480 | attack = true | |
| 2481 | angery = true | |
| 2482 | local BodyColors = char:FindFirstChildOfClass"BodyColors" | |
| 2483 | if BodyColors then | |
| 2484 | BodyColors.TorsoColor = BrickColor.new"Really black" | |
| 2485 | BodyColors.LeftArmColor = BrickColor.new"Really black" | |
| 2486 | BodyColors.RightArmColor = BrickColor.new"Really black" | |
| 2487 | BodyColors.LeftLegColor = BrickColor.new"Really black" | |
| 2488 | BodyColors.RightLegColor = BrickColor.new"Really black" | |
| 2489 | end | |
| 2490 | attack = false | |
| 2491 | end | |
| 2492 | ---- | |
| 2493 | ||
| 2494 | ||
| 2495 | ||
| 2496 | ||
| 2497 | ||
| 2498 | ------------------------------------------------------- | |
| 2499 | --Start Animations-- | |
| 2500 | ------------------------------------------------------- | |
| 2501 | local PlayerSize = 1 | |
| 2502 | local FT,RA,LA,RL,LL = Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh")
| |
| 2503 | FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize) | |
| 2504 | RA.MeshId,RA.Scale = "rbxasset://fonts/rightarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize) | |
| 2505 | LA.MeshId,LA.Scale = "rbxasset://fonts/leftarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize) | |
| 2506 | RL.MeshId,RL.Scale = "rbxasset://fonts/rightleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize) | |
| 2507 | LL.MeshId,LL.Scale = "rbxasset://fonts/leftleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize) | |
| 2508 | ||
| 2509 | ||
| 2510 | ||
| 2511 | while true do | |
| 2512 | swait() | |
| 2513 | sine = sine + change | |
| 2514 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 2515 | local velderp = root.Velocity.y | |
| 2516 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char) | |
| 2517 | if equipped == true or equipped == false then | |
| 2518 | if attack == false then | |
| 2519 | idle = idle + 1 | |
| 2520 | else | |
| 2521 | idle = 0 | |
| 2522 | end | |
| 2523 | ||
| 2524 | tecks2.TextStrokeColor3 = Color3.new(r / 255, g / 255, b / 255) | |
| 2525 | if 1 < root.Velocity.y and hitfloor == nil then | |
| 2526 | Anim = "Jump" | |
| 2527 | if attack == false then | |
| 2528 | rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3) | |
| 2529 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3) | |
| 2530 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(15)),0.3) | |
| 2531 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-15)),0.3) | |
| 2532 | LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15) | |
| 2533 | RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3) | |
| 2534 | end | |
| 2535 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
| 2536 | Anim = "Fall" | |
| 2537 | if attack == false then | |
| 2538 | rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3) | |
| 2539 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3) | |
| 2540 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(90)),0.3) | |
| 2541 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-90)),0.3) | |
| 2542 | LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15) | |
| 2543 | RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3) | |
| 2544 | end | |
| 2545 | elseif torvel < 1 and hitfloor ~= nil then | |
| 2546 | Anim = "Idle" | |
| 2547 | change = .5 | |
| 2548 | if attack==false then | |
| 2549 | if angery == false then | |
| 2550 | VALUE1 = false | |
| 2551 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15) | |
| 2552 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2553 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-10)), 0.15) | |
| 2554 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(6)), 0.15) | |
| 2555 | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(21), Rad(11), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1) | |
| 2556 | LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(5), Rad(90 + 2.5 * Sin(sine / 20))), 0.1) | |
| 2557 | if VALUE1 == false and math.random(1,200) == 1 then | |
| 2558 | coroutine.resume(coroutine.create(function() | |
| 2559 | VALUE1 = true | |
| 2560 | for i = 1, 25 do | |
| 2561 | swait() | |
| 2562 | Music.Pitch = .5+math.random(.5,.2)/.5 | |
| 2563 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-25),math.rad((15+math.random(-15,15)/15)),math.rad(30)),.3) | |
| 2564 | end | |
| 2565 | Music.Pitch = 1 | |
| 2566 | VALUE1 = false | |
| 2567 | ||
| 2568 | end)) | |
| 2569 | end | |
| 2570 | elseif angery == true then | |
| 2571 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15) | |
| 2572 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3) | |
| 2573 | if Mrandom(1,15) == 1 then | |
| 2574 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1) | |
| 2575 | end | |
| 2576 | RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(10)), 0.15) | |
| 2577 | LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(-10)), 0.15) | |
| 2578 | RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1) | |
| 2579 | LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1) | |
| 2580 | if VALUE1 == false and math.random(1,200) == 1 then | |
| 2581 | coroutine.resume(coroutine.create(function() | |
| 2582 | VALUE1 = true | |
| 2583 | for i = 1, 25 do | |
| 2584 | swait() | |
| 2585 | Music.Pitch = .5+math.random(.5,.2)/.5 | |
| 2586 | FT.Parent = tors | |
| 2587 | RA.Parent = ra | |
| 2588 | LA.Parent = la | |
| 2589 | RL.Parent = rl | |
| 2590 | LL.Parent = ll | |
| 2591 | for _,v in next, char:GetDescendants() do | |
| 2592 | if(v:IsA'DataModelMesh')then | |
| 2593 | v.Offset = Vector3.new(math.random(-200,200)/100,math.random(-200,200)/100,math.random(-200,200)/100) | |
| 2594 | end | |
| 2595 | end | |
| 2596 | tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-25),math.rad((15+math.random(-15,15)/15)),math.rad(0)),.3) | |
| 2597 | end | |
| 2598 | Music.Pitch = 1 | |
| 2599 | VALUE1 = false | |
| 2600 | FT.Parent = nil | |
| 2601 | RA.Parent = nil | |
| 2602 | LA.Parent = nil | |
| 2603 | RL.Parent = nil | |
| 2604 | LL.Parent = nil | |
| 2605 | for _,v in next, char:GetDescendants() do | |
| 2606 | if(v:IsA'DataModelMesh')then | |
| 2607 | v.Offset = Vector3.new(0,0,0) | |
| 2608 | end | |
| 2609 | end | |
| 2610 | ||
| 2611 | end)) | |
| 2612 | end | |
| 2613 | end | |
| 2614 | end | |
| 2615 | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then | |
| 2616 | Anim = "Walk" | |
| 2617 | change = .9 | |
| 2618 | if attack == false then | |
| 2619 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15) | |
| 2620 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
| 2621 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 2622 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 2623 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.15 * Cos(sine / 7)) * angles(Rad(45) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1) | |
| 2624 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), -0.15 * Cos(sine / 7)) * angles(Rad(-45) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.1) | |
| 2625 | end | |
| 2626 | elseif torvel >= 25 and hitfloor ~= nil then | |
| 2627 | Anim = "Sprint" | |
| 2628 | change = 1.35 | |
| 2629 | if attack == false then | |
| 2630 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15) | |
| 2631 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
| 2632 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 35 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 2633 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 35 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 2634 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
| 2635 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15) | |
| 2636 | end | |
| 2637 | end | |
| 2638 | end | |
| 2639 | Music.SoundId = "rbxassetid://"..SONG | |
| 2640 | Music.Looped = true | |
| 2641 | Music.Pitch = 1 | |
| 2642 | Music.Volume = 5 | |
| 2643 | Music.Parent = tors | |
| 2644 | Music:Resume() | |
| 2645 | if 0 < #Effects then | |
| 2646 | for e = 1, #Effects do | |
| 2647 | if Effects[e] ~= nil then | |
| 2648 | local Thing = Effects[e] | |
| 2649 | if Thing ~= nil then | |
| 2650 | local Part = Thing[1] | |
| 2651 | local Mode = Thing[2] | |
| 2652 | local Delay = Thing[3] | |
| 2653 | local IncX = Thing[4] | |
| 2654 | local IncY = Thing[5] | |
| 2655 | local IncZ = Thing[6] | |
| 2656 | if 1 >= Thing[1].Transparency then | |
| 2657 | if Thing[2] == "Block1" then | |
| 2658 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2659 | local Mesh = Thing[1].Mesh | |
| 2660 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2661 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2662 | elseif Thing[2] == "Block2" then | |
| 2663 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
| 2664 | local Mesh = Thing[7] | |
| 2665 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2666 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2667 | elseif Thing[2] == "Block3" then | |
| 2668 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0) | |
| 2669 | local Mesh = Thing[7] | |
| 2670 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2671 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2672 | elseif Thing[2] == "Cylinder" then | |
| 2673 | local Mesh = Thing[1].Mesh | |
| 2674 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2675 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2676 | elseif Thing[2] == "Blood" then | |
| 2677 | local Mesh = Thing[7] | |
| 2678 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
| 2679 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2680 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2681 | elseif Thing[2] == "Elec" then | |
| 2682 | local Mesh = Thing[1].Mesh | |
| 2683 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 2684 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2685 | elseif Thing[2] == "Disappear" then | |
| 2686 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2687 | elseif Thing[2] == "Shatter" then | |
| 2688 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2689 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 2690 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 2691 | Thing[6] = Thing[6] + Thing[5] | |
| 2692 | end | |
| 2693 | else | |
| 2694 | Part.Parent = nil | |
| 2695 | table.remove(Effects, e) | |
| 2696 | end | |
| 2697 | end | |
| 2698 | end | |
| 2699 | end | |
| 2700 | end | |
| 2701 | end | |
| 2702 | ------------------------------------------------------- | |
| 2703 | --End Animations And Script-- | |
| 2704 | ------------------------------------------------------- |