SHOW:
|
|
- or go back to the newest paste.
| 1 | -- This script has been converted to FE by iPxter | |
| 2 | ||
| 3 | ||
| 4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 6 | do | |
| 7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
| |
| 8 | script.Parent = Player.Character | |
| 9 | ||
| 10 | --RemoteEvent for communicating | |
| 11 | local Event = Instance.new("RemoteEvent")
| |
| 12 | Event.Name = "UserInput_Event" | |
| 13 | - | local Player = game.Players.localPlayer |
| 13 | + | |
| 14 | --Fake event to make stuff like Mouse.KeyDown work | |
| 15 | local function fakeEvent() | |
| 16 | - | local Mouse = Player:GetMouse() |
| 16 | + | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
|
| 17 | t.connect = t.Connect | |
| 18 | return t | |
| 19 | end | |
| 20 | ||
| 21 | --Creating fake input objects with fake variables | |
| 22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 26 | end} | |
| 27 | --Merged 2 functions into one by checking amount of arguments | |
| 28 | CAS.UnbindAction = CAS.BindAction | |
| 29 | ||
| 30 | --This function will trigger the events that have been :Connect()'ed | |
| 31 | local function te(self,ev,...) | |
| 32 | local t = m[ev] | |
| 33 | if t and t._fakeEvent and t.Function then | |
| 34 | t.Function(...) | |
| 35 | end | |
| 36 | end | |
| 37 | m.TrigEvent = te | |
| 38 | UIS.TrigEvent = te | |
| 39 | ||
| 40 | Event.OnServerEvent:Connect(function(plr,io) | |
| 41 | if plr~=Player then return end | |
| 42 | if io.isMouse then | |
| 43 | m.Target = io.Target | |
| 44 | m.Hit = io.Hit | |
| 45 | else | |
| 46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 49 | end | |
| 50 | for _,t in pairs(CAS.Actions) do | |
| 51 | for _,k in pairs(t.Keys) do | |
| 52 | if k==io.KeyCode then | |
| 53 | t.Function(t.Name,io.UserInputState,io) | |
| 54 | end | |
| 55 | end | |
| 56 | end | |
| 57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 59 | end | |
| 60 | end) | |
| 61 | Event.Parent = NLS([==[ | |
| 62 | local Player = game:GetService("Players").LocalPlayer
| |
| 63 | local Event = script:WaitForChild("UserInput_Event")
| |
| 64 | ||
| 65 | local UIS = game:GetService("UserInputService")
| |
| 66 | local input = function(io,a) | |
| 67 | if a then return end | |
| 68 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
| |
| 70 | end | |
| 71 | UIS.InputBegan:Connect(input) | |
| 72 | UIS.InputEnded:Connect(input) | |
| 73 | ||
| 74 | local Mouse = Player:GetMouse() | |
| 75 | local h,t | |
| 76 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 77 | --If player is not moving their mouse, client won't fire events | |
| 78 | while wait(1/30) do | |
| 79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 80 | h,t=Mouse.Hit,Mouse.Target | |
| 81 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 82 | end | |
| 83 | end]==],Player.Character) | |
| 84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 85 | end | |
| 86 | ||
| 87 | --[[Psychopath's waifu | |
| 88 | I think ck is going to send me in hell... | |
| 89 | Suicider by Minty_Latios. | |
| 90 | Credit to CKbackup's and grgrgry21 and idk.. | |
| 91 | B | |
| 92 | U R | |
| 93 | N I N H | |
| 94 | E L | |
| 95 | L | |
| 96 | ]]-- | |
| 97 | wait(1 / 60) | |
| 98 | Effects = { }
| |
| 99 | local Player = owner | |
| 100 | local Character = Player.Character | |
| 101 | local Humanoid = Character.Humanoid | |
| 102 | local LeftArm = Character["Left Arm"] | |
| 103 | local RightArm = Character["Right Arm"] | |
| 104 | local LeftLeg = Character["Left Leg"] | |
| 105 | local RightLeg = Character["Right Leg"] | |
| 106 | local Head = Character.Head | |
| 107 | local Torso = Character.Torso | |
| 108 | local Camera = game.Workspace.CurrentCamera | |
| 109 | local RootPart = Character.HumanoidRootPart | |
| 110 | local RootJoint = RootPart.RootJoint | |
| 111 | local attack = false | |
| 112 | local Anim = 'Idle' | |
| 113 | local attacktype = 1 | |
| 114 | local delays = false | |
| 115 | local play = true | |
| 116 | local targetted = nil | |
| 117 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 118 | local velocity = RootPart.Velocity.y | |
| 119 | local sine = 0 | |
| 120 | local change = 1 | |
| 121 | local doe = 0 | |
| 122 | local Create = LoadLibrary("RbxUtility").Create
| |
| 123 | Humanoid.WalkSpeed = 12 | |
| 124 | local m = Create("Model"){
| |
| 125 | Parent = Character, | |
| 126 | Name = "WeaponModel", | |
| 127 | } | |
| 128 | ||
| 129 | Humanoid.Animator.Parent = nil | |
| 130 | Character.Animate.Parent = nil | |
| 131 | ||
| 132 | local newMotor = function(part0, part1, c0, c1) | |
| 133 | local w = Create('Motor'){
| |
| 134 | Parent = part0, | |
| 135 | Part0 = part0, | |
| 136 | Part1 = part1, | |
| 137 | C0 = c0, | |
| 138 | C1 = c1, | |
| 139 | } | |
| 140 | return w | |
| 141 | end | |
| 142 | ||
| 143 | function clerp(a, b, t) | |
| 144 | return a:lerp(b, t) | |
| 145 | end | |
| 146 | ||
| 147 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 148 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 149 | ||
| 150 | local orig | |
| 151 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 152 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 153 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 154 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 155 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
| 156 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
| 157 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
| 158 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
| 159 | ||
| 160 | local rarmc1 = RW.C1 | |
| 161 | local larmc1 = LW.C1 | |
| 162 | local rlegc1 = RH.C1 | |
| 163 | local llegc1 = LH.C1 | |
| 164 | ||
| 165 | local resetc1 = false | |
| 166 | ||
| 167 | function PlayAnimationFromTable(table, speed, bool) | |
| 168 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
| 169 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
| 170 | RW.C0 = clerp(RW.C0, table[3], speed) | |
| 171 | LW.C0 = clerp(LW.C0, table[4], speed) | |
| 172 | RH.C0 = clerp(RH.C0, table[5], speed) | |
| 173 | LH.C0 = clerp(LH.C0, table[6], speed) | |
| 174 | if bool == true then | |
| 175 | if resetc1 == false then | |
| 176 | resetc1 = true | |
| 177 | RootJoint.C1 = RootJoint.C1 | |
| 178 | Torso.Neck.C1 = Torso.Neck.C1 | |
| 179 | RW.C1 = rarmc1 | |
| 180 | LW.C1 = larmc1 | |
| 181 | RH.C1 = rlegc1 | |
| 182 | LH.C1 = llegc1 | |
| 183 | end | |
| 184 | end | |
| 185 | end | |
| 186 | ||
| 187 | ArtificialHB = Create("BindableEvent", script){
| |
| 188 | Parent = script, | |
| 189 | Name = "Heartbeat", | |
| 190 | } | |
| 191 | ||
| 192 | script:WaitForChild("Heartbeat")
| |
| 193 | ||
| 194 | frame = 1 / 30 | |
| 195 | tf = 0 | |
| 196 | allowframeloss = false | |
| 197 | tossremainder = false | |
| 198 | lastframe = tick() | |
| 199 | script.Heartbeat:Fire() | |
| 200 | ||
| 201 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 202 | tf = tf + s | |
| 203 | if tf >= frame then | |
| 204 | if allowframeloss then | |
| 205 | script.Heartbeat:Fire() | |
| 206 | lastframe = tick() | |
| 207 | else | |
| 208 | for i = 1, math.floor(tf / frame) do | |
| 209 | script.Heartbeat:Fire() | |
| 210 | end | |
| 211 | lastframe = tick() | |
| 212 | end | |
| 213 | if tossremainder then | |
| 214 | tf = 0 | |
| 215 | else | |
| 216 | tf = tf - frame * math.floor(tf / frame) | |
| 217 | end | |
| 218 | end | |
| 219 | end) | |
| 220 | ||
| 221 | function swait(num) | |
| 222 | if num == 0 or num == nil then | |
| 223 | ArtificialHB.Event:wait() | |
| 224 | else | |
| 225 | for i = 0, num do | |
| 226 | ArtificialHB.Event:wait() | |
| 227 | end | |
| 228 | end | |
| 229 | end | |
| 230 | ||
| 231 | function RemoveOutlines(part) | |
| 232 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 233 | end | |
| 234 | ||
| 235 | CFuncs = {
| |
| 236 | ["Part"] = {
| |
| 237 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 238 | local Part = Create("Part"){
| |
| 239 | Parent = Parent, | |
| 240 | Reflectance = Reflectance, | |
| 241 | Transparency = Transparency, | |
| 242 | CanCollide = false, | |
| 243 | Locked = true, | |
| 244 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 245 | Name = Name, | |
| 246 | Size = Size, | |
| 247 | Material = Material, | |
| 248 | } | |
| 249 | RemoveOutlines(Part) | |
| 250 | return Part | |
| 251 | end; | |
| 252 | }; | |
| 253 | ||
| 254 | ["Mesh"] = {
| |
| 255 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 256 | local Msh = Create(Mesh){
| |
| 257 | Parent = Part, | |
| 258 | Offset = OffSet, | |
| 259 | Scale = Scale, | |
| 260 | } | |
| 261 | if Mesh == "SpecialMesh" then | |
| 262 | Msh.MeshType = MeshType | |
| 263 | Msh.MeshId = MeshId | |
| 264 | end | |
| 265 | return Msh | |
| 266 | end; | |
| 267 | }; | |
| 268 | ||
| 269 | ["Mesh"] = {
| |
| 270 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 271 | local Msh = Create(Mesh){
| |
| 272 | Parent = Part, | |
| 273 | Offset = OffSet, | |
| 274 | Scale = Scale, | |
| 275 | } | |
| 276 | if Mesh == "SpecialMesh" then | |
| 277 | Msh.MeshType = MeshType | |
| 278 | Msh.MeshId = MeshId | |
| 279 | end | |
| 280 | return Msh | |
| 281 | end; | |
| 282 | }; | |
| 283 | ||
| 284 | ["Weld"] = {
| |
| 285 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 286 | local Weld = Create("Weld"){
| |
| 287 | Parent = Parent, | |
| 288 | Part0 = Part0, | |
| 289 | Part1 = Part1, | |
| 290 | C0 = C0, | |
| 291 | C1 = C1, | |
| 292 | } | |
| 293 | return Weld | |
| 294 | end; | |
| 295 | }; | |
| 296 | ||
| 297 | ["Sound"] = {
| |
| 298 | Create = function(id, par, vol, pit) | |
| 299 | coroutine.resume(coroutine.create(function() | |
| 300 | local S = Create("Sound"){
| |
| 301 | Volume = vol, | |
| 302 | Pitch = pit or 1, | |
| 303 | SoundId = id, | |
| 304 | Parent = par or workspace, | |
| 305 | } | |
| 306 | wait() | |
| 307 | S:play() | |
| 308 | game:GetService("Debris"):AddItem(S, 6)
| |
| 309 | end)) | |
| 310 | end; | |
| 311 | }; | |
| 312 | ||
| 313 | ["ParticleEmitter"] = {
| |
| 314 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 315 | local fp = Create("ParticleEmitter"){
| |
| 316 | Parent = Parent, | |
| 317 | Color = ColorSequence.new(Color1, Color2), | |
| 318 | LightEmission = LightEmission, | |
| 319 | Size = Size, | |
| 320 | Texture = Texture, | |
| 321 | Transparency = Transparency, | |
| 322 | ZOffset = ZOffset, | |
| 323 | Acceleration = Accel, | |
| 324 | Drag = Drag, | |
| 325 | LockedToPart = LockedToPart, | |
| 326 | VelocityInheritance = VelocityInheritance, | |
| 327 | EmissionDirection = EmissionDirection, | |
| 328 | Enabled = Enabled, | |
| 329 | Lifetime = LifeTime, | |
| 330 | Rate = Rate, | |
| 331 | Rotation = Rotation, | |
| 332 | RotSpeed = RotSpeed, | |
| 333 | Speed = Speed, | |
| 334 | VelocitySpread = VelocitySpread, | |
| 335 | } | |
| 336 | return fp | |
| 337 | end; | |
| 338 | }; | |
| 339 | ||
| 340 | CreateTemplate = {
| |
| 341 | ||
| 342 | }; | |
| 343 | } | |
| 344 | ||
| 345 | ||
| 346 | ||
| 347 | New = function(Object, Parent, Name, Data) | |
| 348 | local Object = Instance.new(Object) | |
| 349 | for Index, Value in pairs(Data or {}) do
| |
| 350 | Object[Index] = Value | |
| 351 | end | |
| 352 | Object.Parent = Parent | |
| 353 | Object.Name = Name | |
| 354 | return Object | |
| 355 | end | |
| 356 | ||
| 357 | ||
| 358 | ShadowHead = New("Part",Character,"ShadowHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 359 | Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
| |
| 360 | Weld = New("Weld",ShadowHead,"mot",{Part0 = ShadowHead,Part1 = Character.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 361 | ||
| 362 | Handle = New("Part",m,"Handle",{Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(1.78105354, 1.21267569, 0.446083069),CFrame = CFrame.new(3.48884702, 1.89424598, -23.6011944, 0.0172098875, -7.30156898e-07, 0.999851942, 0.999853492, 1.19907781e-08, -0.0172098596, -1.80598714e-09, 1.00000083, 1.4975667e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 363 | moter = New("Weld",Handle,"mot",{Part0 = RightArm,Part1 = Handle,})
| |
| 364 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.46324158, 2.55061626, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 365 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.24608025, 0.123040132),})
| |
| 366 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655831456, 0.501588821, -0.0368974209, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 367 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.270688266, 0.270688266),CFrame = CFrame.new(3.47537327, 1.11045444, -23.2953625, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 368 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
| |
| 369 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.783906102, 0.305831909, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 370 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.221472263, 0.344512314),CFrame = CFrame.new(3.48828244, 1.86040294, -23.3093491, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 371 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1.00999999, 1),})
| |
| 372 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(-0.0338476896, 0.291845322, 1.8119812e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 373 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.98432076, 0.200000003, 0.24608022),CFrame = CFrame.new(3.48404813, 1.61474013, -23.4433804, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 374 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.246080264, 1),})
| |
| 375 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279546618, 0.157814026, 1.21593475e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 376 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.36101127, 1.61687815, -23.4187717, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 377 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
| |
| 378 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279526353, 0.182422638, -0.123043299, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 379 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.53706741, 2.54934502, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 380 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.246080235, 0.123040132),})
| |
| 381 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655830979, 0.501588821, 0.0369393826, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 382 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.48828554, 1.86097884, -23.1606178, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 383 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.7382406),})
| |
| 384 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.0332717896, 0.440576553, 1.14440918e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 385 | Partss = New("Part",m,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(3.47526526, 1.10428262, -23.2953568, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 386 | Mesh = New("SpecialMesh",Partss,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
| |
| 387 | mot = New("Weld",Partss,"mot",{Part0 = Partss,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.790078878, 0.305837631, 1.57356262e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 388 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.49040294, 1.9837563, -23.5174713, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 389 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.615200579, 0.36912033, 0.24608025),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
| |
| 390 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(0.0895236731, 0.0837230682, 1.52587891e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 391 | Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.295296252, 0.738240778, 0.369120389),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 392 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 393 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512314, 0.78745681, 0.344512314),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 394 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 395 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.60706425, 1.61264217, -23.4187698, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 396 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
| |
| 397 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279527187, 0.182424545, 0.12304616, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 398 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.47672749, 1.18911982, -23.1232109, 0.999851942, 0.00638213893, 0.0159827713, -0.0172098316, 0.37065956, 0.928613782, 4.44045327e-06, -0.928749561, 0.370713741),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 399 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.246080264, 0.615200639),MeshType = Enum.MeshType.Wedge,})
| |
| 400 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098316, 3.67313623e-06, 0.00638283044, 0.370658338, -0.928748012, 0.0159824342, 0.928610861, 0.370713145),C1 = CFrame.new(-0.705229163, 0.477983475, 1.76429749e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 401 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.50247502, 2.68478155, -23.8132839, 0.999851942, 1.0713723e-05, -0.0172099732, -0.0172098912, 0.000738376984, -0.999856234, 4.21693585e-06, 1.00000226, 0.000738456321),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 402 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
| |
| 403 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098912, 3.44961882e-06, 9.9465251e-06, 0.000738390256, 1.0000006, -0.0172099192, -0.999853015, 0.000738452654),C1 = CFrame.new(0.790651679, -0.212089539, 2.07424164e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 404 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.4904809, 1.98827124, -23.5162678, -0.999852061, -0.0148990965, 0.00861407723, 0.0172099397, -0.865535975, 0.500560343, -4.36594746e-06, 0.500633478, 0.865662456),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 405 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.369120389, 0.861280918),MeshType = Enum.MeshType.Wedge,})
| |
| 406 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.999851942, 0.0172099397, -3.59863043e-06, -0.0148994327, -0.865533173, 0.500632644, 0.00861338526, 0.500558794, 0.865661025),C1 = CFrame.new(0.0940393209, 0.0849266052, 1.54972076e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 407 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.442944348, 0.200000003, 0.200000003),CFrame = CFrame.new(3.37415838, 2.37982368, -23.1609974, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 408 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
| |
| 409 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(0.483531356, 0.440196991, -0.12302804, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 410 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.61520052, 0.200000003, 0.200000003),CFrame = CFrame.new(3.35783243, 1.43252242, -23.1602993, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 411 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
| |
| 412 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(-0.463909149, 0.440895081, -0.123048544, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 413 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.61130548, 1.85886192, -23.160614, -0.0172098689, 1.04156998e-05, -0.99985218, -0.999856234, 0.000738191127, 0.0172097925, 0.000738266157, 1.00000238, -4.55221243e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 414 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
| |
| 415 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0172098149, -0.999853075, 0.00073826249, 9.64850187e-06, 0.00073820434, 1.00000072, -0.999852121, 0.0172097944, -3.78489494e-06),C1 = CFrame.new(-0.0332713127, 0.440580368, 0.123049498, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 416 | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240778, 0.200000003),CFrame = CFrame.new(3.50183868, 2.64789343, -23.8132629, 0.999851942, 1.0818032e-05, -0.017209895, -0.0172098186, 0.000737608876, -0.999856234, 4.13497901e-06, 1.00000238, 0.000737691764),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 417 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
| |
| 418 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098186, 3.36766243e-06, 1.00508332e-05, 0.000737622147, 1.00000072, -0.0172098409, -0.999853015, 0.000737688097),C1 = CFrame.new(0.753758311, -0.212068558, 1.93119049e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 419 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.49357963, 2.16808391, -23.8129005, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 420 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
| |
| 421 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.273878455, -0.211706161, 1.90734863e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 422 | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240659, 0.200000003),CFrame = CFrame.new(3.49420977, 2.20497489, -23.8129292, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 423 | - | Value = game:service("Players").LocalPlayer,
|
| 423 | + | |
| 424 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.310774684, -0.211734772, 1.43051147e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
| |
| 425 | ||
| 426 | for _,v in pairs(m:children()) do | |
| 427 | if v:IsA("Part") then
| |
| 428 | v.CanCollide = false | |
| 429 | end | |
| 430 | end | |
| 431 | if Character.Name == "grgrgry21" or Character.Name == "Player1" then | |
| 432 | for _,v in pairs(Character:children()) do | |
| 433 | if v:IsA("Accessory") then
| |
| 434 | v:Remove() | |
| 435 | end | |
| 436 | end | |
| 437 | Handle = New("Part",m,"Handle",{CanCollide = false,BrickColor = BrickColor.new("Really black"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-27.3000507, 4.79990387, 28.10005, 4.49431016e-21, -6.79974523e-22, -1, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, 4.49431016e-21),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 438 | Mesh = New("SpecialMesh",Handle,"Mesh",{Offset = Vector3.new(0, 0.100000001, 0),MeshId = "http://www.roblox.com/asset/?id=62246019",MeshType = Enum.MeshType.FileMesh,})
| |
| 439 | Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=146022204",})
| |
| 440 | mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Head,C0 = CFrame.new(0, 0, 0, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),C1 = CFrame.new(-0.100000381, 0.0999999046, 0.200000763, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),})
| |
| 441 | Handle1 = New("Part",m,"Handle1",{CanCollide = false,BrickColor = BrickColor.new("Bright red"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-27.3000507, 4.79990387, 28.10005, 4.49431016e-21, -6.79974523e-22, -1, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, 4.49431016e-21),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.768628, 0.156863, 0.109804),})
| |
| 442 | Mesh = New("SpecialMesh",Handle1,"Mesh",{Offset = Vector3.new(0, 0.100000001, 0),Scale = Vector3.new(0.949999988, 0.949999988, 0.949999988),MeshId = "http://www.roblox.com/asset/?id=62246019",MeshType = Enum.MeshType.FileMesh,})
| |
| 443 | mot = New("Motor",Handle1,"mot",{Part0 = Handle1,Part1 = Head,C0 = CFrame.new(0, 0, 0, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),C1 = CFrame.new(-0.100000381, 0.0999999046, 0.200000763, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),})
| |
| 444 | end | |
| 445 | ||
| 446 | ||
| 447 | function rayCast(Position, Direction, Range, Ignore) | |
| 448 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 449 | end | |
| 450 | ||
| 451 | --[[FindNearestTorso = function(pos) | |
| 452 | local list = (game.Workspace:children()) | |
| 453 | local torso = nil | |
| 454 | local dist = 1000 | |
| 455 | local temp, human, temp2 = nil, nil, nil | |
| 456 | for x = 1, #list do | |
| 457 | temp2 = list[x] | |
| 458 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
| 459 | temp = temp2:findFirstChild("Torso")
| |
| 460 | human = temp2:findFirstChild("Humanoid")
| |
| 461 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
| 462 | local dohit = true | |
| 463 | if dohit == true then | |
| 464 | torso = temp | |
| 465 | dist = (temp.Position - pos).magnitude | |
| 466 | end | |
| 467 | end | |
| 468 | end | |
| 469 | end | |
| 470 | return torso, dist | |
| 471 | end]] | |
| 472 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
| 473 | if SinglePlayer then | |
| 474 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
| 475 | end | |
| 476 | local List = {}
| |
| 477 | for i, v in pairs(workspace:GetChildren()) do | |
| 478 | if v:IsA("Model") then
| |
| 479 | if v:findFirstChild("Torso") then
| |
| 480 | if v ~= Character then | |
| 481 | if (v.Torso.Position - Position).magnitude <= Distance then | |
| 482 | table.insert(List, v) | |
| 483 | end | |
| 484 | end | |
| 485 | end | |
| 486 | end | |
| 487 | end | |
| 488 | return List | |
| 489 | end | |
| 490 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 491 | if hit.Parent == nil then | |
| 492 | return | |
| 493 | end | |
| 494 | local h = hit.Parent:FindFirstChild("Humanoid")
| |
| 495 | for _, v in pairs(hit.Parent:children()) do | |
| 496 | if v:IsA("Humanoid") then
| |
| 497 | h = v | |
| 498 | end | |
| 499 | end | |
| 500 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 501 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 502 | if hit.Parent.DebounceHit.Value == true then | |
| 503 | return | |
| 504 | end | |
| 505 | end | |
| 506 | local c = Create("ObjectValue"){
| |
| 507 | Name = "creator", | |
| 508 | Value = owner, | |
| 509 | Parent = h, | |
| 510 | } | |
| 511 | game:GetService("Debris"):AddItem(c, .5)
| |
| 512 | if HitSound ~= nil and HitPitch ~= nil then | |
| 513 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 514 | end | |
| 515 | local Damage = math.random(minim, maxim) | |
| 516 | local blocked = false | |
| 517 | local block = hit.Parent:findFirstChild("Block")
| |
| 518 | if block ~= nil then | |
| 519 | if block.className == "IntValue" then | |
| 520 | if block.Value > 0 then | |
| 521 | blocked = true | |
| 522 | block.Value = block.Value - 1 | |
| 523 | print(block.Value) | |
| 524 | end | |
| 525 | end | |
| 526 | end | |
| 527 | if blocked == false then | |
| 528 | h.Health = h.Health - Damage | |
| 529 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
| |
| 530 | else | |
| 531 | h.Health = h.Health - (Damage / 2) | |
| 532 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
| |
| 533 | end | |
| 534 | if Type == "Knockdown" then | |
| 535 | local hum = hit.Parent.Humanoid | |
| 536 | hum.PlatformStand = true | |
| 537 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 538 | swait(1) | |
| 539 | HHumanoid.PlatformStand = false | |
| 540 | end), hum) | |
| 541 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
| 542 | local bodvol = Create("BodyVelocity"){
| |
| 543 | velocity = angle * knockback, | |
| 544 | P = 5000, | |
| 545 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 546 | Parent = hit, | |
| 547 | } | |
| 548 | local rl = Create("BodyAngularVelocity"){
| |
| 549 | P = 3000, | |
| 550 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 551 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 552 | Parent = hit, | |
| 553 | } | |
| 554 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 555 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 556 | elseif Type == "Normal" then | |
| 557 | local vp = Create("BodyVelocity"){
| |
| 558 | P = 500, | |
| 559 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 560 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
| 561 | } | |
| 562 | if knockback > 0 then | |
| 563 | vp.Parent = hit.Parent.Torso | |
| 564 | end | |
| 565 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 566 | elseif Type == "Up" then | |
| 567 | local bodyVelocity = Create("BodyVelocity"){
| |
| 568 | velocity = Vector3.new(0, 20, 0), | |
| 569 | P = 5000, | |
| 570 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 571 | Parent = hit, | |
| 572 | } | |
| 573 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 574 | elseif Type == "DarkUp" then | |
| 575 | coroutine.resume(coroutine.create(function() | |
| 576 | for i = 0, 1, 0.1 do | |
| 577 | swait() | |
| 578 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
| |
| 579 | end | |
| 580 | end)) | |
| 581 | local bodyVelocity = Create("BodyVelocity"){
| |
| 582 | velocity = Vector3.new(0, 20, 0), | |
| 583 | P = 5000, | |
| 584 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 585 | Parent = hit, | |
| 586 | } | |
| 587 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 588 | elseif Type == "Snare" then | |
| 589 | local bp = Create("BodyPosition"){
| |
| 590 | P = 2000, | |
| 591 | D = 100, | |
| 592 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 593 | position = hit.Parent.Torso.Position, | |
| 594 | Parent = hit.Parent.Torso, | |
| 595 | } | |
| 596 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 597 | elseif Type == "Freeze" then | |
| 598 | local BodPos = Create("BodyPosition"){
| |
| 599 | P = 50000, | |
| 600 | D = 1000, | |
| 601 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 602 | position = hit.Parent.Torso.Position, | |
| 603 | Parent = hit.Parent.Torso, | |
| 604 | } | |
| 605 | local BodGy = Create("BodyGyro") {
| |
| 606 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
| 607 | P = 20e+003, | |
| 608 | Parent = hit.Parent.Torso, | |
| 609 | cframe = hit.Parent.Torso.CFrame, | |
| 610 | } | |
| 611 | hit.Parent.Torso.Anchored = true | |
| 612 | coroutine.resume(coroutine.create(function(Part) | |
| 613 | swait(1.5) | |
| 614 | Part.Anchored = false | |
| 615 | end), hit.Parent.Torso) | |
| 616 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 617 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 618 | end | |
| 619 | local debounce = Create("BoolValue"){
| |
| 620 | Name = "DebounceHit", | |
| 621 | Parent = hit.Parent, | |
| 622 | Value = true, | |
| 623 | } | |
| 624 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 625 | c = Create("ObjectValue"){
| |
| 626 | Name = "creator", | |
| 627 | Value = Player, | |
| 628 | Parent = h, | |
| 629 | } | |
| 630 | game:GetService("Debris"):AddItem(c, .5)
| |
| 631 | end | |
| 632 | end | |
| 633 | ||
| 634 | function ShowDamage(Pos, Text, Time, Color) | |
| 635 | local Rate = (1 / 30) | |
| 636 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 637 | local Text = (Text or "") | |
| 638 | local Time = (Time or 2) | |
| 639 | local Color = (Color or Color3.new(1, 0, 1)) | |
| 640 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 641 | EffectPart.Anchored = true | |
| 642 | local BillboardGui = Create("BillboardGui"){
| |
| 643 | Size = UDim2.new(3, 0, 3, 0), | |
| 644 | Adornee = EffectPart, | |
| 645 | Parent = EffectPart, | |
| 646 | } | |
| 647 | local TextLabel = Create("TextLabel"){
| |
| 648 | BackgroundTransparency = 1, | |
| 649 | Size = UDim2.new(1, 0, 1, 0), | |
| 650 | Text = Text, | |
| 651 | Font = "SciFi", | |
| 652 | TextColor3 = Color, | |
| 653 | TextScaled = true, | |
| 654 | Parent = BillboardGui, | |
| 655 | } | |
| 656 | game.Debris:AddItem(EffectPart, (Time)) | |
| 657 | EffectPart.Parent = game:GetService("Workspace")
| |
| 658 | delay(0, function() | |
| 659 | local Frames = (Time / Rate) | |
| 660 | for Frame = 1, Frames do | |
| 661 | wait(Rate) | |
| 662 | local Percent = (Frame / Frames) | |
| 663 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 664 | TextLabel.TextTransparency = Percent | |
| 665 | end | |
| 666 | if EffectPart and EffectPart.Parent then | |
| 667 | EffectPart:Destroy() | |
| 668 | end | |
| 669 | end) | |
| 670 | end | |
| 671 | ||
| 672 | function dmg(dude) | |
| 673 | if dude.Name ~= Character then | |
| 674 | dude.Humanoid.PlatformStand = true | |
| 675 | local bgf = Instance.new("BodyGyro",dude.Head)
| |
| 676 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
| 677 | local val = Instance.new("BoolValue",dude)
| |
| 678 | val.Name = "IsHit" | |
| 679 | for i = 1, 6 do | |
| 680 | local blo = Instance.new("Part",game.Workspace)
| |
| 681 | blo.Size = Vector3.new(.6,.2,.6) | |
| 682 | blo.Material = "SmoothPlastic" | |
| 683 | blo.BrickColor = BrickColor.new("Crimson")
| |
| 684 | --blo.Position = dude.Head.Position | |
| 685 | blo.CFrame = dude.Head.CFrame | |
| 686 | game:GetService("Debris"):AddItem(blo,30)
| |
| 687 | end | |
| 688 | local ds = coroutine.wrap(function() | |
| 689 | wait(.2) | |
| 690 | dude.Torso:BreakJoints() | |
| 691 | end) | |
| 692 | ds() | |
| 693 | end | |
| 694 | end | |
| 695 | ||
| 696 | function mdmg(Part, Magnitude)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
| 697 | --local buddy | |
| 698 | for _, c in pairs(workspace:children()) do | |
| 699 | local hum = c:findFirstChild("Humanoid")
| |
| 700 | if hum ~= nil then | |
| 701 | local head = c:findFirstChild("Torso")
| |
| 702 | if head ~= nil then | |
| 703 | local targ = head.Position - Part.Position | |
| 704 | local mag = targ.magnitude | |
| 705 | if mag <= Magnitude and c.Name ~= Player.Name then | |
| 706 | if c.Name ~= Character then | |
| 707 | if c.Name ~= "CKbackup" then | |
| 708 | local asd = Instance.new("ParticleEmitter",c.Torso)
| |
| 709 | asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
| 710 | asd.LightEmission = .1 | |
| 711 | asd.Size = NumberSequence.new(0.2) | |
| 712 | asd.Texture = "http://www.roblox.com/asset/?ID=771221224" | |
| 713 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
| |
| 714 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 715 | asd.Transparency = bbb | |
| 716 | asd.Size = aaa | |
| 717 | asd.ZOffset = .9 | |
| 718 | asd.Acceleration = Vector3.new(0, -5, 0) | |
| 719 | asd.LockedToPart = false | |
| 720 | asd.EmissionDirection = "Back" | |
| 721 | asd.Lifetime = NumberRange.new(1, 2) | |
| 722 | asd.Rate = 1000 | |
| 723 | asd.Rotation = NumberRange.new(-100, 100) | |
| 724 | asd.RotSpeed = NumberRange.new(-100, 100) | |
| 725 | asd.Speed = NumberRange.new(6) | |
| 726 | asd.VelocitySpread = 10000 | |
| 727 | asd.Enabled=true | |
| 728 | --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
| 729 | dmg(c) | |
| 730 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=206082273", c.Torso, 1.2, .8)
| |
| 731 | coroutine.wrap(function() | |
| 732 | wait(.2) | |
| 733 | asd.Enabled = false | |
| 734 | wait(2) | |
| 735 | asd:Remove() | |
| 736 | end)() | |
| 737 | else | |
| 738 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=240429289", c.Torso, 1.5, math.random(1,1.3))
| |
| 739 | Effects.Sphere.Create(BrickColor.new("Bright red"), c.Torso.CFrame, 30, 30, 30, .5, .5, .5, 0.04)
| |
| 740 | ||
| 741 | end | |
| 742 | end | |
| 743 | end | |
| 744 | end | |
| 745 | end | |
| 746 | end | |
| 747 | end | |
| 748 | EffectModel = Create("Model"){
| |
| 749 | Parent = Character, | |
| 750 | Name = "Effects", | |
| 751 | } | |
| 752 | ||
| 753 | Effects = {
| |
| 754 | Block = {
| |
| 755 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 756 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 757 | prt.Anchored = true | |
| 758 | prt.CFrame = cframe | |
| 759 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 760 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 761 | if Type == 1 or Type == nil then | |
| 762 | table.insert(Effects, {
| |
| 763 | prt, | |
| 764 | "Block1", | |
| 765 | delay, | |
| 766 | x3, | |
| 767 | y3, | |
| 768 | z3, | |
| 769 | msh | |
| 770 | }) | |
| 771 | elseif Type == 2 then | |
| 772 | table.insert(Effects, {
| |
| 773 | prt, | |
| 774 | "Block2", | |
| 775 | delay, | |
| 776 | x3, | |
| 777 | y3, | |
| 778 | z3, | |
| 779 | msh | |
| 780 | }) | |
| 781 | end | |
| 782 | end; | |
| 783 | }; | |
| 784 | ||
| 785 | Cylinder = {
| |
| 786 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 787 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 788 | prt.Anchored = true | |
| 789 | prt.CFrame = cframe | |
| 790 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 791 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 792 | table.insert(Effects, {
| |
| 793 | prt, | |
| 794 | "Cylinder", | |
| 795 | delay, | |
| 796 | x3, | |
| 797 | y3, | |
| 798 | z3, | |
| 799 | msh | |
| 800 | }) | |
| 801 | end; | |
| 802 | }; | |
| 803 | Head = {
| |
| 804 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 805 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 806 | prt.Anchored = true | |
| 807 | prt.CFrame = cframe | |
| 808 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 809 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 810 | table.insert(Effects, {
| |
| 811 | prt, | |
| 812 | "Cylinder", | |
| 813 | delay, | |
| 814 | x3, | |
| 815 | y3, | |
| 816 | z3, | |
| 817 | msh | |
| 818 | }) | |
| 819 | end; | |
| 820 | }; | |
| 821 | ||
| 822 | Sphere = {
| |
| 823 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 824 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 825 | prt.Anchored = true | |
| 826 | prt.CFrame = cframe | |
| 827 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 828 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 829 | table.insert(Effects, {
| |
| 830 | prt, | |
| 831 | "Cylinder", | |
| 832 | delay, | |
| 833 | x3, | |
| 834 | y3, | |
| 835 | z3, | |
| 836 | msh | |
| 837 | }) | |
| 838 | end; | |
| 839 | }; | |
| 840 | ||
| 841 | Elect = {
| |
| 842 | Create = function(cff, x, y, z) | |
| 843 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
| |
| 844 | prt.Anchored = true | |
| 845 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
| 846 | prt.CFrame = CFrame.new(prt.Position) | |
| 847 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 848 | local xval = math.random() / 2 | |
| 849 | local yval = math.random() / 2 | |
| 850 | local zval = math.random() / 2 | |
| 851 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
| |
| 852 | table.insert(Effects, {
| |
| 853 | prt, | |
| 854 | "Elec", | |
| 855 | 0.1, | |
| 856 | x, | |
| 857 | y, | |
| 858 | z, | |
| 859 | xval, | |
| 860 | yval, | |
| 861 | zval | |
| 862 | }) | |
| 863 | end; | |
| 864 | ||
| 865 | }; | |
| 866 | ||
| 867 | Ring = {
| |
| 868 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 869 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 870 | prt.Anchored = true | |
| 871 | prt.CFrame = cframe | |
| 872 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 873 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 874 | table.insert(Effects, {
| |
| 875 | prt, | |
| 876 | "Cylinder", | |
| 877 | delay, | |
| 878 | x3, | |
| 879 | y3, | |
| 880 | z3, | |
| 881 | msh | |
| 882 | }) | |
| 883 | end; | |
| 884 | }; | |
| 885 | ||
| 886 | ||
| 887 | Wave = {
| |
| 888 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 889 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 890 | prt.Anchored = true | |
| 891 | prt.CFrame = cframe | |
| 892 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 893 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 894 | table.insert(Effects, {
| |
| 895 | prt, | |
| 896 | "Cylinder", | |
| 897 | delay, | |
| 898 | x3, | |
| 899 | y3, | |
| 900 | z3, | |
| 901 | msh | |
| 902 | }) | |
| 903 | end; | |
| 904 | }; | |
| 905 | ||
| 906 | Break = {
| |
| 907 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 908 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 909 | prt.Anchored = true | |
| 910 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 911 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 912 | local num = math.random(10, 50) / 1000 | |
| 913 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 914 | table.insert(Effects, {
| |
| 915 | prt, | |
| 916 | "Shatter", | |
| 917 | num, | |
| 918 | prt.CFrame, | |
| 919 | math.random() - math.random(), | |
| 920 | 0, | |
| 921 | math.random(50, 100) / 100 | |
| 922 | }) | |
| 923 | end; | |
| 924 | }; | |
| 925 | ||
| 926 | Fire = {
| |
| 927 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
| 928 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 929 | prt.Anchored = true | |
| 930 | prt.CFrame = cframe | |
| 931 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 932 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 933 | table.insert(Effects, {
| |
| 934 | prt, | |
| 935 | "Fire", | |
| 936 | delay, | |
| 937 | 1, | |
| 938 | 1, | |
| 939 | 1, | |
| 940 | msh | |
| 941 | }) | |
| 942 | end; | |
| 943 | }; | |
| 944 | ||
| 945 | FireWave = {
| |
| 946 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 947 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
| 948 | prt.Anchored = true | |
| 949 | prt.CFrame = cframe | |
| 950 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 951 | local d = Create("Decal"){
| |
| 952 | Parent = prt, | |
| 953 | Texture = "rbxassetid://26356434", | |
| 954 | Face = "Top", | |
| 955 | } | |
| 956 | local d = Create("Decal"){
| |
| 957 | Parent = prt, | |
| 958 | Texture = "rbxassetid://26356434", | |
| 959 | Face = "Bottom", | |
| 960 | } | |
| 961 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 962 | table.insert(Effects, {
| |
| 963 | prt, | |
| 964 | "FireWave", | |
| 965 | 1, | |
| 966 | 30, | |
| 967 | math.random(400, 600) / 100, | |
| 968 | msh | |
| 969 | }) | |
| 970 | end; | |
| 971 | }; | |
| 972 | ||
| 973 | Lightning = {
| |
| 974 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
| 975 | local magz = (p0 - p1).magnitude | |
| 976 | local curpos = p0 | |
| 977 | local trz = {
| |
| 978 | -ofs, | |
| 979 | ofs | |
| 980 | } | |
| 981 | for i = 1, tym do | |
| 982 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
| 983 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
| 984 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
| 985 | li.Material = "Neon" | |
| 986 | if tym == i then | |
| 987 | local magz2 = (curpos - p1).magnitude | |
| 988 | li.Size = Vector3.new(th, th, magz2) | |
| 989 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
| 990 | table.insert(Effects, {
| |
| 991 | li, | |
| 992 | "Disappear", | |
| 993 | last | |
| 994 | }) | |
| 995 | else | |
| 996 | do | |
| 997 | do | |
| 998 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
| 999 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
| 1000 | game.Debris:AddItem(li, 10) | |
| 1001 | table.insert(Effects, {
| |
| 1002 | li, | |
| 1003 | "Disappear", | |
| 1004 | last | |
| 1005 | }) | |
| 1006 | end | |
| 1007 | end | |
| 1008 | end | |
| 1009 | end | |
| 1010 | - | game.Players.LocalPlayer.Character.Archivable = true |
| 1010 | + | |
| 1011 | - | clone = game.Players.LocalPlayer.Character:Clone() |
| 1011 | + | |
| 1012 | ||
| 1013 | EffectTemplate = {
| |
| 1014 | ||
| 1015 | }; | |
| 1016 | } | |
| 1017 | ||
| 1018 | function chatfunc(text) | |
| 1019 | local chat = coroutine.wrap(function() | |
| 1020 | if Character:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 1021 | Character:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 1022 | end | |
| 1023 | - | for i,t in pairs(game.Players.LocalPlayer.Character:GetChildren()) do |
| 1023 | + | |
| 1024 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 1025 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 1026 | naeeym2.Adornee = Character.Head | |
| 1027 | naeeym2.Name = "TalkingBillBoard" | |
| 1028 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 1029 | tecks2.BackgroundTransparency = 1 | |
| 1030 | tecks2.BorderSizePixel = 0 | |
| 1031 | tecks2.Text = "" | |
| 1032 | tecks2.Font = "Fantasy" | |
| 1033 | tecks2.TextSize = 30 | |
| 1034 | tecks2.TextStrokeTransparency = 0 | |
| 1035 | tecks2.TextColor3 = Color3.new(.6,0,0) | |
| 1036 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 1037 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 1038 | local tecks3 = Instance.new("TextLabel",naeeym2)
| |
| 1039 | tecks3.BackgroundTransparency = 1 | |
| 1040 | tecks3.BorderSizePixel = 0 | |
| 1041 | tecks3.Text = "" | |
| 1042 | tecks3.Font = "Fantasy" | |
| 1043 | tecks3.TextSize = 30 | |
| 1044 | tecks3.TextStrokeTransparency = 0 | |
| 1045 | tecks3.TextColor3 = Color3.new(.6,0,0) | |
| 1046 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
| 1047 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
| 1048 | for i = 1,string.len(text),1 do | |
| 1049 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=565939471", Character, .6, .8)
| |
| 1050 | tecks2.Text = string.sub(text,1,i) | |
| 1051 | tecks3.Text = string.sub(text,1,i) | |
| 1052 | wait(0.01) | |
| 1053 | end | |
| 1054 | - | for i, g in pairs(game.Players.LocalPlayer.Character:GetChildren()) do |
| 1054 | + | |
| 1055 | for i = 1, 50 do | |
| 1056 | swait() | |
| 1057 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 1058 | tecks2.Rotation = tecks2.Rotation - .8 | |
| 1059 | - | for i, h in pairs(game.Players.LocalPlayer.Character:GetChildren()) do |
| 1059 | + | |
| 1060 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
| 1061 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 1062 | tecks3.Rotation = tecks2.Rotation + .8 | |
| 1063 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 1064 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
| 1065 | end | |
| 1066 | naeeym2:Destroy() | |
| 1067 | end) | |
| 1068 | if Character:FindFirstChild"Head" then chat() end | |
| 1069 | end | |
| 1070 | function onChatted(msg) | |
| 1071 | chatfunc(msg) | |
| 1072 | end | |
| 1073 | Player.Chatted:connect(onChatted) | |
| 1074 | ||
| 1075 | abss = Instance.new("BillboardGui",Character)
| |
| 1076 | abss.Size = UDim2.new(10,0,10,0) | |
| 1077 | abss.Enabled = false | |
| 1078 | imgl = Instance.new("ImageLabel",abss)
| |
| 1079 | imgl.Position = UDim2.new(0,0,0,0) | |
| 1080 | imgl.Size = UDim2.new(1,0,1,0) | |
| 1081 | imgl.Image = "rbxassetid://711463989" | |
| 1082 | imgl.BackgroundTransparency = 1 | |
| 1083 | imgl.ImageColor3 = Color3.new(.9,0,0) | |
| 1084 | img2 = Instance.new("ImageLabel",abss)
| |
| 1085 | img2.Position = UDim2.new(0,0,0,0) | |
| 1086 | img2.Size = UDim2.new(1,0,1,0) | |
| 1087 | img2.Image = "rbxassetid://711463989" | |
| 1088 | img2.BackgroundTransparency = 1 | |
| 1089 | img2.ImageColor3 = Color3.new(.9,0,0) | |
| 1090 | ||
| 1091 | ||
| 1092 | ||
| 1093 | ||
| 1094 | function ragdoll() | |
| 1095 | owner.Character.Archivable = true | |
| 1096 | clone = owner.Character:Clone() | |
| 1097 | clone.Parent = workspace | |
| 1098 | for i,v in pairs(clone:GetChildren()) do | |
| 1099 | if v.ClassName == "Script" or v.ClassName == "LocalScript" then | |
| 1100 | v:destroy() | |
| 1101 | end | |
| 1102 | for i,p in pairs(v:GetChildren()) do | |
| 1103 | if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then | |
| 1104 | p:destroy() | |
| 1105 | end | |
| 1106 | end | |
| 1107 | end | |
| 1108 | for i,t in pairs(owner.Character:GetChildren()) do | |
| 1109 | if t.ClassName == "Accessory" or t.ClassName == "ForceField" then | |
| 1110 | t:destroy() | |
| 1111 | end | |
| 1112 | end | |
| 1113 | vel = Instance.new("BodyVelocity", clone.Torso)
| |
| 1114 | vel.Velocity = clone.Torso.CFrame.lookVector * -5 | |
| 1115 | vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 1116 | clone.Head.face.Texture = "http://www.roblox.com/asset/?id=161061608" | |
| 1117 | using = false | |
| 1118 | hit = Instance.new("Sound", clone.Torso)
| |
| 1119 | hit.SoundId = "rbxassetid://260430060" | |
| 1120 | hit.Volume = 5 | |
| 1121 | hit1 = Instance.new("Sound", clone.Torso)
| |
| 1122 | hit1.SoundId = "rbxassetid://138087186" | |
| 1123 | hit1.Volume = 5 | |
| 1124 | hit2 = Instance.new("Sound", clone.Torso)
| |
| 1125 | hit2.SoundId = "rbxassetid://131237241" | |
| 1126 | hit2.Volume = 5 | |
| 1127 | hit3 = Instance.new("Sound", clone.Torso)
| |
| 1128 | hit3.SoundId = "rbxassetid://278062209" | |
| 1129 | hit3.Volume = 5 | |
| 1130 | hit3.TimePosition = 0.33 | |
| 1131 | ded = Instance.new("Sound", clone.Torso)
| |
| 1132 | ded.SoundId = "rbxassetid://418892870" | |
| 1133 | ded.Volume = 0 | |
| 1134 | local leftarm = clone:findFirstChild("Left Arm")
| |
| 1135 | local rightrm = clone:findFirstChild("Right Arm")
| |
| 1136 | local leftleg = clone:findFirstChild("Left Leg")
| |
| 1137 | local rightleg = clone:findFirstChild("Right Leg")
| |
| 1138 | local head = clone:findFirstChild("Head")
| |
| 1139 | for i, g in pairs(owner.Character:GetChildren()) do | |
| 1140 | if g.ClassName == "Part" then | |
| 1141 | g:destroy() | |
| 1142 | end | |
| 1143 | end | |
| 1144 | for i, h in pairs(owner.Character:GetChildren()) do | |
| 1145 | if h.ClassName == "Accesory" then | |
| 1146 | h:destroy() | |
| 1147 | end | |
| 1148 | end | |
| 1149 | game.Workspace.CurrentCamera.CameraSubject = head | |
| 1150 | if head ~= nil then | |
| 1151 | local glue13 = Instance.new("Glue", clone.Torso)
| |
| 1152 | glue13.Part0 = clone.Torso | |
| 1153 | glue13.Part1 = head | |
| 1154 | glue13.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 1155 | glue13.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 1156 | local collider13 = Instance.new("Part", head)
| |
| 1157 | collider13.Position = Vector3.new(0,999,0) | |
| 1158 | collider13.Size = Vector3.new(0.5, 0.9, 0.9) | |
| 1159 | collider13.Shape = "Cylinder" | |
| 1160 | collider13.Transparency = 1 | |
| 1161 | local weld = Instance.new("Weld", collider13)
| |
| 1162 | weld.Part0 = head | |
| 1163 | weld.Part1 = collider13 | |
| 1164 | weld.C0 = weld.C0 * CFrame.new(0,0.2,0) * CFrame.Angles(0, 0, 80) | |
| 1165 | collider13.TopSurface = "Smooth" | |
| 1166 | collider13.BottomSurface = "Smooth" | |
| 1167 | collider13.formFactor = "Symmetric" | |
| 1168 | end | |
| 1169 | if leftleg ~= nil then | |
| 1170 | local glue = Instance.new("Glue", clone.Torso)
| |
| 1171 | glue.Part0 = clone.Torso | |
| 1172 | glue.Part1 = leftleg | |
| 1173 | glue.Name = "Left leg" | |
| 1174 | local collider = Instance.new("Part", leftleg)
| |
| 1175 | collider.Position = Vector3.new(0,999,0) | |
| 1176 | collider.Size = Vector3.new(1.7, 1, 1) | |
| 1177 | collider.Shape = "Cylinder" | |
| 1178 | local weld = Instance.new("Weld", collider)
| |
| 1179 | weld.Part0 = leftleg | |
| 1180 | weld.Part1 = collider | |
| 1181 | weld.C0 = CFrame.Angles(0, 0, 80) | |
| 1182 | collider.TopSurface = "Smooth" | |
| 1183 | collider.BottomSurface = "Smooth" | |
| 1184 | collider.formFactor = "Symmetric" | |
| 1185 | glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 1186 | glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 1187 | - | clone.Name = game.Players.LocalPlayer.Character.Name.." (Committed suicide)" |
| 1187 | + | |
| 1188 | end | |
| 1189 | ------------ | |
| 1190 | if rightleg ~= nil then | |
| 1191 | local glue1 = Instance.new("Glue", clone.Torso)
| |
| 1192 | glue1.Part0 = clone.Torso | |
| 1193 | glue1.Part1 = rightleg | |
| 1194 | glue1.Name = "Right leg" | |
| 1195 | local collider1 = Instance.new("Part", rightleg)
| |
| 1196 | collider1.Position = Vector3.new(0,999,0) | |
| 1197 | collider1.Size = Vector3.new(1.7, 1, 1) | |
| 1198 | collider1.Shape = "Cylinder" | |
| 1199 | local weld1 = Instance.new("Weld", collider1)
| |
| 1200 | weld1.Part0 = rightleg | |
| 1201 | weld1.Part1 = collider1 | |
| 1202 | weld1.C0 = CFrame.Angles(0, 0, 80) | |
| 1203 | collider1.TopSurface = "Smooth" | |
| 1204 | collider1.BottomSurface = "Smooth" | |
| 1205 | collider1.formFactor = "Symmetric" | |
| 1206 | glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 1207 | glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 1208 | collider1.Transparency = 1 | |
| 1209 | end | |
| 1210 | ------------ | |
| 1211 | if rightrm ~= nil then | |
| 1212 | local glue11 = Instance.new("Glue", clone.Torso)
| |
| 1213 | glue11.Part0 = clone.Torso | |
| 1214 | glue11.Part1 = rightrm | |
| 1215 | glue11.Name = "Right shoulder" | |
| 1216 | local collider11 = Instance.new("Part", rightrm)
| |
| 1217 | collider11.Position = Vector3.new(0,9999,0) | |
| 1218 | collider11.Size = Vector3.new(1.8,1,1) | |
| 1219 | collider11.Shape = "Cylinder" | |
| 1220 | local weld11 = Instance.new("Weld", collider11)
| |
| 1221 | weld11.Part0 = rightrm | |
| 1222 | weld11.Part1 = collider11 | |
| 1223 | weld11.C0 = CFrame.Angles(0, 0, 80) | |
| 1224 | collider11.TopSurface = "Smooth" | |
| 1225 | collider11.BottomSurface = "Smooth" | |
| 1226 | collider11.formFactor = "Symmetric" | |
| 1227 | glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 1228 | glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 1229 | collider11.Transparency = 1 | |
| 1230 | end | |
| 1231 | ------------ | |
| 1232 | if leftarm ~= nil then | |
| 1233 | local glue111 = Instance.new("Glue", clone.Torso)
| |
| 1234 | glue111.Part0 = clone.Torso | |
| 1235 | glue111.Part1 = leftarm | |
| 1236 | glue111.Name = "Left shoulder" | |
| 1237 | local collider111 = Instance.new("Part", leftarm)
| |
| 1238 | collider111.Position = Vector3.new(0,9999,0) | |
| 1239 | collider111.Size = Vector3.new(1.8,1,1) | |
| 1240 | collider111.Shape = "Cylinder" | |
| 1241 | local weld111 = Instance.new("Weld", collider111)
| |
| 1242 | weld111.Part0 = leftarm | |
| 1243 | weld111.Part1 = collider111 | |
| 1244 | weld111.C0 = CFrame.Angles(0, 0, 80) | |
| 1245 | collider111.TopSurface = "Smooth" | |
| 1246 | collider111.BottomSurface = "Smooth" | |
| 1247 | collider111.formFactor = "Symmetric" | |
| 1248 | glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 1249 | glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 1250 | collider111.Transparency = 1 | |
| 1251 | ---------------- | |
| 1252 | sensoring = Instance.new("Part", clone.Torso)
| |
| 1253 | sensoring.Size = Vector3.new(1.2,1.1,0.8) | |
| 1254 | sensoring.CanCollide = false | |
| 1255 | sensoring.Position = clone.Torso.Position | |
| 1256 | local welder = Instance.new("Weld", sensoring)
| |
| 1257 | welder.Part0 = clone.Torso | |
| 1258 | welder.Part1 = sensoring | |
| 1259 | welder.C0 = welder.C0 * CFrame.new(0,0,1.05) | |
| 1260 | sensoring.Transparency = 1 | |
| 1261 | ----------------- | |
| 1262 | sensoring1 = Instance.new("Part", clone.Torso)
| |
| 1263 | sensoring1.Size = Vector3.new(1.2,1.1,0.8) | |
| 1264 | sensoring1.CanCollide = false | |
| 1265 | sensoring1.Position = clone.Torso.Position | |
| 1266 | local welder1 = Instance.new("Weld", sensoring)
| |
| 1267 | welder1.Part0 = clone.Torso | |
| 1268 | welder1.Part1 = sensoring1 | |
| 1269 | welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05) | |
| 1270 | sensoring1.Transparency = 1 | |
| 1271 | end | |
| 1272 | clone.Name = owner.Character.Name.." (Committed suicide)" | |
| 1273 | ded:Play() | |
| 1274 | vel:destroy() | |
| 1275 | wait(0.5) | |
| 1276 | local function touch() | |
| 1277 | if not using then | |
| 1278 | using = true | |
| 1279 | local Math = math.random(1,4) | |
| 1280 | if Math == 1 then | |
| 1281 | hit:Play() | |
| 1282 | end | |
| 1283 | if Math == 2 then | |
| 1284 | hit1:Play() | |
| 1285 | end | |
| 1286 | if Math == 3 then | |
| 1287 | hit2:Play() | |
| 1288 | end | |
| 1289 | if Math == 4 then | |
| 1290 | hit3:Play() | |
| 1291 | end | |
| 1292 | wait(0.1) | |
| 1293 | using = false | |
| 1294 | end | |
| 1295 | end | |
| 1296 | sensoring.Touched:connect(touch) | |
| 1297 | sensoring1.Touched:connect(touch) | |
| 1298 | wait(4.47) | |
| 1299 | hit1.Volume = 0 | |
| 1300 | hit2.Volume = 0 | |
| 1301 | hit3.Volume = 0 | |
| 1302 | hit.Volume = 0 | |
| 1303 | end | |
| 1304 | ||
| 1305 | function ofmoosic() -- 2 lazi hoh | |
| 1306 | delays = true | |
| 1307 | while wait() and kkk and kkk.Volume >= 0.02 do | |
| 1308 | kkk.Volume = kkk.Volume - 0.05 | |
| 1309 | end | |
| 1310 | wait(0.1) | |
| 1311 | kkk.Pitch = 0 | |
| 1312 | kkk.PlaybackSpeed = 0 | |
| 1313 | play = false | |
| 1314 | delays = false | |
| 1315 | end | |
| 1316 | function onmoosic() | |
| 1317 | delays = true | |
| 1318 | kkk.Pitch = .6 | |
| 1319 | kkk.PlaybackSpeed = .6 | |
| 1320 | while wait() and kkk and kkk.Volume <= 1.5 do | |
| 1321 | kkk.Volume = kkk.Volume + 0.05 | |
| 1322 | end | |
| 1323 | wait(0.1) | |
| 1324 | play = true | |
| 1325 | delays = false | |
| 1326 | end | |
| 1327 | function attackone() | |
| 1328 | attack = true | |
| 1329 | Humanoid.WalkSpeed = 0 | |
| 1330 | chatfunc("Life isn't worth living...")
| |
| 1331 | for i = 0, 1, 0.1 do | |
| 1332 | swait() | |
| 1333 | PlayAnimationFromTable({
| |
| 1334 | CFrame.new(0, -0, 0, 1.00000024, 0, -0, 0, 1.00000024, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1335 | CFrame.new(7.62939635e-06, 1.49997163, 0, 1.00000024, 0, -0, 0, 1.00000024, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1336 | CFrame.new(0.957365155, 0.473913312, -0.436159939, 0.839621305, 0.451239794, 0.302355915, 0.366206169, -0.059150584, -0.928652048, -0.401160091, 0.890440345, -0.21491085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1337 | CFrame.new(-1.49999273, 3.87430276e-07, 0, 1.00000024, 0, -0, 0, 1.00000024, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1338 | CFrame.new(0.499987125, -1.99996996, 0, 0.997888982, -0.0649460182, -0, 0.0649460182, 0.997888982, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1339 | CFrame.new(-0.499989778, -1.99997127, 0, 0.998181164, 0.0602900162, -0, -0.0602900162, 0.998181164, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1340 | }, .3, false) | |
| 1341 | moter.C0 = clerp(moter.C0, CFrame.new(-0.382800102, -0.626367509, -0.547955096, 0.192451894, 0.293820173, 0.936286569, -0.901372194, -0.32425499, 0.287031353, 0.387930989, -0.89918226, 0.202437893) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1342 | end | |
| 1343 | wait(1.5) | |
| 1344 | chatfunc("Goodbye cruel world...")
| |
| 1345 | wait(1.5) | |
| 1346 | local partasdeff = Instance.new("ParticleEmitter",Character.Head)
| |
| 1347 | partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
| 1348 | partasdeff.LightEmission = .1 | |
| 1349 | partasdeff.Size = NumberSequence.new(0.2) | |
| 1350 | partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224" | |
| 1351 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
| |
| 1352 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 1353 | partasdeff.Transparency = bbb | |
| 1354 | partasdeff.Size = aaa | |
| 1355 | partasdeff.ZOffset = .9 | |
| 1356 | partasdeff.Acceleration = Vector3.new(0, -15, 0) | |
| 1357 | partasdeff.LockedToPart = false | |
| 1358 | partasdeff.EmissionDirection = "Back" | |
| 1359 | partasdeff.Lifetime = NumberRange.new(1, 4) | |
| 1360 | partasdeff.Rate = 1000 | |
| 1361 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
| 1362 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
| 1363 | partasdeff.Speed = NumberRange.new(15) | |
| 1364 | partasdeff.VelocitySpread = 15 | |
| 1365 | partasdeff.Enabled=true | |
| 1366 | Effects.Block.Create(BrickColor.new("Bright red"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
| |
| 1367 | Effects.Block.Create(BrickColor.new("Deep orange"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
| |
| 1368 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5)
| |
| 1369 | dmg(Character) | |
| 1370 | Character.Head.Velocity = Character.Head.CFrame.lookVector * -30 | |
| 1371 | ragdoll() | |
| 1372 | end | |
| 1373 | Mouse.Button1Down:connect(function() | |
| 1374 | if attack == false then | |
| 1375 | attackone() | |
| 1376 | end | |
| 1377 | end) | |
| 1378 | ||
| 1379 | ||
| 1380 | kkk = Instance.new("Sound",Character)
| |
| 1381 | kkk.Volume = 1.5 | |
| 1382 | kkk.PlaybackSpeed = 1 | |
| 1383 | kkk.Pitch = .6 | |
| 1384 | kkk.SoundId = "rbxassetid://257187456" | |
| 1385 | kkk:Play() | |
| 1386 | kkk.Name = "a" | |
| 1387 | kkk.Looped = true | |
| 1388 | ||
| 1389 | ||
| 1390 | coroutine.wrap(function() | |
| 1391 | while true do | |
| 1392 | swait() | |
| 1393 | for i, v in pairs(Character.WeaponModel:GetChildren()) do | |
| 1394 | if v:IsA("Part") then
| |
| 1395 | v.Anchored = false | |
| 1396 | end | |
| 1397 | end | |
| 1398 | for i, v in pairs(Character:GetChildren()) do | |
| 1399 | if v:IsA("Part") then
| |
| 1400 | v.Anchored = false | |
| 1401 | elseif v:IsA("Accessory") then
| |
| 1402 | v.Handle.Anchored = false | |
| 1403 | end | |
| 1404 | end | |
| 1405 | end | |
| 1406 | end)() | |
| 1407 | coroutine.wrap(function() | |
| 1408 | while 1 do | |
| 1409 | swait() | |
| 1410 | if doe <= 360 then | |
| 1411 | doe = doe + 2 | |
| 1412 | else | |
| 1413 | doe = 0 | |
| 1414 | end | |
| 1415 | end | |
| 1416 | end)() | |
| 1417 | while true do | |
| 1418 | swait() | |
| 1419 | for i, v in pairs(Character:GetChildren()) do | |
| 1420 | if v:IsA("Part") then
| |
| 1421 | v.Material = "SmoothPlastic" | |
| 1422 | elseif v:IsA("Accessory") then
| |
| 1423 | v:WaitForChild("Handle").Material = "SmoothPlastic"
| |
| 1424 | end | |
| 1425 | end | |
| 1426 | while true do | |
| 1427 | swait() | |
| 1428 | Character.Humanoid.MaxHealth = math.huge | |
| 1429 | Character.Humanoid.Health = math.huge | |
| 1430 | imgl.Rotation = imgl.Rotation + 3 | |
| 1431 | img2.Rotation = img2.Rotation + 3 | |
| 1432 | if targetted ~= nil then | |
| 1433 | abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
| |
| 1434 | abss.Enabled = true | |
| 1435 | elseif targetted == nil then | |
| 1436 | abss.Adornee = nil | |
| 1437 | abss.Enabled = false | |
| 1438 | end | |
| 1439 | ||
| 1440 | while true and imgl.Rotation >= 360 do | |
| 1441 | imgl.Rotation = 0 | |
| 1442 | img2.Rotation = 0 | |
| 1443 | end | |
| 1444 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 1445 | velocity = RootPart.Velocity.y | |
| 1446 | sine = sine + change | |
| 1447 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
| 1448 | if RootPart.Velocity.y > 1 and hit == nil then | |
| 1449 | Anim = "Jump" | |
| 1450 | if attack == false then | |
| 1451 | PlayAnimationFromTable({
| |
| 1452 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1453 | CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1454 | CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1455 | CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1456 | CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1457 | CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1458 | }, .3, false) | |
| 1459 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111988392, -1.63769972, -0.318750381, -0.0172117054, 0, -0.999851942, 0.999851942, 0, -0.0172116756, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1460 | end | |
| 1461 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
| 1462 | Anim = "Fall" | |
| 1463 | if attack == false then | |
| 1464 | PlayAnimationFromTable({
| |
| 1465 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1466 | CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1467 | CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1468 | CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1469 | CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1470 | CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1471 | }, .3, false) | |
| 1472 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112015437, -1.63769758, -0.318750381, -0.0172110498, 0, -0.999851942, 0.999851942, 0, -0.0172110498, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1473 | end | |
| 1474 | elseif Torsovelocity < 1 and hit ~= nil then | |
| 1475 | Anim = "Idle" | |
| 1476 | if attack == false then | |
| 1477 | change = 1 | |
| 1478 | PlayAnimationFromTable({
| |
| 1479 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1480 | CFrame.new(-0.0575585738, 1.52553558, -0.218724757, 0.985934377, -0.143356442, -0.0859283879, 0.166522771, 0.886584163, 0.431554198, 0.0143168001, -0.439792335, 0.897985697) * CFrame.new(0, -.05- .05 * math.cos((sine) / 55), 0- .05 * math.cos((sine) / 55)) * CFrame.Angles(math.rad(0 - 5 * math.cos((sine) / 55)), 0, 0), | |
| 1481 | CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0- 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0- 0.05 * math.cos((sine) / 45)), | |
| 1482 | CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0+ 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0+ 0.05 * math.cos((sine) / 45)), | |
| 1483 | CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1484 | CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1485 | }, .3, false) | |
| 1486 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111980997, -1.6377027, -0.318750381, -0.0172109306, 0, -0.999851882, 0.999851882, 0, -0.0172109306, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1487 | end | |
| 1488 | elseif Torsovelocity > 2 and hit ~= nil then | |
| 1489 | Anim = "Walk" | |
| 1490 | if attack == false then | |
| 1491 | PlayAnimationFromTable({
| |
| 1492 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0- .08 * math.cos((sine) / 5), 0) * CFrame.Angles(0, 0, 0), | |
| 1493 | CFrame.new(-0.0595112406, 1.55331731, -0.0425721854, 0.999631822, -0.0248252042, -0.010953242, 0.0262294486, 0.987443328, 0.155781403, 0.00694842171, -0.156010598, 0.987731278) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1494 | CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0), | |
| 1495 | CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0), | |
| 1496 | CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0), | |
| 1497 | CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0), | |
| 1498 | }, .3, false) | |
| 1499 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111980997, -1.6377027, -0.318750381, -0.0172109306, 0, -0.999851882, 0.999851882, 0, -0.0172109306, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1500 | end | |
| 1501 | end | |
| 1502 | if 0 < #Effects then | |
| 1503 | for e = 1, #Effects do | |
| 1504 | if Effects[e] ~= nil then | |
| 1505 | local Thing = Effects[e] | |
| 1506 | if Thing ~= nil then | |
| 1507 | local Part = Thing[1] | |
| 1508 | local Mode = Thing[2] | |
| 1509 | local Delay = Thing[3] | |
| 1510 | local IncX = Thing[4] | |
| 1511 | local IncY = Thing[5] | |
| 1512 | local IncZ = Thing[6] | |
| 1513 | if Thing[2] == "Shoot" then | |
| 1514 | local Look = Thing[1] | |
| 1515 | local move = 30 | |
| 1516 | if Thing[8] == 3 then | |
| 1517 | move = 10 | |
| 1518 | end | |
| 1519 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
| 1520 | if Thing[10] ~= nil then | |
| 1521 | da = pos | |
| 1522 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
| 1523 | cfa = CFrame.new(Thing[4], pos) | |
| 1524 | tehCF = cfa:lerp(cf2, 0.2) | |
| 1525 | Thing[1] = tehCF.lookVector | |
| 1526 | end | |
| 1527 | local mag = (Thing[4] - pos).magnitude | |
| 1528 | Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2) | |
| 1529 | if Thing[8] == 2 then | |
| 1530 | Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1) | |
| 1531 | end | |
| 1532 | Thing[4] = Thing[4] + Look * move | |
| 1533 | Thing[3] = Thing[3] - 1 | |
| 1534 | if 2 < Thing[5] then | |
| 1535 | Thing[5] = Thing[5] - 0.3 | |
| 1536 | Thing[6] = Thing[6] - 0.3 | |
| 1537 | end | |
| 1538 | if hit ~= nil then | |
| 1539 | Thing[3] = 0 | |
| 1540 | if Thing[8] == 1 or Thing[8] == 3 then | |
| 1541 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
| 1542 | else | |
| 1543 | if Thing[8] == 2 then | |
| 1544 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
| 1545 | if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
| |
| 1546 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
| |
| 1547 | ref.Anchored = true | |
| 1548 | ref.CFrame = CFrame.new(pos) | |
| 1549 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
| |
| 1550 | game:GetService("Debris"):AddItem(ref, 0.2)
| |
| 1551 | Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2) | |
| 1552 | Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
| |
| 1553 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
| 1554 | end | |
| 1555 | end | |
| 1556 | end | |
| 1557 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
| |
| 1558 | ref.Anchored = true | |
| 1559 | ref.CFrame = CFrame.new(pos) | |
| 1560 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
| 1561 | game:GetService("Debris"):AddItem(ref, 1)
| |
| 1562 | end | |
| 1563 | if Thing[3] <= 0 then | |
| 1564 | table.remove(Effects, e) | |
| 1565 | end | |
| 1566 | end | |
| 1567 | do | |
| 1568 | do | |
| 1569 | if Thing[2] == "FireWave" then | |
| 1570 | if Thing[3] <= Thing[4] then | |
| 1571 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
| 1572 | Thing[3] = Thing[3] + 1 | |
| 1573 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
| 1574 | else | |
| 1575 | Part.Parent = nil | |
| 1576 | table.remove(Effects, e) | |
| 1577 | end | |
| 1578 | end | |
| 1579 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
| 1580 | if Thing[1].Transparency <= 1 then | |
| 1581 | if Thing[2] == "Block1" then | |
| 1582 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1583 | Mesh = Thing[7] | |
| 1584 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1585 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1586 | else | |
| 1587 | if Thing[2] == "Block2" then | |
| 1588 | Thing[1].CFrame = Thing[1].CFrame | |
| 1589 | Mesh = Thing[7] | |
| 1590 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1591 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1592 | else | |
| 1593 | if Thing[2] == "Fire" then | |
| 1594 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
| 1595 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1596 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1597 | else | |
| 1598 | if Thing[2] == "Cylinder" then | |
| 1599 | Mesh = Thing[7] | |
| 1600 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1601 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1602 | else | |
| 1603 | if Thing[2] == "Blood" then | |
| 1604 | Mesh = Thing[7] | |
| 1605 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
| 1606 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1607 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1608 | else | |
| 1609 | if Thing[2] == "Elec" then | |
| 1610 | Mesh = Thing[10] | |
| 1611 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 1612 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1613 | else | |
| 1614 | if Thing[2] == "Disappear" then | |
| 1615 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1616 | else | |
| 1617 | if Thing[2] == "Shatter" then | |
| 1618 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1619 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 1620 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 1621 | Thing[6] = Thing[6] + Thing[5] | |
| 1622 | end | |
| 1623 | end | |
| 1624 | end | |
| 1625 | end | |
| 1626 | end | |
| 1627 | end | |
| 1628 | end | |
| 1629 | end | |
| 1630 | else | |
| 1631 | Part.Parent = nil | |
| 1632 | table.remove(Effects, e) | |
| 1633 | end | |
| 1634 | end | |
| 1635 | end | |
| 1636 | end | |
| 1637 | end | |
| 1638 | end | |
| 1639 | end | |
| 1640 | end | |
| 1641 | end | |
| 1642 | end |