SHOW:
|
|
- or go back to the newest paste.
1 | - | plr = game:GetService("Players").LocalPlayer |
1 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
2 | - | char = plr.Character |
2 | + | local Player,game,owner = owner,game |
3 | - | hum = char:FindFirstChildOfClass'Humanoid' |
3 | + | local RealPlayer = Player |
4 | - | hum.BodyDepthScale.Value = 1 |
4 | + | do |
5 | - | hum.BodyHeightScale.Value = 1 |
5 | + | print("FE Compatibility code by Mokiros") |
6 | - | hum.BodyWidthScale.Value = 1 |
6 | + | local rp = RealPlayer |
7 | - | hum.HeadScale.Value = 1 |
7 | + | script.Parent = rp.Character |
8 | - | lclick = false |
8 | + | |
9 | - | mouse = plr:GetMouse() |
9 | + | --RemoteEvent for communicating |
10 | - | size = 1 |
10 | + | local Event = Instance.new("RemoteEvent") |
11 | - | rlick = false |
11 | + | Event.Name = "UserInput_Event" |
12 | - | human = char.Humanoid |
12 | + | |
13 | - | root = char.HumanoidRootPart |
13 | + | --Fake event to make stuff like Mouse.KeyDown work |
14 | - | head = char.Head |
14 | + | local function fakeEvent() |
15 | - | lshold = char["LeftUpperArm"].LeftShoulder |
15 | + | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} |
16 | - | rshold = char["RightUpperArm"].RightShoulder |
16 | + | t.connect = t.Connect |
17 | - | lelbow = char["LeftLowerArm"].LeftElbow |
17 | + | return t |
18 | - | relbow = char["RightLowerArm"].RightElbow |
18 | + | |
19 | - | lelbo = lelbow.C0 |
19 | + | |
20 | - | relbo = relbow.C0 |
20 | + | --Creating fake input objects with fake variables |
21 | - | rsho = rshold.C0 |
21 | + | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} |
22 | - | lsho = lshold.C0 |
22 | + | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} |
23 | - | jumping = false |
23 | + | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) |
24 | - | chipmesh = "" |
24 | + | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil |
25 | - | rad = math.rad |
25 | + | end} |
26 | - | firec = 'Deep orange' |
26 | + | --Merged 2 functions into one by checking amount of arguments |
27 | - | shield = false |
27 | + | CAS.UnbindAction = CAS.BindAction |
28 | - | disguise = "" |
28 | + | |
29 | - | slam = false |
29 | + | --This function will trigger the events that have been :Connect()'ed |
30 | - | ff=Instance.new('ForceField', char) |
30 | + | local function te(self,ev,...) |
31 | - | ff.Visible = false |
31 | + | local t = m[ev] |
32 | - | numb = Instance.new('NumberValue') |
32 | + | if t and t._fakeEvent then |
33 | - | numb.Name = 'IceVal' |
33 | + | for _,f in pairs(t.Functions) do |
34 | - | dis = false |
34 | + | f(...) |
35 | - | neck = char.Head.Neck |
35 | + | |
36 | - | local ang = -5 |
36 | + | |
37 | - | local ang2 = -5 |
37 | + | |
38 | m.TrigEvent = te | |
39 | - | local change = 0.5 |
39 | + | UIS.TrigEvent = te |
40 | - | arm = 0 |
40 | + | |
41 | - | if char:FindFirstChild'Animate' then |
41 | + | Event.OnServerEvent:Connect(function(plr,io) |
42 | - | char:FindFirstChild'Animate':Destroy() |
42 | + | if plr~=rp then return end |
43 | m.Target = io.Target | |
44 | - | hum.Animator.Parent = nil |
44 | + | m.Hit = io.Hit |
45 | - | nec = neck.C0 |
45 | + | if not io.isMouse then |
46 | - | punch = false |
46 | + | local b = io.UserInputState == Enum.UserInputState.Begin |
47 | - | spikek = false |
47 | + | if io.UserInputType == Enum.UserInputType.MouseButton1 then |
48 | - | cooldown = true |
48 | + | return m:TrigEvent(b and "Button1Down" or "Button1Up") |
49 | - | random = math.random |
49 | + | |
50 | - | mainc = char.Head.BrickColor |
50 | + | for _,t in pairs(CAS.Actions) do |
51 | - | chip = false |
51 | + | for _,k in pairs(t.Keys) do |
52 | - | colr = char.Head.BrickColor |
52 | + | if k==io.KeyCode then |
53 | - | mainf = char.Head.face.Texture |
53 | + | t.Function(t.Name,io.UserInputState,io) |
54 | - | wings = false |
54 | + | |
55 | - | face = mainf |
55 | + | |
56 | - | lleg = char["LeftUpperLeg"].LeftHip |
56 | + | |
57 | - | rleg = char["RightUpperLeg"].RightHip |
57 | + | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) |
58 | - | rle = rleg.C0 |
58 | + | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) |
59 | - | lle = lleg.C0 |
59 | + | |
60 | - | lkk = char['LeftLowerLeg'].LeftKnee |
60 | + | end) |
61 | - | rkk = char['RightLowerLeg'].RightKnee |
61 | + | Event.Parent = NLS([==[ |
62 | - | rootp = char.HumanoidRootPart.CFrame |
62 | + | local Player = game:GetService("Players").LocalPlayer |
63 | - | lk = lkk.C0 |
63 | + | local Event = script:WaitForChild("UserInput_Event") |
64 | - | rk = rkk.C0 |
64 | + | |
65 | - | ice = "" |
65 | + | local Mouse = Player:GetMouse() |
66 | - | torso = char:FindFirstChild('UpperTorso') |
66 | + | local UIS = game:GetService("UserInputService") |
67 | - | butf = false |
67 | + | local input = function(io,a) |
68 | - | previ = "" |
68 | + | if a then return end |
69 | - | jir = false |
69 | + | --Since InputObject is a client-side instance, we create and pass table instead |
70 | - | legslamm = false |
70 | + | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) |
71 | - | waist = torso.Waist |
71 | + | |
72 | - | wais = waist.C0 |
72 | + | UIS.InputBegan:Connect(input) |
73 | - | rtorso = char.LowerTorso.Root |
73 | + | UIS.InputEnded:Connect(input) |
74 | - | rtors = rtorso.C0 |
74 | + | |
75 | - | float = false |
75 | + | local h,t |
76 | - | signs = false |
76 | + | --Give the server mouse data 30 times every second, but only if the values changed |
77 | - | fold = Instance.new('Folder', char) |
77 | + | --If player is not moving their mouse, client won't fire events |
78 | - | sat = false |
78 | + | while wait(1/30) do |
79 | - | asdasd = false |
79 | + | if h~=Mouse.Hit or t~=Mouse.Target then |
80 | - | rootpart = root |
80 | + | h,t=Mouse.Hit,Mouse.Target |
81 | - | fly = false |
81 | + | Event:FireServer({isMouse=true,Target=t,Hit=h}) |
82 | - | fire = false |
82 | + | |
83 | - | canfly = false |
83 | + | end]==],Player.Character) |
84 | - | pcd = true |
84 | + | |
85 | - | stop = false |
85 | + | ----Sandboxed game object that allows the usage of client-side methods and services |
86 | --Real game object | |
87 | - | mode = "None" |
87 | + | local _rg = game |
88 | - | firemode = false |
88 | + | |
89 | - | icemode = false |
89 | + | --Metatable for fake service |
90 | - | bothmode = false |
90 | + | local fsmt = { |
91 | - | nonemode = true |
91 | + | __index = function(self,k) |
92 | local s = rawget(self,"_RealService") | |
93 | - | speed = 50 |
93 | + | if s then return s[k] end |
94 | - | bend = 35 |
94 | + | end, |
95 | - | idle = false |
95 | + | __newindex = function(self,k,v) |
96 | local s = rawget(self,"_RealService") | |
97 | - | color = 'Baby blue' |
97 | + | if s then s[k]=v end |
98 | end, | |
99 | - | tfreeze = {} |
99 | + | __call = function(self,...) |
100 | local s = rawget(self,"_RealService") | |
101 | - | slidecolors = { |
101 | + | if s then return s(...) end |
102 | - | 'Baby blue', |
102 | + | |
103 | - | 'Bright red' |
103 | + | } |
104 | local function FakeService(t,RealService) | |
105 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
106 | - | freezed = {} |
106 | + | return setmetatable(t,fsmt) |
107 | - | freez = {} |
107 | + | |
108 | - | burnt = {} |
108 | + | |
109 | - | ices = {} |
109 | + | --Fake game object |
110 | - | spike = {} |
110 | + | local g = { |
111 | GetService = function(self,s) | |
112 | - | local Head = char.Head |
112 | + | return self[s] |
113 | - | local plr = game.Players.LocalPlayer |
113 | + | end, |
114 | - | local chr = plr.Character |
114 | + | Players = FakeService({ |
115 | - | local RightUpperArm = chr["RightUpperArm"] |
115 | + | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) |
116 | - | local LeftUpperArm = chr["LeftUpperArm"] |
116 | + | },"Players"), |
117 | - | local LeftUpperLeg = chr["LeftUpperLeg"] |
117 | + | UserInputService = FakeService(UIS,"UserInputService"), |
118 | - | local RightUpperLeg = chr["RightUpperLeg"] |
118 | + | ContextActionService = FakeService(CAS,"ContextActionService"), |
119 | - | local UpperTorso = chr["UpperTorso"] |
119 | + | } |
120 | - | local LowerTorso = chr["LowerTorso"] |
120 | + | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) |
121 | - | local HRP = chr["HumanoidRootPart"] |
121 | + | g.service = g.GetService |
122 | - | local RightLowerArm = chr["RightLowerArm"] |
122 | + | |
123 | - | local RightLowerLeg = chr["RightLowerLeg"] |
123 | + | g.RunService = FakeService({ |
124 | - | local LeftLowerLeg = chr["LeftLowerLeg"] |
124 | + | RenderStepped = _rg:GetService("RunService").Heartbeat, |
125 | - | local LeftLowerArm = chr["LeftLowerArm"] |
125 | + | BindToRenderStep = function(self,name,_,fun) |
126 | - | LN = LeftLowerLeg:FindFirstChild("LeftKnee") |
126 | + | self._btrs[name] = self.Heartbeat:Connect(fun) |
127 | - | RN = RightLowerLeg:FindFirstChild("RightKnee") |
127 | + | end, |
128 | - | RH = RightUpperLeg:FindFirstChild("RightHip") |
128 | + | UnbindFromRenderStep = function(self,name) |
129 | - | LH = LeftUpperLeg:FindFirstChild("LeftHip") |
129 | + | self._btrs[name]:Disconnect() |
130 | - | LE = LeftLowerArm:FindFirstChild("LeftElbow") |
130 | + | end, |
131 | - | LS = LeftUpperArm:FindFirstChild("LeftShoulder") |
131 | + | },"RunService") |
132 | - | RS = RightUpperArm:FindFirstChild("RightShoulder") |
132 | + | |
133 | - | RE = RightLowerArm:FindFirstChild("RightElbow") |
133 | + | setmetatable(g,{ |
134 | - | Waist = UpperTorso:FindFirstChild("Waist") |
134 | + | __index=function(self,s) |
135 | - | local lfoot = char['LeftFoot'].LeftAnkle |
135 | + | return _rg:GetService(s) or typeof(_rg[s])=="function" |
136 | - | local rfoot = char['RightFoot'].RightAnkle |
136 | + | and function(_,...)return _rg[s](_rg,...)end or _rg[s] |
137 | - | local lf = lfoot.C0 |
137 | + | end, |
138 | - | local rf = rfoot.C0 |
138 | + | __newindex = fsmt.__newindex, |
139 | - | local LeftFoot = chr["LeftFoot"] |
139 | + | __call = fsmt.__call |
140 | - | RAA = LeftFoot:FindFirstChild("LeftAnkle") |
140 | + | }) |
141 | - | local RightFoot = chr["RightFoot"] |
141 | + | --Changing owner to fake player object to support owner:GetMouse() |
142 | - | RAA = RightFoot:FindFirstChild("RightAnkle") |
142 | + | game,owner = g,g.Players.LocalPlayer |
143 | - | local Root = char.LowerTorso.Root |
143 | + | |
144 | - | LHc0 = LH.C0 |
144 | + | |
145 | - | RHc0 = RH.C0 |
145 | + | |
146 | - | LSc0 = LS.C0 |
146 | + | |
147 | - | RSc0 = RS.C0 |
147 | + | wait(2) |
148 | - | neck0 = neck.C0 |
148 | + | Player = game.Players.LocalPlayer |
149 | - | Rootc0 = Root.C0 |
149 | + | Mouse = Player:GetMouse() |
150 | - | Waistc0 = Waist.C0 |
150 | + | Character = Player.Character |
151 | Humanoid = Character.Humanoid | |
152 | - | --// Sound effects |
152 | + | local Idle = false |
153 | local rad = math.rad | |
154 | - | local s5 = Instance.new('Sound', char.LeftFoot) -- walk (grass) |
154 | + | local attack = false |
155 | - | s5.Volume = 6 |
155 | + | local attacktype = 1 |
156 | - | s5.SoundId = "rbxassetid://429617891" |
156 | + | local hitted = false |
157 | - | s5.Looped = true |
157 | + | Character:FindFirstChild'Animate':Destroy() |
158 | Humanoid.WalkSpeed = 5 | |
159 | - | local s6 = Instance.new('Sound', char.LeftFoot) -- walk (metals) |
159 | + | Humanoid.Animator.Parent = nil |
160 | - | s6.Volume = 6 |
160 | + | Character.Shirt.ShirtTemplate = "rbxassetid://274888950" |
161 | - | s6.SoundId = "rbxassetid://174216216" |
161 | + | Character.Pants.PantsTemplate = "rbxassetid://274889075" |
162 | - | s6.Looped = true |
162 | + | Character.Head.face.Texture = "rbxassetid://461020415" |
163 | Instance.new("ForceField",Character).Visible = false | |
164 | - | local s7 = Instance.new('Sound', char.LeftFoot) -- walk (sand) |
164 | + | Humanoid.JumpPower = 120 |
165 | - | s7.Volume = 6 |
165 | + | Humanoid.BodyDepthScale.Value = 1 |
166 | - | s7.SoundId = "rbxassetid://336575096" |
166 | + | Humanoid.BodyHeightScale.Value = 1.10 |
167 | - | s7.Looped = true |
167 | + | Humanoid.BodyWidthScale.Value = 1.03 |
168 | Humanoid.HeadScale.Value = 1 | |
169 | - | local s8 = Instance.new('Sound', char.LeftFoot) -- walk (ice) |
169 | + | Humanoid.MaxHealth = 5000 |
170 | - | s8.Volume = 6 |
170 | + | wait(0.01) |
171 | - | s8.SoundId = "rbxassetid://138214900" |
171 | + | Humanoid.Health = 5000 |
172 | - | s8.Looped = true |
172 | + | v3 = Vector3.new |
173 | bc = BrickColor.new | |
174 | - | local s12 = Instance.new('Sound', char.LeftFoot) -- walk (metal) |
174 | + | |
175 | - | s12.Volume = 6 |
175 | + | |
176 | - | s12.SoundId = "rbxassetid://549006073" |
176 | + | |
177 | - | s12.Looped = true |
177 | + | for i,v in pairs(Character:children()) do |
178 | if v:IsA("Hat") then | |
179 | - | local s13 = Instance.new('Sound', char.LeftFoot) -- walk (bricks and stuff) |
179 | + | v:Destroy() |
180 | - | s13.Volume = 6 |
180 | + | |
181 | - | s13.SoundId = "rbxassetid://156659098" |
181 | + | |
182 | - | s13.Looped = true |
182 | + | for i,v in pairs(Character:children()) do |
183 | if v:IsA("Accessory") then | |
184 | - | local s14 = Instance.new('Sound', char.LeftFoot) -- walk (carpet) |
184 | + | v:Destroy() |
185 | - | s14.Volume = 9 |
185 | + | |
186 | - | s14.SoundId = "rbxassetid://133705377" |
186 | + | |
187 | - | s14.Looped = true |
187 | + | for i,v in pairs(Character:children()) do |
188 | if v:IsA("Hair") then | |
189 | - | --// fly |
189 | + | v:Destroy() |
190 | end | |
191 | end | |
192 | - | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) |
192 | + | |
193 | - | bv.velocity = mouse.Hit.lookVector * 100 |
193 | + | --This controls the framerate the script runs at. (make sure to keep it at 1/60 for 60 animation) |
194 | ||
195 | - | local bg = Instance.new("BodyGyro") |
195 | + | |
196 | - | bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge) |
196 | + | |
197 | - | bg.P = 10000 |
197 | + | |
198 | - | bg.D = 100 |
198 | + | ArtificialHB = Instance.new("BindableEvent", script) |
199 | ArtificialHB.Name = "Heartbeat" | |
200 | - | --// Outfit |
200 | + | |
201 | script:WaitForChild("Heartbeat") | |
202 | - | hum.WalkSpeed = 12 |
202 | + | |
203 | frame = 1 / 60 | |
204 | - | for _, a in pairs(char:children()) do |
204 | + | tf = 0 |
205 | - | if a:IsA('Pants') or a:IsA('Shirt') or a:IsA('CharacterMesh') or a:IsA('Accessory') then |
205 | + | allowframeloss = false |
206 | - | a:Destroy() |
206 | + | tossremainder = false |
207 | lastframe = tick() | |
208 | script.Heartbeat:Fire() | |
209 | ||
210 | - | bc = char:FindFirstChild('Body Colors') |
210 | + | game:GetService("RunService").Heartbeat:connect(function(s, p) |
211 | - | bc.HeadColor = BrickColor.new('Light orange') |
211 | + | tf = tf + s |
212 | - | bc.LeftArmColor = BrickColor.new('Light orange') |
212 | + | if tf >= frame then |
213 | - | bc.RightArmColor = BrickColor.new('Light orange') |
213 | + | if allowframeloss then |
214 | - | bc.LeftLegColor = BrickColor.new('Light orange') |
214 | + | script.Heartbeat:Fire() |
215 | - | bc.RightLegColor = BrickColor.new('Light orange') |
215 | + | lastframe = tick() |
216 | - | bc.TorsoColor = BrickColor.new('Light orange') |
216 | + | else |
217 | for i = 1, math.floor(tf / frame) do | |
218 | - | local p1 = Instance.new('Part', char) |
218 | + | script.Heartbeat:Fire() |
219 | - | p1.Anchored = false |
219 | + | end |
220 | - | p1.CanCollide = false |
220 | + | lastframe = tick() |
221 | - | p1.BrickColor = BrickColor.new('Rust') |
221 | + | end |
222 | - | local w = Instance.new('Weld', p1) |
222 | + | if tossremainder then |
223 | - | w.Part0 = p1 |
223 | + | tf = 0 |
224 | - | w.Part1 = char:FindFirstChild'Head' |
224 | + | else |
225 | - | w.C0 = CFrame.new(.23,-.4,-0.2) * CFrame.Angles(rad(0),rad(0),rad(0)) |
225 | + | tf = tf - frame * math.floor(tf / frame) |
226 | - | local m1 = Instance.new('SpecialMesh', p1) |
226 | + | end |
227 | - | m1.MeshId = "rbxassetid://62246019" |
227 | + | end |
228 | - | m1.TextureId = "rbxassetid://56350922" |
228 | + | |
229 | - | m1.Scale = Vector3.new(.62,0.7,.85) |
229 | + | |
230 | function swait(num) | |
231 | - | local p1 = Instance.new('Part', char) |
231 | + | if num == 0 or num == nil then |
232 | - | p1.Anchored = false |
232 | + | ArtificialHB.Event:wait() |
233 | - | p1.CanCollide = false |
233 | + | else |
234 | - | p1.BrickColor = BrickColor.new('Rust') |
234 | + | for i = 0, num do |
235 | - | local w = Instance.new('Weld', p1) |
235 | + | ArtificialHB.Event:wait() |
236 | - | w.Part0 = p1 |
236 | + | end |
237 | - | w.Part1 = char:FindFirstChild'Head' |
237 | + | end |
238 | - | w.C0 = CFrame.new(-.23,-.4,-0.2) * CFrame.Angles(rad(0),rad(0),rad(0)) |
238 | + | |
239 | - | local m1 = Instance.new('SpecialMesh', p1) |
239 | + | |
240 | - | m1.MeshId = "rbxassetid://62246019" |
240 | + | ---------------------------------------------------body |
241 | - | m1.TextureId = "rbxassetid://267233089" |
241 | + | local LeftUpperArm = Character.LeftUpperArm |
242 | - | m1.Scale = Vector3.new(.62,0.7,0.85) |
242 | + | local LeftShoulder = Character.LeftUpperArm.LeftShoulder |
243 | local LeftLowerArm = Character.LeftLowerArm | |
244 | - | char.Head:FindFirstChild('face').Texture = "rbxassetid://882767153" |
244 | + | local LeftElbow = Character.LeftLowerArm.LeftElbow |
245 | -------------------------------------------------------- | |
246 | - | local s = Instance.new('Shirt', char) |
246 | + | local LeftUpperLeg = Character.LeftUpperLeg |
247 | - | s.ShirtTemplate = "rbxassetid://941881045" |
247 | + | local LeftHip = Character.LeftUpperLeg.LeftHip |
248 | - | local p2 = Instance.new('Pants', char) |
248 | + | local LeftLowerLeg = Character.LeftLowerLeg |
249 | - | p2.PantsTemplate = "rbxassetid://982585123" |
249 | + | local LeftKnee = Character.LeftLowerLeg.LeftKnee |
250 | ---------------------------------------------------------- | |
251 | - | local HBill = Instance.new("BillboardGui", char.Head) |
251 | + | local RightUpperArm = Character.RightUpperArm |
252 | - | local HMain, HBarBack, HBar = Instance.new("Frame", HBill), Instance.new("Frame"), Instance.new("Frame") |
252 | + | local RightShoulder = Character.RightUpperArm.RightShoulder |
253 | - | local HHealth, HName = Instance.new("TextLabel", HBarBack), Instance.new("TextLabel") |
253 | + | local RightLowerArm = Character.RightLowerArm |
254 | - | HBill.Size = UDim2.new(15,0,2.2,0) |
254 | + | local RightElbow = Character.RightLowerArm.RightElbow |
255 | - | HBill.Name = "Display" |
255 | + | ---------------------------------------------------------- |
256 | - | HBill.StudsOffset = Vector3.new(0,3.5,0) |
256 | + | local RightUpperLeg = Character.RightUpperLeg |
257 | - | HBill.AlwaysOnTop = false |
257 | + | local RightHip = Character.RightUpperLeg.RightHip |
258 | - | HBill.MaxDistance = 50 |
258 | + | local RightLowerLeg = Character.RightLowerLeg |
259 | - | HBill.Enabled = true |
259 | + | local RightKnee = Character.RightLowerLeg.RightKnee |
260 | - | HMain.BackgroundColor3 = BrickColor.new("Really black").Color |
260 | + | ---------------------------------------------------------- |
261 | - | HMain.BackgroundTransparency = 0.8 |
261 | + | local UpperTorso = Character.UpperTorso |
262 | - | HMain.Size = UDim2.new(1,0,1,0) |
262 | + | local LowerTorso = Character.LowerTorso |
263 | - | HBarBack.Parent = HMain |
263 | + | local Root = Character.LowerTorso.Root |
264 | - | HBarBack.BackgroundColor3 = Color3.new(0,255,0) |
264 | + | -------------------------------------------- |
265 | - | HBarBack.BorderColor3 = Color3.new(0,0,0) |
265 | + | local Head = Character.Head |
266 | - | HBarBack.BorderSizePixel = .25 |
266 | + | local Neck = Character.Head.Neck |
267 | - | HBarBack.BackgroundTransparency = .5 |
267 | + | local RootPart = Character.HumanoidRootPart |
268 | - | HBarBack.Position = UDim2.new(.025, 0, .55, 0) |
268 | + | local LeftHand = Character.LeftHand |
269 | - | HBarBack.Size = UDim2.new(.95, 0, .3, 0) |
269 | + | local RightHand = Character.RightHand |
270 | - | HHealth.BackgroundTransparency = .7 |
270 | + | local LeftFoot = Character.LeftFoot |
271 | - | HHealth.Size = UDim2.new(1,0,1,0) |
271 | + | local RightFoot = Character.RightFoot |
272 | - | HHealth.Font = "SourceSansBold" |
272 | + | local Waist = Character.UpperTorso.Waist |
273 | - | HHealth.Text = "" |
273 | + | -------------------------------------------Aura |
274 | - | HHealth.TextScaled = true |
274 | + | local canfly1 = false |
275 | - | HHealth.TextColor3 = BrickColor.new("Really black").Color |
275 | + | local canfly = true |
276 | - | HHealth.TextStrokeTransparency = 1 |
276 | + | local flying1 = true |
277 | - | HName.Parent = HMain |
277 | + | --- |
278 | - | HName.BackgroundTransparency = 1 |
278 | + | local kicharging = false |
279 | - | HName.Size = UDim2.new(1,0,.7,0) |
279 | + | local ki = 100 |
280 | - | HName.Font = "SourceSansBold" |
280 | + | local kigo = 2.3 |
281 | - | HName.Text = "Shouto Todoroki" |
281 | + | --- |
282 | - | HName.TextScaled = true |
282 | + | |
283 | - | HName.TextColor3 = BrickColor.new("Cyan").Color |
283 | + | |
284 | - | HName.TextStrokeTransparency = 1 |
284 | + | local ColorsArray = {ColorSequenceKeypoint.new(0, Color3.new(0/255,170/255,255/255)),ColorSequenceKeypoint.new(1, Color3.new(0/255,170/255,255/255))} |
285 | - | HName.TextYAlignment = "Top" |
285 | + | |
286 | -- | |
287 | - | hum.MaxHealth = "inf" |
287 | + | function newRay(start,face,range,wat) |
288 | - | hum.Health = hum.MaxHealth |
288 | + | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) |
289 | hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
290 | - | --// Sfx |
290 | + | return rey,hit,pos |
291 | end | |
292 | - | local s1 = Instance.new('Sound', lleg.Parent) |
292 | + | |
293 | - | s1.SoundId = "rbxassetid://138210320" |
293 | + | --- |
294 | - | s1.Volume = 1 |
294 | + | local Hair = Instance.new("Part",Character) |
295 | Hair.Size = Vector3.new(1,1,1) | |
296 | - | local s2 = Instance.new('Sound', char.Head) |
296 | + | Hair.Material = "SmoothPlastic" |
297 | - | s2.SoundId = "rbxassetid://959349317" |
297 | + | Hair.BrickColor = BrickColor.new("Really black") |
298 | - | s2.Volume = 0 |
298 | + | Hair.CanCollide = false |
299 | - | s2.Looped = true |
299 | + | local Hair2 = Instance.new("SpecialMesh",Hair) |
300 | Hair2.MeshId = "rbxassetid://560180459" | |
301 | - | local s3 = Instance.new('Sound', char.RightHand) |
301 | + | Hair2.Scale = Vector3.new(6.7, 6.7, 6.7) |
302 | - | s3.SoundId = "rbxassetid://260433522" |
302 | + | local Hair3 = Instance.new("Weld",Hair) |
303 | - | s3.Volume = 1 |
303 | + | Hair3.Part0 = Character.Head |
304 | - | s3.Looped = false |
304 | + | Hair3.Part1 = Hair |
305 | Hair3.C0 = CFrame.new(0, 0.8, 0.64) | |
306 | - | local s4 = Instance.new('Sound', char.RightHand) |
306 | + | |
307 | - | s4.SoundId = "rbxassetid://304448425" |
307 | + | -- |
308 | - | s4.Volume = 1 |
308 | + | |
309 | - | s4.Looped = false |
309 | + | --- |
310 | ||
311 | - | --// Functions |
311 | + | local RbxUtility = LoadLibrary("RbxUtility") |
312 | local Create = RbxUtility.Create | |
313 | - | s2:Stop() |
313 | + | function RemoveOutlines(part) |
314 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
315 | end | |
316 | - | for i = 1,35 do |
316 | + | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) |
317 | - | wait() |
317 | + | if hit.Parent == nil then |
318 | - | s2.Volume = s2.Volume + 0.1 |
318 | + | return |
319 | end | |
320 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
321 | for _, v in pairs(hit.Parent:children()) do | |
322 | - | local fire1 = Instance.new("ParticleEmitter", char.LeftHand) |
322 | + | if v:IsA("Humanoid") then |
323 | - | fire1.Texture = "rbxassetid://160041569" |
323 | + | h = v |
324 | - | fire1.Rotation = NumberRange.new(4, 9) |
324 | + | |
325 | - | fire1.RotSpeed = NumberRange.new(5, 9) |
325 | + | end |
326 | - | fire1.Speed = NumberRange.new(5, 7) |
326 | + | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then |
327 | - | fire1.Lifetime = NumberRange.new(0.25, .28) |
327 | + | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then |
328 | - | fire1.Color = ColorSequence.new(BrickColor.new'Deep orange'.Color) |
328 | + | return |
329 | - | fire1.Rate = 200,300 |
329 | + | |
330 | - | fire1.Acceleration = Vector3.new( 8, 6, 6 ) |
330 | + | local c = Create("ObjectValue")({ |
331 | - | fire1.Transparency = NumberSequence.new(0, 0, 0, 0.13253, 0.54375, 0, 0.32092, 0.7375, 0, 0.387733, 0, 0, 0.468784 ,0.725, 0, 0.522453, 0.45625, 0, 0.615553, 0.6375, 0, 0.63965, 0 ,0, 0.744797, 0.525, 0 ,1, 0, 0 ) |
331 | + | Name = "creator", |
332 | - | fire1.LightEmission = 0.860 |
332 | + | Value = game:service("Players").LocalPlayer, |
333 | - | fire1.Size = NumberSequence.new(1) |
333 | + | Parent = h |
334 | - | fire1.LightInfluence = 0 |
334 | + | }) |
335 | - | fire1.SpreadAngle = Vector2.new(28, 28) |
335 | + | game:GetService("Debris"):AddItem(c, 0.5) |
336 | - | fire2 = fire1:Clone() |
336 | + | if HitSound ~= nil and HitPitch ~= nil then |
337 | - | fire2.Parent = char.LeftUpperArm |
337 | + | CreateSound(HitSound, hit, 1, HitPitch) |
338 | - | fire3 = fire1:Clone() |
338 | + | |
339 | - | fire3.Parent = char.LeftLowerArm |
339 | + | local Damage = math.random(minim, maxim) |
340 | local blocked = false | |
341 | - | fire1.Enabled = false |
341 | + | local block = hit.Parent:findFirstChild("Block") |
342 | - | fire2.Enabled = false |
342 | + | if block ~= nil and block.className == "IntValue" and block.Value > 0 then |
343 | - | fire3.Enabled = false |
343 | + | blocked = true |
344 | block.Value = block.Value - 1 | |
345 | - | local fx = Instance.new("ParticleEmitter", root) |
345 | + | print(block.Value) |
346 | - | fx.Texture = "http://www.roblox.com/asset/?id=258126401" |
346 | + | |
347 | - | fx.Color = ColorSequence.new(BrickColor.new'Light bluish green'.Color) |
347 | + | if blocked == false then |
348 | - | fx.Rotation = NumberRange.new(-180, 180) |
348 | + | h.Health = h.Health - Damage |
349 | - | fx.RotSpeed = NumberRange.new(-50, 50) |
349 | + | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) |
350 | - | fx.Speed = NumberRange.new(0) |
350 | + | else |
351 | - | fx.Lifetime = NumberRange.new(0.625, 0.75) |
351 | + | h.Health = h.Health - Damage / 2 |
352 | - | fx.Rate = 62.500 |
352 | + | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) |
353 | - | fx.Transparency = NumberSequence.new(.5) |
353 | + | |
354 | - | fx.LightEmission = .5 |
354 | + | if Type == "Knockdown" then |
355 | - | fx.Size = NumberSequence.new(0, 0.75, 0, 1, 1.25, 0.25) |
355 | + | local hum = hit.Parent.Humanoid |
356 | - | fx.LightInfluence = 0 |
356 | + | hum.PlatformStand = true |
357 | - | fx.Enabled = false |
357 | + | coroutine.resume(coroutine.create(function(HHumanoid) |
358 | - | fx.SpreadAngle = Vector2.new(150) |
358 | + | swait(1) |
359 | HHumanoid.PlatformStand = false | |
360 | - | local ice1 = Instance.new("ParticleEmitter", char.RightHand) |
360 | + | end), hum) |
361 | - | ice1.Texture = "rbxassetid://258128463" |
361 | + | local angle = hit.Position - Property.Position + Vector3.new(0, 0, 0).unit |
362 | - | ice1.Color = ColorSequence.new(Color3.new(0.756863, 0.913725, 0.980392),Color3.new(0.756863, 0.913725, 0.980392)) |
362 | + | local bodvol = Create("BodyVelocity")({ |
363 | - | ice1.Rotation = NumberRange.new(-180, 180) |
363 | + | velocity = angle * knockback, |
364 | - | ice1.RotSpeed = NumberRange.new(-90, 90) |
364 | + | P = 5000, |
365 | - | ice1.Speed = NumberRange.new(0) |
365 | + | maxForce = Vector3.new(8000, 8000, 8000), |
366 | - | ice1.Lifetime = NumberRange.new(0.25, 0.40000000596046) |
366 | + | Parent = hit |
367 | - | ice1.Rate = 50 |
367 | + | }) |
368 | - | ice1.Transparency = NumberSequence.new(.5) |
368 | + | local rl = Create("BodyAngularVelocity")({ |
369 | - | ice1.LightEmission = 0.125 |
369 | + | P = 3000, |
370 | - | ice1.Size = NumberSequence.new(.7, 1, .7) |
370 | + | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, |
371 | - | ice1.LightInfluence = 0 |
371 | + | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), |
372 | - | ice1.SpreadAngle = Vector2.new(150) |
372 | + | Parent = hit |
373 | - | ice2 = ice1:Clone() |
373 | + | }) |
374 | - | ice2.Parent = char.RightUpperArm |
374 | + | game:GetService("Debris"):AddItem(bodvol, 0.5) |
375 | - | ice3 = ice1:Clone() |
375 | + | game:GetService("Debris"):AddItem(rl, 0.5) |
376 | - | ice3.Parent = char.RightLowerArm |
376 | + | elseif Type == "Normal" then |
377 | local vp = Create("BodyVelocity")({ | |
378 | - | ice1.Enabled = false |
378 | + | P = 500, |
379 | - | ice2.Enabled = false |
379 | + | maxForce = Vector3.new(math.huge, 0, math.huge), |
380 | - | ice3.Enabled = false |
380 | + | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 |
381 | }) | |
382 | - | function ice(a) |
382 | + | if knockback > 0 then |
383 | - | local ice1 = Instance.new("ParticleEmitter", a) |
383 | + | vp.Parent = hit.Parent.Torso |
384 | - | ice1.Texture = "rbxassetid://258128463" |
384 | + | end |
385 | - | ice1.Color = ColorSequence.new(Color3.new(0.756863, 0.913725, 0.980392),Color3.new(0.756863, 0.913725, 0.980392)) |
385 | + | game:GetService("Debris"):AddItem(vp, 0.5) |
386 | - | ice1.Rotation = NumberRange.new(-180, 180) |
386 | + | elseif Type == "Impale" then |
387 | - | ice1.RotSpeed = NumberRange.new(-90, 90) |
387 | + | local Spike = CreateSpike(Services.Workspace, "Ice Spike", "Pastel light blue", Vector3.new(1, 1, 1), "Neon", 0.7, Vector3.new(1, 25, 1)) |
388 | - | ice1.Speed = NumberRange.new(0) |
388 | + | Spike.Anchored = true |
389 | - | ice1.Lifetime = NumberRange.new(0.25, 0.40000000596046) |
389 | + | Spike.Rotation = Vector3.new(math.random(-10, 10), 0, math.random(-10, 10)) |
390 | - | ice1.Rate = 50 |
390 | + | Spike.Position = hit.Parent.Torso.Position |
391 | - | ice1.Transparency = NumberSequence.new(.5) |
391 | + | for i = 1, 5 do |
392 | - | ice1.LightEmission = 0.125 |
392 | + | IcePartFunk(hit.Parent.Torso, 0.55, 0.1, 1) |
393 | - | ice1.Size = NumberSequence.new(.7, 1, .7) |
393 | + | end |
394 | - | ice1.LightInfluence = 0 |
394 | + | Services.Debris:AddItem(Spike, 4) |
395 | - | ice1.SpreadAngle = Vector2.new(150) |
395 | + | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", Spike, 0.8, 2) |
396 | hit.Parent.Humanoid.PlatformStand = true | |
397 | swait(1) | |
398 | - | function debris(a, c) |
398 | + | hit.Parent.Humanoid.PlatformStand = false |
399 | - | for j = 1, c do |
399 | + | elseif Type == "Up" then |
400 | - | wait() |
400 | + | local bodyVelocity = Create("BodyVelocity")({ |
401 | - | local pr = Instance.new("Part") |
401 | + | velocity = Vector3.new(0, 20, 0), |
402 | - | pr.Name = "" |
402 | + | P = 5000, |
403 | - | pr.Anchored = true |
403 | + | maxForce = Vector3.new(8000, 8000, 8000), |
404 | - | pr.BrickColor = BrickColor.new('Light bluish green') |
404 | + | Parent = hit |
405 | - | pr.CanCollide = true |
405 | + | }) |
406 | - | pr.Material = 'Ice' |
406 | + | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) |
407 | - | pr.Transparency = 0.25 |
407 | + | local bodyVelocity = Create("BodyVelocity")({ |
408 | - | pr.Size = Vector3.new(math.random(10, 14), math.random(40,60), math.random(10, 14)) |
408 | + | velocity = Vector3.new(0, 20, 0), |
409 | - | pr.CFrame = a * CFrame.Angles(0, math.rad(c * j), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1))) |
409 | + | P = 5000, |
410 | - | pr.Parent = workspace |
410 | + | maxForce = Vector3.new(8000, 8000, 8000), |
411 | - | game.Debris:AddItem(pr, 15) |
411 | + | Parent = hit |
412 | }) | |
413 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
414 | elseif Type == "Snare" then | |
415 | - | function firer(a) |
415 | + | local bp = Create("BodyPosition")({ |
416 | - | local fire1 = Instance.new("ParticleEmitter", a) |
416 | + | P = 900, |
417 | - | fire1.Texture = "rbxassetid://160041569" |
417 | + | D = 1000, |
418 | - | fire1.Rotation = NumberRange.new(4, 9) |
418 | + | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
419 | - | fire1.RotSpeed = NumberRange.new(5, 9) |
419 | + | position = hit.Parent.Torso.Position, |
420 | - | fire1.Speed = NumberRange.new(5, 7) |
420 | + | Parent = hit.Parent.Torso |
421 | - | fire1.Lifetime = NumberRange.new(0.2,0.6) |
421 | + | }) |
422 | - | fire1.Color = ColorSequence.new(BrickColor.new'Deep orange'.Color) |
422 | + | game:GetService("Debris"):AddItem(bp, 1) |
423 | - | fire1.Rate = 10000 |
423 | + | elseif Type == "Slowness" then |
424 | - | fire1.Acceleration = Vector3.new( 8, 6, 6 ) |
424 | + | local SpeedSave = hit.Parent.Humanoid.WalkSpeed |
425 | - | fire1.Transparency = NumberSequence.new(0, 0, 0, 0.13253, 0.54375, 0, 0.32092, 0.7375, 0, 0.387733, 0, 0, 0.468784 ,0.725, 0, 0.522453, 0.45625, 0, 0.615553, 0.6375, 0, 0.63965, 0 ,0, 0.744797, 0.525, 0 ,1, 0, 0 ) |
425 | + | for i = 1, 25 do |
426 | - | fire1.LightEmission = 0.860 |
426 | + | hit.Parent.Humanoid.WalkSpeed = 4 |
427 | - | fire1.Size = NumberSequence.new(1) |
427 | + | IcePartFunk(hit.Parent.Torso, 0.55, 0.1, 1) |
428 | - | fire1.LightInfluence = 0 |
428 | + | end |
429 | - | fire1.SpreadAngle = Vector2.new(28, 28) |
429 | + | wait(4) |
430 | hit.Parent.Humanoid.WalkSpeed = SpeedSave | |
431 | - | function fireit(a) |
431 | + | elseif Type == "FireDmg" then |
432 | - | local fire1 = Instance.new("ParticleEmitter", a) |
432 | + | for i = 1, math.random(60, 150) do |
433 | - | fire1.Texture = "rbxassetid://160041569" |
433 | + | BlockEffect(BrickColor.new("Really red"), hit.Parent.Torso.CFrame, 20, 20, 20, 1.5, 1.5, 1.5, 0.05, 3) |
434 | - | fire1.Rotation = NumberRange.new(5, 10) |
434 | + | BlockEffect(BrickColor.new("Gold"), hit.Parent.Torso.CFrame, 20, 20, 20, 2, 2, 2, 0.05, 3) |
435 | - | fire1.RotSpeed = NumberRange.new(3, 12) |
435 | + | BlockEffect(BrickColor.new("Really black"), hit.Parent.Torso.CFrame, 0, 0, 0, 2, 2, 2, 0.035, 3) |
436 | - | fire1.Speed = NumberRange.new(6, 12) |
436 | + | wait(0.1) |
437 | - | fire1.Lifetime = NumberRange.new(0.2,0.6) |
437 | + | MagniDamage(hit.Parent.Torso, 12304, 1, 8, 0, "Normal") |
438 | - | fire1.Color = ColorSequence.new(BrickColor.new('Deep orange').Color) |
438 | + | end |
439 | - | fire1.Rate = 100000 |
439 | + | elseif Type == "Freeze" then |
440 | - | fire1.Acceleration = Vector3.new( 0, 0, 10 ) |
440 | + | local bp = Create("BodyPosition")({ |
441 | - | fire1.Transparency = NumberSequence.new(0, 0, 0, 0.13253, 0.54375, 0, 0.32092, 0.7375, 0, 0.387733, 0, 0, 0.468784 ,0.725, 0, 0.522453, 0.45625, 0, 0.615553, 0.6375, 0, 0.63965, 0 ,0, 0.744797, 0.525, 0 ,1, 0, 0 ) |
441 | + | P = 900, |
442 | - | fire1.LightEmission = 1 |
442 | + | D = 1000, |
443 | - | fire1.Size = NumberSequence.new(1.5) |
443 | + | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
444 | - | fire1.LightInfluence = 0 |
444 | + | position = hit.Parent.Torso.Position, |
445 | - | fire1.SpreadAngle = Vector2.new(1,1) |
445 | + | Parent = hit.Parent.Torso |
446 | - | return fireit |
446 | + | }) |
447 | game:GetService("Debris"):AddItem(bp, 4) | |
448 | - | function ic(a) |
448 | + | for i = 1, 25 do |
449 | - | local fire1 = Instance.new("ParticleEmitter", a) |
449 | + | IcePartFunk(hit.Parent.Torso, 1, 1.5, 2) |
450 | - | fire1.Texture = "http://www.roblox.com/asset/?id=258126401" |
450 | + | end |
451 | - | fire1.Color = ColorSequence.new(BrickColor.new'Light bluish green'.Color) |
451 | + | elseif Type == "Freeze2" then |
452 | - | fire1.Rotation = NumberRange.new(-180, 180) |
452 | + | local BodPos = Create("BodyPosition")({ |
453 | - | fire1.RotSpeed = NumberRange.new(-50, 50) |
453 | + | P = 50000, |
454 | - | fire1.Speed = NumberRange.new(0) |
454 | + | D = 1000, |
455 | - | fire1.Lifetime = NumberRange.new(0.625, 0.75) |
455 | + | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
456 | - | fire1.Rate = 62.500 |
456 | + | position = hit.Parent.Torso.Position, |
457 | - | fire1.Transparency = NumberSequence.new(.5) |
457 | + | Parent = hit.Parent.Torso |
458 | - | fire1.LightEmission = .5 |
458 | + | }) |
459 | - | fire1.Size = NumberSequence.new(0, 0.75, 0, 1, 1.25, 0.25) |
459 | + | local BodGy = Create("BodyGyro")({ |
460 | - | fire1.LightInfluence = 0 |
460 | + | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, |
461 | - | fire1.SpreadAngle = Vector2.new(150) |
461 | + | P = 20000, |
462 | Parent = hit.Parent.Torso, | |
463 | cframe = hit.Parent.Torso.CFrame | |
464 | - | local sous = {} |
464 | + | }) |
465 | - | function scan(p) |
465 | + | hit.Parent.Torso.Anchored = true |
466 | - | coroutine.resume(coroutine.create(function() |
466 | + | coroutine.resume(coroutine.create(function(Part) |
467 | - | for _,v in pairs(p:GetChildren()) do |
467 | + | swait(1.5) |
468 | - | if v:IsA("BodyVelocity") or v:IsA('BodyPosition') or v:IsA('BodyGyro') then |
468 | + | Part.Anchored = false |
469 | - | v:Destroy() |
469 | + | end), hit.Parent.Torso) |
470 | - | end |
470 | + | game:GetService("Debris"):AddItem(BodPos, 3) |
471 | - | scan(v) |
471 | + | game:GetService("Debris"):AddItem(BodGy, 3) |
472 | end | |
473 | - | end)) |
473 | + | local debounce = Create("BoolValue")({ |
474 | Name = "DebounceHit", | |
475 | - | |
475 | + | Parent = hit.Parent, |
476 | - | function tw(string) |
476 | + | Value = true |
477 | }) | |
478 | - | if mode == "Fire" then |
478 | + | game:GetService("Debris"):AddItem(debounce, Delay) |
479 | - | HHealth.TextColor3 = BrickColor.new("Crimson").Color |
479 | + | c = Instance.new("ObjectValue") |
480 | - | elseif mode == "Ice" then |
480 | + | c.Name = "creator" |
481 | - | HHealth.TextColor3 = BrickColor.new("Baby blue").Color |
481 | + | c.Value = Player |
482 | c.Parent = h | |
483 | - | HHealth.TextColor3 = BrickColor.new("Institutional white").Color |
483 | + | game:GetService("Debris"):AddItem(c, 0.5) |
484 | end | |
485 | - | local String = string |
485 | + | |
486 | - | local Length = string.len(String) |
486 | + | function ShowDamage(Pos, Text, Time, Color) |
487 | local Rate = 0.033333333333333 | |
488 | - | for i=1,Length do |
488 | + | if not Pos then |
489 | - | wait(.05) |
489 | + | local Pos = Vector3.new(0, 0, 0) |
490 | - | HHealth.Text = string.sub(String,1,i) |
490 | + | end |
491 | local Text = Text or "" | |
492 | - | wait(.3) |
492 | + | local Time = Time or 2 |
493 | - | HHealth.Text = "" |
493 | + | if not Color then |
494 | local Color = Color3.new(1, 0, 1) | |
495 | end | |
496 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
497 | - | tw('Created by Humans') |
497 | + | EffectPart.Anchored = true |
498 | local BillboardGui = Create("BillboardGui")({ | |
499 | - | function firestream() |
499 | + | Size = UDim2.new(3, 0, 3, 0), |
500 | - | for i = 1,40 do |
500 | + | Adornee = EffectPart, |
501 | - | for i = 1,30 do |
501 | + | Parent = EffectPart |
502 | - | neck.C0 = neck.C0:lerp(CFrame.new(0,0.8,0)*CFrame.Angles(rad(0),rad(6.646),rad(0)),.03) |
502 | + | }) |
503 | - | LS.C0 = LS.C0:lerp(CFrame.new(-0.9,0.5,.05)*CFrame.Angles(rad(90.126),rad(0),rad(0)),.03) |
503 | + | local TextLabel = Create("TextLabel")({ |
504 | - | LE.C0 = LE.C0:lerp(CFrame.new(-0,-0.3,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.03) |
504 | + | BackgroundTransparency = 1, |
505 | - | RS.C0 = RS.C0:lerp(CFrame.new(0.9,0.5,.05)*CFrame.Angles(rad(-2.693),rad(-27.617),rad(85.313)),.03) |
505 | + | Size = UDim2.new(1, 0, 1, 0), |
506 | - | RE.C0 = RE.C0:lerp(CFrame.new(-0,-0.3,0)*CFrame.Angles(rad(90.699),rad(1.49),rad(0)),.03) |
506 | + | Text = Text, |
507 | - | Waist.C0 = Waist.C0:lerp(CFrame.new(-0,0.6,0)*CFrame.Angles(rad(0),rad(-4.526),rad(0)),.03) |
507 | + | TextColor3 = Color, |
508 | - | LH.C0 = LH.C0:lerp(CFrame.new(0, -0.275, 0.046)*CFrame.Angles(rad(80.501),rad(0),rad(0)),0.1) |
508 | + | TextScaled = true, |
509 | - | RH.C0 = RH.C0:lerp(CFrame.new(0.082, -0.038, 0.23)*CFrame.Angles(rad(-20.798),rad(9.339),rad(22.231)),0.1) |
509 | + | Font = Enum.Font.ArialBold, |
510 | - | LN.C0 = LN.C0:lerp(CFrame.new(0,-0.35,0)*CFrame.Angles(rad(-82.506),rad(0),rad(0)),0.1) |
510 | + | Parent = BillboardGui |
511 | - | RN.C0 = RN.C0:lerp(CFrame.new(0,-0.35,0)*CFrame.Angles(rad(-27.617),rad(0),rad(0)),0.1) |
511 | + | }) |
512 | - | LowerTorso.Root.C0 = LowerTorso.Root.C0:lerp(CFrame.new(0, -0.094, 0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05) |
512 | + | game.Debris:AddItem(EffectPart, Time + 0.1) |
513 | - | end |
513 | + | EffectPart.Parent = game:GetService("Workspace") |
514 | - | end |
514 | + | delay(0, function() |
515 | - | wait(1) |
515 | + | local Frames = Time / Rate |
516 | - | fireit(char["LeftUpperArm"]) |
516 | + | for Frame = 1, Frames do |
517 | - | wait(1) |
517 | + | wait(Rate) |
518 | - | fireit(char["LeftLowerArm"]) |
518 | + | local Percent = Frame / Frames |
519 | - | wait(1) |
519 | + | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) |
520 | - | fireit(char["LeftHand"]) |
520 | + | TextLabel.TextTransparency = Percent |
521 | - | local s = .05 |
521 | + | |
522 | - | for i=1, 30 do |
522 | + | if EffectPart and EffectPart.Parent then |
523 | - | local flame = Instance.new("Part", char) |
523 | + | EffectPart:Destroy() |
524 | - | flame.Name = "StreamOfFlames" |
524 | + | |
525 | - | flame.Touched:connect(function(hit) |
525 | + | end) |
526 | - | if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent.Name ~= plr.Name then |
526 | + | |
527 | - | hit.Parent:BreakJoints() |
527 | + | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) |
528 | - | firer(hit) |
528 | + | for _, c in pairs(workspace:children()) do |
529 | local hum = c:findFirstChild("Humanoid") | |
530 | - | end) |
530 | + | if hum ~= nil then |
531 | - | flame.Transparency = 1 |
531 | + | local head = c:findFirstChild("Head") |
532 | - | flame.Size = Vector3.new(5, 5, 5) |
532 | + | if head ~= nil then |
533 | - | flame.CanCollide = true |
533 | + | local targ = head.Position - Part.Position |
534 | - | flame.CFrame = char["LeftHand"].CFrame + Vector3.new(0,1,0) |
534 | + | local mag = targ.magnitude |
535 | - | flame.Anchored = false |
535 | + | if magni >= mag and c.Name ~= Player.Name then |
536 | - | fireit(flame) |
536 | + | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1) |
537 | - | flame.ParticleEmitter.Size = NumberSequence.new(10, 14, 10, 16, 18) |
537 | + | |
538 | - | local bv = Instance.new("BodyVelocity", flame) |
538 | + | end |
539 | - | bv.Velocity = plr:GetMouse().Hit.lookVector * 50 |
539 | + | |
540 | - | bv.MaxForce = Vector3.new(1e8, 7.5, 1e8) |
540 | + | end |
541 | - | wait(.2) |
541 | + | |
542 | function MagniKILL(Part, magni, knock, Type) | |
543 | - | wait(1) |
543 | + | for _, c in pairs(workspace:children()) do |
544 | - | for i,v in pairs(char:GetChildren())do |
544 | + | local hum = c:findFirstChild("Humanoid") |
545 | - | if v.Name == "LeftHand" or v.Name == "LeftUpperArm" or v.Name == "LeftLowerArm" then |
545 | + | if hum ~= nil then |
546 | - | for i,a in pairs(v:GetChildren())do |
546 | + | local head = c:findFirstChild("Head") |
547 | - | if a:IsA("ParticleEmitter") then |
547 | + | if head ~= nil then |
548 | - | if a.LightEmission == 1 then |
548 | + | local targ = head.Position - Part.Position |
549 | - | a:Destroy() |
549 | + | local mag = targ.magnitude |
550 | if magni >= mag and c.Name ~= Player.Name then | |
551 | hum.Health = 0 | |
552 | end | |
553 | end | |
554 | - | if v.Name == "StreamOfFlames" then |
554 | + | |
555 | - | v:Destroy() |
555 | + | end |
556 | end | |
557 | local angles = CFrame.Angles | |
558 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
559 | local Part = Create("Part")({ | |
560 | - | function firemove() |
560 | + | formFactor = FormFactor, |
561 | - | fire1.Enabled = true |
561 | + | Parent = Parent, |
562 | - | fire2.Enabled = true |
562 | + | Reflectance = Reflectance, |
563 | - | fire3.Enabled = true |
563 | + | Transparency = Transparency, |
564 | - | wait(.6) |
564 | + | CanCollide = false, |
565 | - | for i = 0,1,0.1 do |
565 | + | Locked = true, |
566 | - | wait() |
566 | + | BrickColor = BrickColor.new(tostring(BColor)), |
567 | - | lshold.C0 = lshold.C0:lerp(lsho*CFrame.new(0.036, -0.178, -0.051) * CFrame.Angles(math.rad(78), 0, math.rad(25)),i) |
567 | + | Name = Name, |
568 | - | rshold.C0 = rshold.C0:lerp(rsho*CFrame.new(-0.143, -0.209, -0.185) * CFrame.Angles(math.rad(78), math.rad(-3), math.rad(-25)),i) |
568 | + | Size = Size, |
569 | - | lelbow.C0 = lelbow.C0:lerp(lelbo*CFrame.Angles(0, 0, math.rad(26)),i) |
569 | + | Material = Material |
570 | - | relbow.C0 = relbow.C0:lerp(relbo*CFrame.Angles(0, 0, math.rad(-26)),i) |
570 | + | }) |
571 | RemoveOutlines(Part) | |
572 | - | local fball = Instance.new('Part', char) |
572 | + | return Part |
573 | - | firer(fball) |
573 | + | |
574 | - | fball.Touched:connect(function(hit) |
574 | + | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
575 | - | if hit.Parent and hit and hit.Parent.Name ~= plr.Name and hit.Parent:FindFirstChildOfClass'Humanoid' then |
575 | + | local Msh = Create(Mesh)({ |
576 | - | local targ = hit.Parent |
576 | + | Parent = Part, |
577 | - | local humtarg = targ:FindFirstChildOfClass'Humanoid' |
577 | + | Offset = OffSet, |
578 | - | targ:BreakJoints() |
578 | + | Scale = Scale |
579 | - | local _t = 0 |
579 | + | }) |
580 | - | repeat |
580 | + | if Mesh == "SpecialMesh" then |
581 | - | wait(.3) |
581 | + | Msh.MeshType = MeshType |
582 | - | local _p = fball:Clone() |
582 | + | Msh.MeshId = MeshId |
583 | - | if _p:FindFirstChild("BodyVelocity") then |
583 | + | end |
584 | - | _p.BodyVelocity.Velocity = Vector3.new(math.random(-360, 360),math.random(-360, 360),math.random(-360, 360)) |
584 | + | return Msh |
585 | - | end |
585 | + | |
586 | - | if _p:FindFirstChildOfClass("ParticleEmitter") then |
586 | + | function CreateWeld(Parent, Part0, Part1, C0, C1) |
587 | - | _p:FindFirstChildOfClass("ParticleEmitter").Size = NumberSequence.new(.1) |
587 | + | local Weld = Create("Weld")({ |
588 | - | end |
588 | + | Parent = Parent, |
589 | - | _p.Size = (_p.Size/3) |
589 | + | Part0 = Part0, |
590 | - | _p.Transparency = .5 |
590 | + | Part1 = Part1, |
591 | - | until _t == 20 |
591 | + | C0 = C0, |
592 | C1 = C1 | |
593 | - | end) |
593 | + | }) |
594 | - | fball.Name = 'fireball' |
594 | + | return Weld |
595 | - | fball.Size = Vector3.new(0.1,0.1,0.1) |
595 | + | |
596 | - | fball.Shape = 'Ball' |
596 | + | EffectModel = Instance.new("Model", Character) |
597 | - | fball.BrickColor = BrickColor.new'Crimson' |
597 | + | EffectModel.Name = "Effects" |
598 | - | fball.TopSurface = 0 |
598 | + | Effects = { |
599 | - | fball.BottomSurface = 0 |
599 | + | Block = { |
600 | - | fball.Anchored = false |
600 | + | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) |
601 | - | fball.CanCollide = false |
601 | + | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
602 | - | fball.Material = 'Slate' |
602 | + | prt.Anchored = true |
603 | - | local w = Instance.new('Weld', char) |
603 | + | prt.CFrame = cframe |
604 | - | w.Name = 'itsjustaweldbro' |
604 | + | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
605 | - | w.Part0 = fball |
605 | + | game:GetService("Debris"):AddItem(prt, 10) |
606 | - | w.Part1 = char.LeftHand |
606 | + | if Type == 1 or Type == nil then |
607 | - | w.C0 = CFrame.new(0,-0.5,0) |
607 | + | table.insert(Effects, { |
608 | - | for i = 1,25 do |
608 | + | prt, |
609 | - | fball.Size = fball.Size + Vector3.new(.0225,.0225,.0225) |
609 | + | "Block1", |
610 | - | local w = Instance.new('Weld', char) |
610 | + | delay, |
611 | - | w.Name = 'itsjustaweldbro' |
611 | + | x3, |
612 | - | w.Part0 = fball |
612 | + | y3, |
613 | - | w.Part1 = char.LeftHand |
613 | + | z3, |
614 | - | w.C0 = CFrame.new(0,1.25,0) |
614 | + | msh |
615 | - | wait() |
615 | + | }) |
616 | elseif Type == 2 then | |
617 | - | wait(.8) |
617 | + | table.insert(Effects, { |
618 | - | s4:Play() |
618 | + | prt, |
619 | - | for _, a in pairs(char:children()) do |
619 | + | "Block2", |
620 | - | if a:IsA('Weld') then |
620 | + | delay, |
621 | - | a:Destroy() |
621 | + | x3, |
622 | y3, | |
623 | z3, | |
624 | - | local siz = 1 |
624 | + | msh |
625 | - | local bv = Instance.new("BodyVelocity") |
625 | + | }) |
626 | - | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) |
626 | + | else |
627 | - | bv.velocity = mouse.Hit.lookVector * 50 |
627 | + | table.insert(Effects, { |
628 | - | bv.Parent = fball |
628 | + | prt, |
629 | - | wait(1) |
629 | + | "Block3", |
630 | - | for i = 1,25 do |
630 | + | delay, |
631 | - | wait() |
631 | + | x3, |
632 | - | fball:FindFirstChildOfClass'ParticleEmitter'.Size = NumberSequence.new(siz) |
632 | + | y3, |
633 | - | fball.Size = fball.Size + Vector3.new(2,2,2) |
633 | + | z3, |
634 | - | bv.velocity = mouse.Hit.lookVector * 50 |
634 | + | msh |
635 | - | siz = siz + 1 |
635 | + | }) |
636 | end | |
637 | - | fire1.Enabled = false |
637 | + | |
638 | - | fire2.Enabled = false |
638 | + | }, |
639 | - | fire3.Enabled = false |
639 | + | Sphere = { |
640 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
641 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
642 | - | function fmove() |
642 | + | prt.Anchored = true |
643 | - | local fire1 = Instance.new("ParticleEmitter", char.LeftHand) |
643 | + | prt.CFrame = cframe |
644 | - | fire1.Texture = "rbxassetid://160041569" |
644 | + | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
645 | - | fire1.Rotation = NumberRange.new(4, 9) |
645 | + | game:GetService("Debris"):AddItem(prt, 10) |
646 | - | fire1.RotSpeed = NumberRange.new(5, 9) |
646 | + | table.insert(Effects, { |
647 | - | fire1.Speed = NumberRange.new(5, 7) |
647 | + | prt, |
648 | - | fire1.Lifetime = NumberRange.new(0.2,2) |
648 | + | "Cylinder", |
649 | - | fire1.Color = ColorSequence.new(BrickColor.new'Deep orange'.Color) |
649 | + | delay, |
650 | - | fire1.Rate = 10000 |
650 | + | x3, |
651 | - | fire1.Acceleration = Vector3.new( 8, 6, 6 ) |
651 | + | y3, |
652 | - | fire1.Transparency = NumberSequence.new(0, 0, 0, 0.13253, 0.54375, 0, 0.32092, 0.7375, 0, 0.387733, 0, 0, 0.468784 ,0.725, 0, 0.522453, 0.45625, 0, 0.615553, 0.6375, 0, 0.63965, 0 ,0, 0.744797, 0.525, 0 ,1, 0, 0 ) |
652 | + | z3, |
653 | - | fire1.LightEmission = 0.860 |
653 | + | msh |
654 | - | fire1.Size = NumberSequence.new(5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100) |
654 | + | }) |
655 | - | fire1.LightInfluence = 0 |
655 | + | |
656 | - | fire1.SpreadAngle = Vector2.new(0) |
656 | + | }, |
657 | Cylinder = { | |
658 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
659 | - | function hit(b) |
659 | + | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
660 | - | for _,v in pairs(workspace:children()) do |
660 | + | prt.Anchored = true |
661 | - | if v:IsA('Model') and v.Name ~= plr.Name and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChildOfClass("Humanoid") then |
661 | + | prt.CFrame = cframe |
662 | - | if (v.HumanoidRootPart.Position-ice.Position).magnitude <=b then |
662 | + | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
663 | - | if not hit.Parent:FindFirstChild'IceVal' then |
663 | + | game:GetService("Debris"):AddItem(prt, 10) |
664 | - | local targ = v |
664 | + | table.insert(Effects, { |
665 | - | table.insert(freezed,v) |
665 | + | prt, |
666 | - | local b = numb:Clone() |
666 | + | "Cylinder", |
667 | - | b.Parent = targ |
667 | + | delay, |
668 | - | local humtarg = targ:FindFirstChildOfClass'Humanoid' |
668 | + | x3, |
669 | - | humtarg.WalkSpeed = 0 |
669 | + | y3, |
670 | - | humtarg.JumpPower = 0 |
670 | + | z3, |
671 | - | local a = p:Clone() |
671 | + | msh |
672 | - | game:service'Debris':AddItem(a,7) |
672 | + | }) |
673 | - | a.Parent = char |
673 | + | |
674 | - | a.Shape = 'Block' |
674 | + | }, |
675 | - | a.Size = Vector3.new(2.56, 1, 2) |
675 | + | Wave = { |
676 | - | if targ:FindFirstChild'Torso' then |
676 | + | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
677 | - | a.CFrame = targ.Torso.CFrame * CFrame.new(0,-2.5,0) |
677 | + | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
678 | - | elseif targ:FindFirstChild'UpperTorso' then |
678 | + | prt.Anchored = true |
679 | - | a.CFrame = targ.HumanoidRootPart.CFrame * CFrame.new(0,-2.5,0) |
679 | + | prt.CFrame = cframe |
680 | - | end |
680 | + | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
681 | - | end |
681 | + | game:GetService("Debris"):AddItem(prt, 10) |
682 | - | end |
682 | + | table.insert(Effects, { |
683 | prt, | |
684 | "Cylinder", | |
685 | delay, | |
686 | x3, | |
687 | - | function freeze() |
687 | + | y3, |
688 | - | ice1.Enabled = true |
688 | + | z3, |
689 | - | ice2.Enabled = true |
689 | + | msh |
690 | - | ice3.Enabled = true |
690 | + | }) |
691 | - | hum.WalkSpeed = 0 |
691 | + | |
692 | - | hum.JumpPower = 0 |
692 | + | }, |
693 | - | local p = Instance.new('Part', char) |
693 | + | Ring = { |
694 | - | ice(p) |
694 | + | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
695 | - | p.Touched:connect(function(hit) |
695 | + | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
696 | - | if hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' and hit.Parent.Name ~= plr.Name then |
696 | + | prt.Anchored = true |
697 | - | if not hit.Parent:FindFirstChild'IceVal' then |
697 | + | prt.CFrame = cframe |
698 | - | local targ = hit.Parent |
698 | + | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
699 | - | table.insert(freezed,targ) |
699 | + | game:GetService("Debris"):AddItem(prt, 10) |
700 | - | local b = numb:Clone() |
700 | + | table.insert(Effects, { |
701 | - | b.Parent = targ |
701 | + | prt, |
702 | - | local humtarg = targ:FindFirstChildOfClass'Humanoid' |
702 | + | "Cylinder", |
703 | - | humtarg.WalkSpeed = 0 |
703 | + | delay, |
704 | - | humtarg.JumpPower = 0 |
704 | + | x3, |
705 | - | local a = p:Clone() |
705 | + | y3, |
706 | - | game:service'Debris':AddItem(a,7) |
706 | + | z3, |
707 | - | a.Parent = char |
707 | + | msh |
708 | - | a.Shape = 'Block' |
708 | + | }) |
709 | - | a.Size = Vector3.new(2.56, 1, 2) |
709 | + | |
710 | - | if targ:FindFirstChild'Torso' then |
710 | + | }, |
711 | - | a.CFrame = targ.Torso.CFrame * CFrame.new(0,-2.5,0) |
711 | + | Break = { |
712 | - | elseif targ:FindFirstChild'UpperTorso' then |
712 | + | Create = function(brickcolor, cframe, x1, y1, z1) |
713 | - | a.CFrame = targ.HumanoidRootPart.CFrame * CFrame.new(0,-2.5,0) |
713 | + | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) |
714 | - | end |
714 | + | prt.Anchored = true |
715 | - | end |
715 | + | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) |
716 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
717 | - | end) |
717 | + | local num = math.random(10, 50) / 1000 |
718 | - | game:service'Debris':AddItem(p,9) |
718 | + | game:GetService("Debris"):AddItem(prt, 10) |
719 | - | p.Anchored = true |
719 | + | table.insert(Effects, { |
720 | - | p.CanCollide = false |
720 | + | prt, |
721 | - | p.Shape = 'Cylinder' |
721 | + | "Shatter", |
722 | - | p.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,-2.3,0) * CFrame.Angles(0,0,rad(-90)) |
722 | + | num, |
723 | - | p.Size = Vector3.new(0.2,0,0.2) |
723 | + | prt.CFrame, |
724 | - | p.BrickColor = BrickColor.new('Light bluish green') |
724 | + | math.random() - math.random(), |
725 | - | p.Material = 'Ice' |
725 | + | 0, |
726 | - | for i = 0,1,0.1 do |
726 | + | math.random(50, 100) / 100 |
727 | - | wait() |
727 | + | }) |
728 | - | rtorso.C0 = rtorso.C0:lerp(rtors*CFrame.new(0, -0.887, 0.2) * CFrame.Angles(math.rad(-9.74), 0, 0),i) |
728 | + | |
729 | - | waist.C0 = waist.C0:lerp(wais*CFrame.new(0, -0.118, -0.201) * CFrame.Angles(math.rad(-55.634), 0, 0),i) |
729 | + | } |
730 | - | lshold.C0 = lshold.C0:lerp(lsho*CFrame.new(0, -0.11, -0.375) * CFrame.Angles(math.rad(73.625), 0, 0),i) |
730 | + | |
731 | - | rshold.C0 = rshold.C0:lerp(rsho*CFrame.new(0, -0.308, -0.164) * CFrame.Angles(math.rad(69.5), 0, 0),i) |
731 | + | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) |
732 | - | neck.C0 = neck.C0:lerp(nec*CFrame.Angles(math.rad(57.124), 0, 0),i) |
732 | + | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) |
733 | - | lleg.C0 = lleg.C0:lerp(lle*CFrame.Angles(math.rad(17.991), 0, 0),i) |
733 | + | prt.Anchored = true |
734 | - | rleg.C0 = rleg.C0:lerp(rle*CFrame.Angles(math.rad(3.094), 0, 0),i) |
734 | + | prt.CFrame = cframe |
735 | - | lkk.C0 = lkk.C0:lerp(lk*CFrame.Angles(math.rad(-108.977), 0, 0),i) |
735 | + | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
736 | - | rkk.C0 = rkk.C0:lerp(rk*CFrame.new(0, -0.02, -0.057) * CFrame.Angles(math.rad(-104.622), 0, 0),i) |
736 | + | game:GetService("Debris"):AddItem(prt, 10) |
737 | if Type == 1 or Type == nil then | |
738 | - | for i = 1,150 do |
738 | + | table.insert(Effects, { |
739 | - | wait() |
739 | + | prt, |
740 | - | p.Size = p.Size + Vector3.new(0,3,3) |
740 | + | "Block1", |
741 | - | p.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,-2.3,0) * CFrame.Angles(0,0,rad(-90)) |
741 | + | delay, |
742 | x3, | |
743 | - | for i = 0,1,0.08 do |
743 | + | y3, |
744 | - | wait() |
744 | + | z3, |
745 | - | rtorso.C0 = rtorso.C0:lerp(rtors,i) |
745 | + | msh |
746 | - | waist.C0 = waist.C0:lerp(wais,i) |
746 | + | }) |
747 | - | lshold.C0 = lshold.C0:lerp(lsho,i) |
747 | + | elseif Type == 2 then |
748 | - | rshold.C0 = rshold.C0:lerp(rsho,i) |
748 | + | table.insert(Effects, { |
749 | - | neck.C0 = neck.C0:lerp(nec,i) |
749 | + | prt, |
750 | - | lleg.C0 = lleg.C0:lerp(lle,i) |
750 | + | "Block2", |
751 | - | rleg.C0 = rleg.C0:lerp(rle,i) |
751 | + | delay, |
752 | - | lkk.C0 = lkk.C0:lerp(lk,i) |
752 | + | x3, |
753 | - | rkk.C0 = rkk.C0:lerp(rk,i) |
753 | + | y3, |
754 | z3, | |
755 | - | for _, a in pairs(freezed) do |
755 | + | msh |
756 | - | wait(.05) |
756 | + | }) |
757 | - | if a:FindFirstChildOfClass'NumberValue' then |
757 | + | elseif Type == 3 then |
758 | - | a:FindFirstChildOfClass'NumberValue':Destroy() |
758 | + | table.insert(Effects, { |
759 | prt, | |
760 | - | a:FindFirstChildOfClass'Humanoid'.WalkSpeed = 16 |
760 | + | "Block3", |
761 | - | a:FindFirstChildOfClass'Humanoid'.JumpPower = 56 |
761 | + | delay, |
762 | x3, | |
763 | - | hum.WalkSpeed = 12 |
763 | + | y3, |
764 | - | hum.JumpPower = 50 |
764 | + | z3, |
765 | - | wait(4) |
765 | + | msh |
766 | - | for _, a in pairs(freezed) do |
766 | + | }) |
767 | - | wait(.05) |
767 | + | end |
768 | - | if a:FindFirstChildOfClass'NumberValue' then |
768 | + | |
769 | - | a:FindFirstChildOfClass'NumberValue':Destroy() |
769 | + | function CreateSound(id, par, vol, pit) |
770 | coroutine.resume(coroutine.create(function() | |
771 | - | a:FindFirstChildOfClass'Humanoid'.WalkSpeed = 16 |
771 | + | local sou = Instance.new("Sound", par or workspace) |
772 | - | a:FindFirstChildOfClass'Humanoid'.JumpPower = 56 |
772 | + | sou.Volume = vol |
773 | sou.Pitch = pit or 1 | |
774 | sou.SoundId = id | |
775 | swait() | |
776 | - | function legslam() |
776 | + | sou:play() |
777 | - | legslamm = true |
777 | + | game:GetService("Debris"):AddItem(sou, 6) |
778 | - | for i = 0,1,0.1 do |
778 | + | end)) |
779 | - | wait() |
779 | + | |
780 | - | neck.C0 = neck.C0:lerp(nec*CFrame.Angles(rad(12), 0, 0),i) |
780 | + | function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
781 | - | rleg.C0 = rleg.C0:lerp(rle*CFrame.new(0, 0.57, -0.725) * CFrame.Angles(math.rad(11.23), 0, 0),i) |
781 | + | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) |
782 | prt.Anchored = true | |
783 | - | for i = 0,1,0.1 do |
783 | + | prt.CFrame = cframe |
784 | - | wait() |
784 | + | prt.Material = "Neon" |
785 | - | neck.C0 = neck.C0:lerp(nec*CFrame.Angles(math.rad(-20), 0, 0),i) |
785 | + | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
786 | - | rleg.C0 = rleg.C0:lerp(rle*CFrame.new(0, 0.134, -0.71),i) |
786 | + | game:GetService("Debris"):AddItem(prt, 10) |
787 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
788 | - | s1:Play() |
788 | + | for i = 0, 6, delay do |
789 | - | wait(.5) |
789 | + | swait() |
790 | - | for i = 0,1,0.1 do |
790 | + | Part.Transparency = i |
791 | - | wait() |
791 | + | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) |
792 | - | neck.C0 = neck.C0:lerp(nec,i) |
792 | + | |
793 | - | rleg.C0 = rleg.C0:lerp(rle,i) |
793 | + | Part.Parent = nil |
794 | end), prt, msh) | |
795 | - | legslamm=false |
795 | + | |
796 | ||
797 | ||
798 | - | function icemove() |
798 | + | function shoottraildd(mouse, partt, SpreadAmount, dmg) ---effects |
799 | - | debris(char:FindFirstChild('HumanoidRootPart').CFrame,15) |
799 | + | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) |
800 | local MainPos = partt.Position | |
801 | local MainPos2 = mouse + SpreadVectors | |
802 | - | function spikes() |
802 | + | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) |
803 | - | local a = 10 |
803 | + | local speed = 1000 |
804 | - | local face = "" |
804 | + | local num = 1 |
805 | - | local b = .2 |
805 | + | coroutine.resume(coroutine.create(function() |
806 | - | local c = 8 |
806 | + | repeat |
807 | - | legslam() |
807 | + | swait() |
808 | - | wait(0.2) |
808 | + | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) |
809 | - | for i = 1,12 do |
809 | + | local mag =(MainPos - pos).magnitude |
810 | - | local p = Instance.new('Part', char) |
810 | + | Laser(BrickColor.new("New Yeller"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -2.175, 0, -2.175, 0.15) |
811 | - | ice(p) |
811 | + | MainPos = MainPos + MouseLook.lookVector * speed |
812 | - | p.Name = 'Spike' |
812 | + | num = num - 1 |
813 | - | table.insert(spike,p) |
813 | + | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) |
814 | - | local m = Instance.new('SpecialMesh', p) |
814 | + | if hit ~= nil then |
815 | - | m.MeshId = 'rbxassetid://1033714' |
815 | + | num = 0 |
816 | - | m.Scale = Vector3.new(5, 54, 5) |
816 | + | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) |
817 | - | p.BrickColor = BrickColor.new('Light bluish green') |
817 | + | refpart.Anchored = true |
818 | - | p.Material = 'Ice' |
818 | + | refpart.CFrame = CFrame.new(pos) |
819 | - | p.Anchored = true |
819 | + | game:GetService("Debris"):AddItem(refpart, 2) |
820 | - | p.CanCollide = false |
820 | + | end |
821 | - | p.Size = Vector3.new(5,20,5) |
821 | + | if num <= 0 then |
822 | - | p.Position = char.HumanoidRootPart.Position + char.HumanoidRootPart.CFrame.lookVector * a |
822 | + | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) |
823 | - | p.Position = p.Position + Vector3.new(0,-27,0) |
823 | + | refpart.Anchored = true |
824 | - | p.Touched:connect(function(hit) |
824 | + | refpart.CFrame = CFrame.new(pos) |
825 | - | if hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' then |
825 | + | if hit ~= nil then |
826 | - | hit.Parent:Destroy() |
826 | + | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1) |
827 | - | end |
827 | + | BlockEffect(BrickColor.new("New Yeller"), refpart.CFrame, 1, 1, 1, 6.5, 6.5, 6.5, 0.05) |
828 | - | end) |
828 | + | BlockEffect(BrickColor.new("Gold"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05) |
829 | - | a = a + 10 |
829 | + | BlockEffect(BrickColor.new("New Yeller"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05) |
830 | - | for i = 1,8 do |
830 | + | MagniDamage(refpart, 40, dmg, dmg, 0, "FireDmg") |
831 | - | wait() |
831 | + | |
832 | - | p.Position = p.Position + Vector3.new(0,b,0) |
832 | + | game:GetService("Debris"):AddItem(refpart, 0) |
833 | - | b = b + .03 |
833 | + | end |
834 | until num <= 0 | |
835 | end)) | |
836 | - | b = .2 |
836 | + | |
837 | - | wait(4) |
837 | + | function shoottraildd2(mouse, partt, SpreadAmount) |
838 | - | for _, a in pairs(spike) do |
838 | + | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) |
839 | - | for i = 1,20 do |
839 | + | local MainPos = partt.Position |
840 | - | wait(.05) |
840 | + | local MainPos2 = mouse + SpreadVectors |
841 | - | a.CFrame = a.CFrame * CFrame.new(0,-b,0) |
841 | + | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) |
842 | - | b = b + .08 |
842 | + | local speed = 1000 |
843 | local num = 1 | |
844 | coroutine.resume(coroutine.create(function() | |
845 | - | spike = {} |
845 | + | repeat |
846 | - | b = .2 |
846 | + | swait() |
847 | - | for _, a in pairs(char:children()) do |
847 | + | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) |
848 | - | if a.Name == 'Spike' and a:IsA'Part' then |
848 | + | local mag = (MainPos - pos).magnitude |
849 | - | a:Destroy() |
849 | + | Laser(BrickColor.new("New Yeller"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -8.175, 0, -8.175, 0.15) |
850 | MainPos = MainPos + MouseLook.lookVector * speed | |
851 | num = num - 1 | |
852 | - | |
852 | + | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) |
853 | if hit ~= nil then | |
854 | - | function slide() |
854 | + | num = 0 |
855 | - | for i = 0,1,0.1 do |
855 | + | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) |
856 | - | wait() |
856 | + | refpart.Anchored = true |
857 | - | neck.C0 = neck.C0:lerp(CFrame.new(0,0.8,0)*CFrame.Angles(rad(0),rad(11.287),rad(0)),i) |
857 | + | refpart.CFrame = CFrame.new(pos) |
858 | - | LS.C0 = LS.C0:lerp(CFrame.new(-1.2,0.5,.05)*CFrame.Angles(rad(76.375),rad(4.412),rad(-19.939)),i) |
858 | + | game:GetService("Debris"):AddItem(refpart, 2) |
859 | - | LE.C0 = LE.C0:lerp(CFrame.new(-0,-0.3,0)*CFrame.Angles(rad(12.605),rad(0),rad(0)),i) |
859 | + | end |
860 | - | RS.C0 = RS.C0:lerp(CFrame.new(1.2,0.5,.05)*CFrame.Angles(rad(-43.602),rad(-26.814),rad(46.696)),i) |
860 | + | if num <= 0 then |
861 | - | RE.C0 = RE.C0:lerp(CFrame.new(-0,-0.3,0)*CFrame.Angles(rad(84.454),rad(0),rad(0)),i) |
861 | + | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) |
862 | - | Waist.C0 = Waist.C0:lerp(CFrame.new(-0,0.6,0)*CFrame.Angles(rad(0),rad(-8.881),rad(0)),i) |
862 | + | refpart.Anchored = true |
863 | - | LH.C0 = LH.C0:lerp(CFrame.new(-0.5,-0.35,0)*CFrame.Angles(rad(14.553),rad(35.294),rad(-6.016)),i) |
863 | + | refpart.CFrame = CFrame.new(pos) |
864 | - | RH.C0 = RH.C0:lerp(CFrame.new(0.5,-0.35,0)*CFrame.Angles(rad(0),rad(-8.193),rad(13.178)),i) |
864 | + | if hit ~= nil then |
865 | - | LN.C0 = LN.C0:lerp(CFrame.new(0,-0.35,0)*CFrame.Angles(rad(-11.86),rad(0),rad(0)),i) |
865 | + | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1) |
866 | - | RN.C0 = RN.C0:lerp(CFrame.new(0,-0.35,0)*CFrame.Angles(rad(-20.111),rad(0),rad(0)),i) |
866 | + | BlockEffect(BrickColor.new("New Yeller"), refpart.CFrame, 1, 1, 1, 86.5, 86.5, 86.5, 0.05) |
867 | - | LowerTorso.Root.C0 = LowerTorso.Root.C0:lerp(CFrame.new(-0,0,0)*CFrame.Angles(rad(0),rad(-19.824),rad(0)),i) |
867 | + | BlockEffect(BrickColor.new("Gold"), refpart.CFrame, 1, 1, 1, 87, 87, 87, 0.05) |
868 | BlockEffect(BrickColor.new("New Yeller"), refpart.CFrame, 1, 1, 1, 87, 87, 87, 0.05) | |
869 | - | hum.WalkSpeed = 0 |
869 | + | MagniKILL(refpart, 80, 0, "Normal") |
870 | - | for i = 1,65 do |
870 | + | |
871 | - | wait(.05) |
871 | + | game:GetService("Debris"):AddItem(refpart, 0) |
872 | - | local ap = Instance.new('Part', char) |
872 | + | end |
873 | - | ap.Anchored = true |
873 | + | until num <= 0 |
874 | - | ap.CanCollide = false |
874 | + | end)) |
875 | - | ap.Size = Vector3.new(0.2,0.2,0.2) |
875 | + | |
876 | - | ap.Transparency = 1 |
876 | + | function shoottraildd22(mouse, partt, SpreadAmount) |
877 | - | ap.Position = rootpart.Position + rootpart.CFrame.lookVector * 2 |
877 | + | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) |
878 | - | rootpart.CFrame = ap.CFrame |
878 | + | local MainPos = partt.Position |
879 | - | local spart = Instance.new('Part', char) |
879 | + | local MainPos2 = mouse + SpreadVectors |
880 | - | table.insert(ices,spart) |
880 | + | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) |
881 | - | spart.Touched:connect(function(hit) |
881 | + | local speed = 900 |
882 | - | if hit and mode == "Ice" and hit.Parent.Name ~= plr.Name and hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' then |
882 | + | local num = 1 |
883 | - | local targ = hit.Parent |
883 | + | coroutine.resume(coroutine.create(function() |
884 | - | table.insert(tfreeze,targ) |
884 | + | repeat |
885 | - | local humtarg = targ:FindFirstChildOfClass'Humanoid' |
885 | + | swait() |
886 | - | humtarg.WalkSpeed = humtarg.WalkSpeed/2 |
886 | + | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) |
887 | - | end |
887 | + | local mag = (MainPos - pos).magnitude |
888 | - | end) |
888 | + | Laser(BrickColor.new("New Yeller"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -8.175, 0, -8.175, 0.15) |
889 | - | spart.Name = 'IceSlide' |
889 | + | MainPos = MainPos + MouseLook.lookVector * speed |
890 | - | spart.CanCollide = false |
890 | + | num = num - 1 |
891 | - | spart.Material = 'Neon' |
891 | + | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) |
892 | - | spart.Anchored = true |
892 | + | if hit ~= nil then |
893 | - | spart.Size = Vector3.new(5, 0.05, 5) |
893 | + | num = 0 |
894 | - | spart.BrickColor = BrickColor.new(color) |
894 | + | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) |
895 | - | spart.CFrame = rootpart.CFrame * CFrame.new(0,-2.3,0) * CFrame.Angles(0,math.random(1,500),0) |
895 | + | refpart.Anchored = true |
896 | - | if mode == "Both" then |
896 | + | refpart.CFrame = CFrame.new(pos) |
897 | - | local s = Instance.new("Smoke", spart) |
897 | + | game:GetService("Debris"):AddItem(refpart, 2) |
898 | - | s.Opacity = .8 |
898 | + | end |
899 | - | s.Size = 2.5 |
899 | + | if num <= 0 then |
900 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
901 | refpart.Anchored = true | |
902 | - | hum.WalkSpeed = 12 |
902 | + | refpart.CFrame = CFrame.new(pos) |
903 | - | for i = 1,25 do |
903 | + | if hit ~= nil then |
904 | - | wait() |
904 | + | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1) |
905 | - | for _, a in pairs(ices) do |
905 | + | BlockEffect(BrickColor.new("Gold"), refpart.CFrame, 1, 1, 1, 86.5, 86.5, 86.5, 0.05) |
906 | - | a.Transparency = a.Transparency + 0.1 |
906 | + | BlockEffect(BrickColor.new("New Yeller"), refpart.CFrame, 1, 1, 1, 87, 87, 87, 0.05) |
907 | - | end |
907 | + | BlockEffect(BrickColor.new("Gold"), refpart.CFrame, 1, 1, 1, 87, 87, 87, 0.05) |
908 | MagniKILL(refpart, 80, 0, "Normal") | |
909 | - | for _, a in pairs(ices) do |
909 | + | |
910 | - | a:Destroy() |
910 | + | game:GetService("Debris"):AddItem(refpart, 0) |
911 | end | |
912 | - | for _, a in pairs(tfreeze) do |
912 | + | until num <= 0 |
913 | - | a:FindFirstChildOfClass'Humanoid'.WalkSpeed = 16 |
913 | + | end)) |
914 | end | |
915 | - | tfreeze = {} |
915 | + | function shoottraildd3(mouse, partt, SpreadAmount, dmg) |
916 | - | bg.Parent = script |
916 | + | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) |
917 | local MainPos = partt.Position | |
918 | local MainPos2 = mouse + SpreadVectors | |
919 | - | function flyy() |
919 | + | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) |
920 | - | fire1.Enabled = true |
920 | + | local speed = 200 |
921 | - | fire2.Enabled = false |
921 | + | local num = 0 |
922 | - | fire3.Enabled = false |
922 | + | coroutine.resume(coroutine.create(function() |
923 | - | ice1.Enabled = true |
923 | + | repeat |
924 | - | ice2.Enabled = true |
924 | + | swait() |
925 | - | ice3.Enabled = true |
925 | + | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) |
926 | - | bg.Parent = root |
926 | + | local mag = (MainPos - pos).magnitude |
927 | - | bv.Parent = root |
927 | + | Laser(BrickColor.new("White"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.375, 0, -0.375, 0.05) |
928 | - | hum.Sit = true |
928 | + | MainPos = MainPos + MouseLook.lookVector * speed |
929 | num = num - 1 | |
930 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
931 | - | function unfly() |
931 | + | if hit ~= nil then |
932 | - | fire1.Enabled = false |
932 | + | num = 0 |
933 | - | fire2.Enabled = false |
933 | + | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) |
934 | - | fire3.Enabled = false |
934 | + | refpart.Anchored = true |
935 | - | ice1.Enabled = true |
935 | + | refpart.CFrame = CFrame.new(pos) |
936 | - | ice2.Enabled = true |
936 | + | BlockEffect(BrickColor.new("Pastel light blue"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05) |
937 | - | ice3.Enabled = true |
937 | + | game:GetService("Debris"):AddItem(refpart, 2) |
938 | - | fly = false |
938 | + | end |
939 | - | for i = 0,1,0.1 do |
939 | + | if num <= 0 then |
940 | - | wait() |
940 | + | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) |
941 | - | rtorso.C0 = rtorso.C0:lerp(rtors, 0.1) |
941 | + | refpart.Anchored = true |
942 | refpart.CFrame = CFrame.new(pos) | |
943 | - | bg.Parent = script |
943 | + | if hit ~= nil then |
944 | - | bv.Parent = script |
944 | + | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1) |
945 | - | hum.Sit = false |
945 | + | BlockEffect(BrickColor.new("White"), refpart.CFrame, 1, 1, 1, 6.5, 6.5, 6.5, 0.05) |
946 | BlockEffect(BrickColor.new("Pastel light blue"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05) | |
947 | MagniDamage(refpart, 6, dmg, dmg, 0, "Slowness") | |
948 | - | --// Keys |
948 | + | |
949 | game:GetService("Debris"):AddItem(refpart, 0) | |
950 | - | mouse.Button2Down:connect(function() |
950 | + | end |
951 | - | rclick = true |
951 | + | until num <= 0 |
952 | end)) | |
953 | end | |
954 | - | mouse.Button2Down:connect(function() |
954 | + | function shoottraildd4(mouse, partt, SpreadAmount, dmg) |
955 | - | rclick = false |
955 | + | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) |
956 | local MainPos = partt.Position | |
957 | local MainPos2 = mouse + SpreadVectors | |
958 | - | mouse.Button1Down:connect(function() |
958 | + | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) |
959 | - | if mouse.Target and cooldown and mouse.Target.Parent and mouse.Target.Parent:FindFirstChildOfClass'Humanoid' then |
959 | + | local speed = 500 |
960 | - | if mode == 'Ice' or mode == 'Both' then |
960 | + | local num = 1 |
961 | - | if not mouse.Target:FindFirstChild'Id' then |
961 | + | coroutine.resume(coroutine.create(function() |
962 | - | local targ = mouse.Target |
962 | + | repeat |
963 | - | table.insert(freez,targ.Parent) |
963 | + | swait() |
964 | - | local a = Instance.new('NumberValue', targ.Parent) |
964 | + | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) |
965 | - | a.Name = 'Id' |
965 | + | local mag = (MainPos - pos).magnitude |
966 | - | tw('FREEZE!') |
966 | + | Laser(BrickColor.new("New Yeller"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -1.175, 0, -1.175, 0.15) |
967 | - | fire = true |
967 | + | MainPos = MainPos + MouseLook.lookVector * speed |
968 | - | cooldown = false |
968 | + | num = num - 1 |
969 | - | for i = 0,1,0.1 do |
969 | + | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) |
970 | - | wait() |
970 | + | if hit ~= nil then |
971 | - | rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(math.rad(100), math.rad(0.63), math.rad(2.063)), 0.1) |
971 | + | num = 0 |
972 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
973 | - | wait(0.3) |
973 | + | refpart.Anchored = true |
974 | - | local p = Instance.new('Part', char) |
974 | + | refpart.CFrame = CFrame.new(pos) |
975 | - | s3:Play() |
975 | + | game:GetService("Debris"):AddItem(refpart, 2) |
976 | - | ice(p) |
976 | + | end |
977 | - | p.Anchored = false |
977 | + | if num <= 0 then |
978 | - | p.CanCollide = false |
978 | + | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) |
979 | - | p.Size = targ.Size + Vector3.new(0.1,0.1,0.1) |
979 | + | refpart.Anchored = true |
980 | - | p.Transparency = 0.5 |
980 | + | refpart.CFrame = CFrame.new(pos) |
981 | - | p.BrickColor = BrickColor.new'Light bluish green' |
981 | + | if hit ~= nil then |
982 | - | p.Material = 'Ice' |
982 | + | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1) |
983 | - | local w = Instance.new('Weld', p) |
983 | + | BlockEffect(BrickColor.new("New Yeller"), refpart.CFrame, 1, 1, 1, 6.5, 6.5, 6.5, 0.05) |
984 | - | w.Part0 = p |
984 | + | BlockEffect(BrickColor.new("New Yeller"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05) |
985 | - | w.Part1 = targ |
985 | + | BlockEffect(BrickColor.new("Gold"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05) |
986 | - | if targ.Parent:FindFirstChildOfClass'Humanoid' then |
986 | + | MagniDamage(refpart, 4, dmg, 40, 0, "Normal") |
987 | - | targ.Parent:FindFirstChildOfClass'Humanoid'.WalkSpeed = 0 |
987 | + | |
988 | - | targ.Parent:FindFirstChildOfClass'Humanoid'.JumpPower = 0 |
988 | + | game:GetService("Debris"):AddItem(refpart, 0) |
989 | end | |
990 | - | HHealth.Text = "" |
990 | + | until num <= 0 |
991 | - | for i = 0,1,0.1 do |
991 | + | end)) |
992 | - | wait() |
992 | + | |
993 | - | rshold.C0 = rshold.C0:lerp(rsho, 0.1) |
993 | + | |
994 | --- | |
995 | - | cooldown = true |
995 | + | tp = true |
996 | - | fire = false |
996 | + | Mouse.KeyDown:connect(function(key) |
997 | if key == "" then | |
998 | if tp == true then | |
999 | tp = true | |
1000 | Character.Head.face.Parent = game.Lighting | |
1001 | ||
1002 | - | mouse.Button1Down:connect(function() |
1002 | + | Character.HumanoidRootPart.CFrame = Mouse.Hit * CFrame.new(0, 3, 0) |
1003 | - | if mouse.Target and cooldown and mouse.Target.Parent and mouse.Target.Parent:FindFirstChildOfClass'Humanoid' then |
1003 | + | game.Lighting.face.Parent = Character.Head |
1004 | - | if mode == 'Fire' then |
1004 | + | wait(0) |
1005 | - | if not mouse.Target:FindFirstChild'Id' then |
1005 | + | |
1006 | - | local targ = mouse.Target |
1006 | + | tp = true |
1007 | - | table.insert(burnt,targ.Parent) |
1007 | + | |
1008 | - | if targ.Parent:FindFirstChildOfClass'NumberValue' then |
1008 | + | |
1009 | - | targ.Parent:FindFirstChildOfClass'NumberValue':Destroy() |
1009 | + | |
1010 | end | |
1011 | - | targ.Parent:FindFirstChildOfClass'Humanoid'.WalkSpeed = 16 |
1011 | + | |
1012 | - | targ.Parent:FindFirstChildOfClass'Humanoid'.JumpPower = 50 |
1012 | + | |
1013 | - | tw('BURN!') |
1013 | + | |
1014 | - | fire = true |
1014 | + | |
1015 | - | cooldown = false |
1015 | + | |
1016 | - | local p = Instance.new('Part', char) |
1016 | + | |
1017 | - | p.Anchored = false |
1017 | + | --used things |
1018 | - | p.CanCollide = false |
1018 | + | vt = Vector3.new |
1019 | - | p.Size = targ.Size + Vector3.new(0.1,0.1,0.1) |
1019 | + | bc = BrickColor.new |
1020 | - | p.Transparency = 1 |
1020 | + | br = BrickColor.random |
1021 | - | p.BrickColor = BrickColor.new'Light bluish green' |
1021 | + | local cam = game.Workspace.CurrentCamera |
1022 | - | p.Material = 'Ice' |
1022 | + | |
1023 | - | local w = Instance.new('Weld', p) |
1023 | + | |
1024 | - | w.Part0 = p |
1024 | + | --damage |
1025 | - | w.Part1 = targ |
1025 | + | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) |
1026 | - | for i = 0,1,0.1 do |
1026 | + | if hit.Parent==nil then |
1027 | - | wait() |
1027 | + | return |
1028 | - | lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(100), math.rad(-0.63), math.rad(-2.063)), 0.1) |
1028 | + | |
1029 | h=hit.Parent:FindFirstChildOfClass("Humanoid") | |
1030 | - | wait(0.3) |
1030 | + | for _,v in pairs(hit.Parent:children()) do |
1031 | - | firer(p) |
1031 | + | if v:IsA("Humanoid") then |
1032 | - | wait(.3) |
1032 | + | h=v |
1033 | - | p:FindFirstChildOfClass'ParticleEmitter'.Enabled = false |
1033 | + | |
1034 | - | targ:Destroy() |
1034 | + | |
1035 | - | HHealth.Text = "" |
1035 | + | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then |
1036 | - | for i = 0,1,0.1 do |
1036 | + | h=hit.Parent.Parent:FindFirstChildOfClass("Humanoid") |
1037 | - | wait() |
1037 | + | |
1038 | - | lshold.C0 =lshold.C0:lerp(lsho, 0.1) |
1038 | + | if hit.Parent.className=="Hat" then |
1039 | hit=hit.Parent.Parent:findFirstChild("Head") | |
1040 | - | cooldown = true |
1040 | + | |
1041 | - | fire = false |
1041 | + | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then |
1042 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
1043 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
1044 | return | |
1045 | end]] | |
1046 | -- hs(hit,1.2) | |
1047 | - | mouse.KeyDown:connect(function(h) |
1047 | + | c=Instance.new("ObjectValue") |
1048 | - | if h == 'c' and cooldown and canfly == false then |
1048 | + | c.Name="creator" |
1049 | - | cooldown = false |
1049 | + | c.Value=game:service("Players").LocalPlayer |
1050 | - | if mode == "None" then |
1050 | + | c.Parent=h |
1051 | - | mode = "Fire" |
1051 | + | game:GetService("Debris"):AddItem(c,.5) |
1052 | - | tw('FIRE MODE!') |
1052 | + | Damage=math.random(minim,maxim) |
1053 | - | fx.Enabled = false |
1053 | + | -- h:TakeDamage(Damage) |
1054 | - | ice1.Enabled = false |
1054 | + | blocked=false |
1055 | - | ice2.Enabled = false |
1055 | + | block=hit.Parent:findFirstChild("Block") |
1056 | - | ice3.Enabled = false |
1056 | + | if block~=nil then |
1057 | - | HHealth.Text = '' |
1057 | + | print(block.className) |
1058 | - | elseif mode == "Ice" then |
1058 | + | if block.className=="NumberValue" then |
1059 | - | mode = "Both" |
1059 | + | if block.Value>0 then |
1060 | - | tw('FIRE AND ICE MODE!') |
1060 | + | blocked=true |
1061 | - | fx.Enabled = true |
1061 | + | if decreaseblock==nil then |
1062 | - | ice1.Enabled = true |
1062 | + | block.Value=block.Value-1 |
1063 | - | ice2.Enabled = true |
1063 | + | |
1064 | - | ice3.Enabled = true |
1064 | + | |
1065 | - | HHealth.Text = '' |
1065 | + | |
1066 | - | elseif mode == "Fire" then |
1066 | + | if block.className=="IntValue" then |
1067 | - | mode = "Ice" |
1067 | + | if block.Value>0 then |
1068 | - | tw('ICE MODE!') |
1068 | + | blocked=true |
1069 | - | HName.TextColor3 = BrickColor.new("Cyan").Color |
1069 | + | if decreaseblock~=nil then |
1070 | - | fx.Enabled = true |
1070 | + | block.Value=block.Value-1 |
1071 | - | ice1.Enabled = true |
1071 | + | |
1072 | - | ice2.Enabled = true |
1072 | + | |
1073 | - | ice3.Enabled = true |
1073 | + | |
1074 | - | HHealth.Text = '' |
1074 | + | |
1075 | - | elseif mode == "Both" then |
1075 | + | if blocked==false then |
1076 | - | mode = "None" |
1076 | + | -- h:TakeDamage(Damage) |
1077 | - | tw("I shouldn't waste my energy..") |
1077 | + | h.Health=h.Health-Damage |
1078 | - | fx.Enabled = false |
1078 | + | showDamage(hit.Parent,Damage,.5,BrickColor.new("Really red")) |
1079 | - | ice1.Enabled = false |
1079 | + | else |
1080 | - | ice2.Enabled = false |
1080 | + | h.Health=h.Health-(Damage/2) |
1081 | - | ice3.Enabled = false |
1081 | + | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue")) |
1082 | - | HHealth.Text = '' |
1082 | + | |
1083 | if Type=="Knockdown" then | |
1084 | - | wait(.2) |
1084 | + | Humanoid=hit.Parent.Humanoid |
1085 | - | cooldown = true |
1085 | + | Humanoid.PlatformStand=true |
1086 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1087 | - | if h == 'm' and cooldown and canfly == false then |
1087 | + | swait(1) |
1088 | - | if mode == "Ice" or mode == "Fire" or mode == "Both" then |
1088 | + | HHumanoid.PlatformStand=false |
1089 | - | fire = true |
1089 | + | end), Humanoid) |
1090 | - | cooldown = false |
1090 | + | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit |
1091 | - | slide() |
1091 | + | hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) |
1092 | - | fire = false |
1092 | + | local bodvol=Instance.new("BodyVelocity") |
1093 | - | cooldown = true |
1093 | + | bodvol.velocity=angle*knockback |
1094 | bodvol.P=5000 | |
1095 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
1096 | - | if h == 'q' and cooldown then |
1096 | + | bodvol.Parent=hit |
1097 | - | if mode == "Ice" or mode == "Both" then |
1097 | + | rl=Instance.new("BodyAngularVelocity") |
1098 | - | cooldown = false |
1098 | + | rl.P=3000 |
1099 | - | fire = true |
1099 | + | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 |
1100 | - | tw('FREEZE!') |
1100 | + | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) |
1101 | - | freeze() |
1101 | + | rl.Parent=hit |
1102 | - | HHealth.Text = "" |
1102 | + | game:GetService("Debris"):AddItem(bodvol,.5) |
1103 | - | fire = false |
1103 | + | game:GetService("Debris"):AddItem(rl,.5) |
1104 | - | cooldown = true |
1104 | + | elseif Type=="Normal" then |
1105 | bp=Instance.new("BodyVelocity") | |
1106 | bp.P=100000 | |
1107 | - | if h == 'f' and cooldown then |
1107 | + | bp.maxForce=Vector3.new(math.huge,0,math.huge) |
1108 | - | if mode == "Fire" or mode == "Both" then |
1108 | + | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback |
1109 | - | cooldown = false |
1109 | + | if KnockbackType==1 then |
1110 | - | fire = true |
1110 | + | bp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 |
1111 | - | tw('FIRE BALL!') |
1111 | + | elseif KnockbackType==2 then |
1112 | - | firemove() |
1112 | + | bp.velocity=Property.CFrame.lookVector*knockback |
1113 | - | HHealth.Text = "" |
1113 | + | |
1114 | - | fire = false |
1114 | + | if knockback>0 then |
1115 | - | cooldown = true |
1115 | + | bp.Parent=hit.Parent.Torso |
1116 | ||
1117 | end | |
1118 | - | if h == 'e' and cooldown then |
1118 | + | game:GetService("Debris"):AddItem(bp,.5) |
1119 | - | if mode == "Ice" or mode == "Both" then |
1119 | + | elseif Type=="Up" then |
1120 | - | cooldown = false |
1120 | + | local bodyVelocity=Instance.new("BodyVelocity") |
1121 | - | fire = true |
1121 | + | bodyVelocity.velocity=vt(0,60,0) |
1122 | - | tw('ICE SHIELD!') |
1122 | + | bodyVelocity.P=5000 |
1123 | - | icemove() |
1123 | + | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) |
1124 | - | HHealth.Text = "" |
1124 | + | bodyVelocity.Parent=hit |
1125 | - | fire = false |
1125 | + | game:GetService("Debris"):AddItem(bodyVelocity,1) |
1126 | - | cooldown = true |
1126 | + | rl=Instance.new("BodyAngularVelocity") |
1127 | - | elseif mode == "Fire" then |
1127 | + | rl.P=3000 |
1128 | - | cooldown = false |
1128 | + | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 |
1129 | - | fire = true |
1129 | + | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) |
1130 | - | tw('FIRE STREAM!') |
1130 | + | rl.Parent=hit |
1131 | - | firestream() |
1131 | + | game:GetService("Debris"):AddItem(rl,.5) |
1132 | - | wait() |
1132 | + | elseif Type=="Snare" then |
1133 | - | HHealth.Text = "" |
1133 | + | bp=Instance.new("BodyPosition") |
1134 | - | fire = false |
1134 | + | bp.P=2000 |
1135 | - | cooldown = true |
1135 | + | bp.D=100 |
1136 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
1137 | bp.position=hit.Parent.Torso.Position | |
1138 | - | if h == 'r' and cooldown then |
1138 | + | bp.Parent=hit.Parent.Torso |
1139 | - | if canfly == false and mode == "Both" then |
1139 | + | game:GetService("Debris"):AddItem(bp,1) |
1140 | - | canfly = true |
1140 | + | elseif Type=="Target" then |
1141 | - | cooldown = false |
1141 | + | if Targetting==false then |
1142 | - | flyy() |
1142 | + | ZTarget=hit.Parent.Torso |
1143 | - | cooldown = true |
1143 | + | coroutine.resume(coroutine.create(function(Part) |
1144 | - | elseif canfly and cooldown then |
1144 | + | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) |
1145 | - | canfly = false |
1145 | + | swait(1) |
1146 | - | cooldown = false |
1146 | + | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) |
1147 | - | unfly() |
1147 | + | end),ZTarget) |
1148 | - | for i = 0,1,0.1 do |
1148 | + | TargHum=ZTarget.Parent:findFirstChild("Humanoid") |
1149 | - | wait() |
1149 | + | targetgui=Instance.new("BillboardGui") |
1150 | - | rtorso.C0 = rtorso.C0:lerp(rtors, 0.1) |
1150 | + | targetgui.Parent=ZTarget |
1151 | - | end |
1151 | + | targetgui.Size=UDim2.new(10,100,10,100) |
1152 | - | cooldown = true |
1152 | + | targ=Instance.new("ImageLabel") |
1153 | targ.Parent=targetgui | |
1154 | targ.BackgroundTransparency=1 | |
1155 | targ.Image="rbxassetid://4834067" | |
1156 | targ.Size=UDim2.new(1,0,1,0) | |
1157 | - | --// Nothing |
1157 | + | cam.CameraType="Scriptable" |
1158 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
1159 | - | fire = false |
1159 | + | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) |
1160 | - | legslamm = false |
1160 | + | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
1161 | - | fly = false |
1161 | + | Targetting=true |
1162 | RocketTarget=ZTarget | |
1163 | - | --// Walk fx |
1163 | + | for i=1,Property do |
1164 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
1165 | - | game:GetService('RunService').RenderStepped:connect(function() |
1165 | + | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then |
1166 | - | if mode == "None" then |
1166 | + | swait() |
1167 | - | fire1.Enabled = false |
1167 | + | |
1168 | - | fire2.Enabled = false |
1168 | + | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) |
1169 | - | fire3.Enabled = false |
1169 | + | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) |
1170 | - | fx.Enabled = false |
1170 | + | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) |
1171 | - | |
1171 | + | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) |
1172 | - | nonemode = true |
1172 | + | |
1173 | - | icemode = false |
1173 | + | Targetting=true |
1174 | - | bothmode = false |
1174 | + | RocketTarget=true |
1175 | - | firemode = false |
1175 | + | targetgui.Parent=true |
1176 | - | elseif mode == "Fire" then |
1176 | + | cam.CameraType="Custom" |
1177 | - | fire1.Enabled = true |
1177 | + | |
1178 | - | fire2.Enabled = true |
1178 | + | |
1179 | - | fire3.Enabled = true |
1179 | + | debounce=Instance.new("BoolValue") |
1180 | - | |
1180 | + | debounce.Name="DebounceHit" |
1181 | - | firemode = true |
1181 | + | debounce.Parent=hit.Parent |
1182 | - | icemode = false |
1182 | + | debounce.Value=true |
1183 | - | bothmode = false |
1183 | + | game:GetService("Debris"):AddItem(debounce,Delay) |
1184 | - | nonemode = false |
1184 | + | c=Instance.new("ObjectValue") |
1185 | - | elseif mode == "Ice" then |
1185 | + | c.Name="creator" |
1186 | - | fire1.Enabled = false |
1186 | + | c.Value=Player |
1187 | - | fire2.Enabled = false |
1187 | + | c.Parent=h |
1188 | - | fire3.Enabled = false |
1188 | + | game:GetService("Debris"):AddItem(c,.5) |
1189 | - | |
1189 | + | CRIT=true |
1190 | - | icemode = true |
1190 | + | hitDeb=true |
1191 | - | bothmode = false |
1191 | + | AttackPos=6 |
1192 | - | firemode = false |
1192 | + | |
1193 | - | nonemode = false |
1193 | + | |
1194 | - | elseif mode == "Both" then |
1194 | + | |
1195 | - | fire1.Enabled = true |
1195 | + | showDamage=function(Char,Dealt,du,Color) |
1196 | - | fire2.Enabled = true |
1196 | + | m=Instance.new("Model") |
1197 | - | fire3.Enabled = true |
1197 | + | m.Name=tostring(Dealt) |
1198 | - | |
1198 | + | h=Instance.new("Humanoid") |
1199 | - | bothmode = true |
1199 | + | h.Health=0 |
1200 | - | icemode = false |
1200 | + | h.MaxHealth=0 |
1201 | - | firemode = false |
1201 | + | h.Parent=m |
1202 | - | nonemode = false |
1202 | + | c=Instance.new("Part") |
1203 | c.Transparency=0 | |
1204 | c.BrickColor=Color | |
1205 | c.Transparency = 1 | |
1206 | - | game:GetService('RunService').RenderStepped:connect(function() |
1206 | + | c.Name="Head" |
1207 | - | if canfly == true then |
1207 | + | c.TopSurface=0 |
1208 | - | fly = true |
1208 | + | c.BottomSurface=0 |
1209 | - | elseif canfly == false then |
1209 | + | c.formFactor="Plate" |
1210 | - | fly = false |
1210 | + | c.Size=Vector3.new(1,.4,1) |
1211 | ||
1212 | local txt = Instance.new("BillboardGui", c) | |
1213 | txt.Adornee = c | |
1214 | - | game:GetService('RunService').RenderStepped:connect(function() |
1214 | + | txt.Name = "_status" |
1215 | - | if fly and idle == false and stop == false then |
1215 | + | txt.Size = UDim2.new(2, 0, 1.2, 0) |
1216 | - | hum.Sit = true |
1216 | + | txt.StudsOffset = Vector3.new(-9, 8, 0) |
1217 | - | bv.velocity = mouse.Hit.lookVector * 76 |
1217 | + | local text = Instance.new("TextLabel", txt) |
1218 | - | bg.cframe = CFrame.new(rootpart.Position,mouse.Hit.p*Vector3.new(1,0,1)+rootpart.Position*Vector3.new(0,1,0)) |
1218 | + | text.Size = UDim2.new(10, 0, 7, 0) |
1219 | - | rtorso.C0 = rtorso.C0:lerp(rtors * CFrame.Angles(math.rad(-75), 0, 0), 0.1) |
1219 | + | text.FontSize = "Size12" |
1220 | - | waist.C0 = waist.C0:lerp(wais * CFrame.new(0, -0.102, 0.033) * CFrame.Angles(math.rad(13.866), 0, 0), 0.1) |
1220 | + | text.TextScaled = true |
1221 | - | lshold.C0 = lshold.C0:lerp(lsho * CFrame.Angles(math.rad(-27.044), math.rad(12.319), math.rad(-23.319)), 0.1) |
1221 | + | text.TextTransparency = 0.5 |
1222 | - | rshold.C0 = rshold.C0:lerp(rsho * CFrame.Angles(math.rad(-27.044), math.rad(-12.319), math.rad(23.319)), 0.1) |
1222 | + | text.BackgroundTransparency = 1 |
1223 | - | lleg.C0 = lleg.C0:lerp(lle * CFrame.Angles(math.rad(-13.808), 0, math.rad(-4.698)), 0.1) |
1223 | + | text.TextTransparency = 0.5 |
1224 | - | neck.C0 = neck.C0:lerp(nec * CFrame.Angles(math.rad(11.574), 0, 0), 0.1) |
1224 | + | text.TextStrokeTransparency = 0.5 |
1225 | - | rleg.C0 = rleg.C0:lerp(rle * CFrame.Angles(math.rad(-15.241), 0, math.rad(3.38)), 0.1) |
1225 | + | text.Font = "SciFi" |
1226 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
1227 | v=Instance.new("Part") | |
1228 | v.Name = "ColorBrick" | |
1229 | - | game:GetService('RunService').RenderStepped:connect(function() |
1229 | + | v.Parent=c |
1230 | - | for _, a in pairs(freez) do |
1230 | + | v.FormFactor="Symmetric" |
1231 | - | if a:FindFirstChildOfClass'NumberValue' then |
1231 | + | v.Anchored=true |
1232 | - | a:FindFirstChildOfClass'Humanoid'.WalkSpeed = 0 |
1232 | + | v.CanCollide=false |
1233 | v.BottomSurface="Smooth" | |
1234 | v.TopSurface="Smooth" | |
1235 | v.Size=Vector3.new(10,5,3) | |
1236 | v.Transparency=1 | |
1237 | - | game:GetService('RunService').RenderStepped:connect(function() |
1237 | + | v.CFrame=c.CFrame |
1238 | - | for _, a in pairs(freezed) do |
1238 | + | v.BrickColor=BrickColor.random() |
1239 | - | if a:FindFirstChildOfClass'NumberValue' then |
1239 | + | v.Transparency=1 |
1240 | - | a:FindFirstChildOfClass'Humanoid'.WalkSpeed = 0 |
1240 | + | text.TextColor3 = t.BrickColor.Color |
1241 | v.Shape="Block" | |
1242 | text.Text = tostring(Dealt) | |
1243 | ms=Instance.new("CylinderMesh") | |
1244 | ms.Scale=Vector3.new(.8,.8,.8) | |
1245 | - | game:GetService('RunService').RenderStepped:connect(function() |
1245 | + | --[[local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"} |
1246 | - | sine = change+sine |
1246 | + | local rndm=math.random(1,#hitsounds) |
1247 | - | ang = ang+0.08 |
1247 | + | local r=rndm |
1248 | - | ang2 = ang2+0.01 |
1248 | + | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id="..hitsounds[r],c,1.25,1)]]-- |
1249 | - | rad = math.rad |
1249 | + | if CRIT==true then |
1250 | - | sin = math.sin |
1250 | + | ms.Scale=Vector3.new(1,1.25,1) |
1251 | - | arm = arm + 0.06 |
1251 | + | |
1252 | ms.Parent=c | |
1253 | - | if fly == false and legslamm == false and fire == false and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then |
1253 | + | c.Reflectance=0 |
1254 | - | lleg.C0 = lleg.C0:lerp(lle * CFrame.Angles(-1, 0, 0), 0.1) |
1254 | + | Instance.new("BodyGyro").Parent=c |
1255 | - | rleg.C0 = rleg.C0:lerp(rle * CFrame.Angles(-1, 0, 0), 0.1) |
1255 | + | c.Parent=m |
1256 | - | lshold.C0 = lshold.C0:lerp(CFrame.new(0,0,0) * lsho * CFrame.Angles(0, 0, math.rad(-13.579)), 0.1) |
1256 | + | if Char:findFirstChild("Head")~=nil then |
1257 | - | rshold.C0 = rshold.C0:lerp(CFrame.new(0,0,0) * rsho * CFrame.Angles(0, 0, math.rad(15.355)), 0.1) |
1257 | + | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) |
1258 | elseif Char.Parent:findFirstChild("Head")~=nil then | |
1259 | - | |
1259 | + | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) |
1260 | - | if fly == false and legslamm == false and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then |
1260 | + | |
1261 | - | lleg.C0 = lleg.C0:lerp(CFrame.new(-0.53,-0.15+0.1*-math.cos(tick()*4),0.2*math.sin(tick()*4))*CFrame.Angles(math.rad(25*-math.sin(tick()*8)), rad(-1), rad(0)), 1.5) * CFrame.Angles(-0.1, 0, 0) |
1261 | + | f=Instance.new("BodyPosition") |
1262 | - | rleg.C0 = rleg.C0:lerp(CFrame.new(0.53,-0.15+0.1*math.cos(tick()*4),0.2*-math.sin(tick()*4))*CFrame.Angles(math.rad(25*math.sin(tick()*8)), rad(10), rad(0)), 1.5) * CFrame.Angles(-0.1, 0, 0) |
1262 | + | f.P=200000 |
1263 | - | |
1263 | + | f.D=100 |
1264 | - | lleg.C0 = lleg.C0:lerp(lle * CFrame.Angles(-0.4, 0, 0), 0.1) |
1264 | + | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) |
1265 | - | rleg.C0 = rleg.C0:lerp(rle * CFrame.Angles(0.4, 0, 0), 0.1) |
1265 | + | f.position=c.Position+Vector3.new(0,3,0) |
1266 | - | |
1266 | + | f.Parent=c |
1267 | - | elseif fly == false and legslamm == false and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude < 2 then |
1267 | + | game:GetService("Debris"):AddItem(m,.5+du) |
1268 | - | lleg.C0 = lleg.C0:lerp(lle,0.1) |
1268 | + | c.CanCollide=false |
1269 | - | rleg.C0 = rleg.C0:lerp(rle,0.1) |
1269 | + | m.Parent=workspace |
1270 | c.CanCollide=false | |
1271 | - | |
1271 | + | |
1272 | - | if fly == false and fire == false and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then |
1272 | + | |
1273 | - | lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(-25*-math.sin(tick()*8)), rad(-1), rad(0)), 1.5) * CFrame.Angles(0.1, 0, 0) |
1273 | + | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants |
1274 | - | rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(math.rad(25*-math.sin(tick()*8)), rad(-1), rad(0)), 1.5) * CFrame.Angles(0.1, 0, 0) |
1274 | + | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) |
1275 | - | |
1275 | + | end |
1276 | - | lshold.C0 = lshold.C0:lerp(CFrame.new(0,0,0) * lsho * CFrame.Angles(0, 0, math.rad(-13.579)), 0.1) |
1276 | + | |
1277 | - | rshold.C0 = rshold.C0:lerp(CFrame.new(0,0,0) * rsho * CFrame.Angles(0, 0, math.rad(15.355)), 0.1) |
1277 | + | function dmgstart(dmg,what) |
1278 | hitcon = what.Touched:connect(function(hit) | |
1279 | - | |
1279 | + | local hum = hit.Parent:FindFirstChild("Humanoid") |
1280 | - | if idle == false and fly == false and legslamm == false and fire == false and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude < 2 then |
1280 | + | if hum and not hum:IsDescendantOf(Character) then |
1281 | - | lshold.C0 = lshold.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * lsho * CFrame.Angles(-0.1, 0, 0), 0.1) |
1281 | + | hum:TakeDamage(dmg) |
1282 | - | rshold.C0 = rshold.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * rsho * CFrame.Angles(-0.1, 0, 0), 0.1) |
1282 | + | end |
1283 | - | neck.C0 = neck.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * nec * CFrame.Angles(-0.1, 0, 0), 0.1) |
1283 | + | end) |
1284 | end | |
1285 | - | |
1285 | + | |
1286 | - | if fly == false and legslamm == false and fire == false and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then |
1286 | + | function dmgstop() |
1287 | - | rkk.C0 = rkk.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * rk * CFrame.Angles(-0.1, 0, 0), 0.1) |
1287 | + | hitcon:disconnect() |
1288 | - | lkk.C0 = lkk.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * lk * CFrame.Angles(-0.1, 0, 0), 0.1) |
1288 | + | |
1289 | - | lfoot.C0 = lfoot.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * lf * CFrame.Angles(-0.1, 0, 0), 0.1) |
1289 | + | ------ |
1290 | - | rfoot.C0 = rfoot.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * rf * CFrame.Angles(-0.1, 0, 0), 0.1) |
1290 | + | hito = function(dm, X, c, dn, dp, dq) |
1291 | for I,dr in pairs(workspace:GetChildren()) do | |
1292 | - | |
1292 | + | if dr:FindFirstChild("Humanoid") and dr:FindFirstChild("HumanoidRootPart") and dr ~= chr and (dr:FindFirstChild("HumanoidRootPart").Position - dm.Position).magnitude < X and dr:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then |
1293 | - | if fly == false and legslamm == false and fire == false and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude < 2 then |
1293 | + | local ds = dr:FindFirstChild("Humanoid") |
1294 | - | idle = true |
1294 | + | local dt = dr:FindFirstChild("HumanoidRootPart") |
1295 | - | head.Neck.C0 = head.Neck.C0:lerp(CFrame.new(0,0.8,0)*CFrame.Angles(rad(-2.922),rad(0),rad(0)),.03) |
1295 | + | TakeDamage(ds, c) |
1296 | - | LS.C0 = LS.C0:lerp(CFrame.new(-1.2,0.5,.05)*CFrame.Angles(rad(-25.096),rad(-15.871),rad(-50.702)),.03) |
1296 | + | |
1297 | - | LE.C0 = LE.C0:lerp(CFrame.new(-0,-0.35,0)*CFrame.Angles(rad(14.954),rad(0),rad(0)),.03) |
1297 | + | ds.Parent:BreakJoints() |
1298 | - | RS.C0 = RS.C0:lerp(CFrame.new(0.9,0.5,.05)*CFrame.Angles(rad(-6.704),rad(-19.022),rad(50.036)),.03) |
1298 | + | end |
1299 | - | RE.C0 = RE.C0:lerp(CFrame.new(0,-0.35,0)*CFrame.Angles(rad(31.341),rad(0),rad(0)),.03) |
1299 | + | ds:SetStateEnabled(16, true) |
1300 | - | Waist.C0 = Waist.C0:lerp(CFrame.new(0,-0.0001+0.03*math.sin(tick()*5),0) * Waistc0 * CFrame.Angles(0, math.rad(0), 0), 0.1) |
1300 | + | delay(dn, function() |
1301 | - | LH.C0 = LH.C0:lerp(CFrame.new(-0.5,-0.35,0)*CFrame.Angles(rad(0),rad(40),rad(0)),0.1) |
1301 | + | ds:SetStateEnabled(16, true) |
1302 | - | RH.C0 = RH.C0:lerp(CFrame.new(0.5,-0.35,0)*CFrame.Angles(rad(0),rad(-40),rad(0)),0.1) |
1302 | + | end) |
1303 | - | LN.C0 = LN.C0:lerp(CFrame.new(0,-0.35,0)*CFrame.Angles(rad(-57.85),rad(0),rad(0)),0.1) |
1303 | + | local du = Instance.new("StringValue") |
1304 | - | RN.C0 = RN.C0:lerp(CFrame.new(0,-0.35,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1) |
1304 | + | du.Name = "alabo" |
1305 | - | LowerTorso.Root.C0 = LowerTorso.Root.C0:lerp(CFrame.new(-0,0.069,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05) |
1305 | + | du.Parent = dt |
1306 | - | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new(0, -0.6, -0.343)*CFrame.Angles(rad(14.095),rad(0),rad(0)),.2) |
1306 | + | game.Debris:AddItem(du, dn) |
1307 | - | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new(-0,-0.5,0)*CFrame.Angles(rad(-48.759),rad(0),rad(0)),.2) |
1307 | + | local dv = Instance.new("Part") |
1308 | - | else |
1308 | + | nooutline(dv) |
1309 | - | idle = false |
1309 | + | dv.Size = Vector3.new(0.2, 0.2, 0.2) |
1310 | dv.Transparency = 0.25 | |
1311 | dv.Anchored = true | |
1312 | dv.CanCollide = false | |
1313 | - | game:GetService('RunService').RenderStepped:connect(function() |
1313 | + | dv.BrickColor = BrickColor.new("White") |
1314 | - | bg.cframe = CFrame.new(rootpart.Position,mouse.Hit.p*Vector3.new(1,0,1)+rootpart.Position*Vector3.new(0,1,0)) |
1314 | + | dv.Material = "Neon" |
1315 | dv.Locked = true | |
1316 | dv.CFrame = dt.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1)) | |
1317 | - | local waiting = false |
1317 | + | dv.Parent = modz |
1318 | - | game:GetService('RunService').RenderStepped:connect(function() |
1318 | + | local dw = Instance.new("SpecialMesh") |
1319 | - | if waiting == false then |
1319 | + | dw.MeshType = "Sphere" |
1320 | - | waiting = true |
1320 | + | dw.Scale = Vector3.new(0.5, 0.5, 0.5) |
1321 | - | if mode == "Ice" then |
1321 | + | dw.Parent = dv |
1322 | - | HName.TextColor3 = BrickColor.new("Cyan").Color |
1322 | + | game.Debris:AddItem(dv, 1) |
1323 | - | elseif mode == "Fire" then |
1323 | + | local dx = Instance.new("Model") |
1324 | - | HName.TextColor3 = BrickColor.new("Deep orange").Color |
1324 | + | dx.Name = c |
1325 | - | elseif mode == "Both" then |
1325 | + | dx.Parent = workspace |
1326 | - | HName.TextColor3 = BrickColor.new(slidecolors[math.random(1,#slidecolors)]).Color |
1326 | + | game.Debris:AddItem(dx, 0.5 + c / 75) |
1327 | - | elseif mode == "None" then |
1327 | + | local dy = Instance.new("Humanoid") |
1328 | - | HName.TextColor3 = BrickColor.new('Institutional white').Color |
1328 | + | dy.MaxHealth = 0 |
1329 | dy.Parent = dx | |
1330 | - | wait(.5) |
1330 | + | local dz = Instance.new("Part") |
1331 | - | waiting = false |
1331 | + | dz.Name = "Head" |
1332 | dz.Locked = true | |
1333 | dz.Size = Vector3.new(0.2, 0.2, 0.2) | |
1334 | dz.Position = dt.Position | |
1335 | - | while wait() do |
1335 | + | dz.BrickColor = BrickColor.new("New Yeller") |
1336 | - | if mode == "Ice" then |
1336 | + | dz.Material = "Neon" |
1337 | - | color = slidecolors[1] |
1337 | + | dz.Transparency = 1 |
1338 | - | HName.TextColor3 = BrickColor.new("Cyan").Color |
1338 | + | dz.CanCollide = false |
1339 | - | elseif mode == "Fire" then |
1339 | + | dz.Parent = dx |
1340 | - | color = slidecolors[2] |
1340 | + | local dA = Instance.new("BodyPosition") |
1341 | - | HName.TextColor3 = BrickColor.new("Deep orange").Color |
1341 | + | dA.MaxForce = Vector3.new(math.huge, math.huge, math.huge) |
1342 | - | elseif mode == "Both" then |
1342 | + | dA.P = 20000 |
1343 | - | color = slidecolors[math.random(1,#slidecolors)] |
1343 | + | dA.D = 300 |
1344 | - | HName.TextColor3 = BrickColor.new(slidecolors[math.random(1,#slidecolors)]).Color |
1344 | + | dA.Position = dz.Position + Vector3.new(0, 5, 0) |
1345 | dA.Parent = dz | |
1346 | - | end |
1346 | + | local dB = Instance.new("CylinderMesh") |
1347 | dB.Parent = dz | |
1348 | coroutine.resume(coroutine.create(function() | |
1349 | while dB do | |
1350 | swait() | |
1351 | dB.Scale = dB.Scale:lerp(Vector3.new(2.5 + c / 10, 1.25 + c / 35, 2.5 + c / 10), 0.4) | |
1352 | end | |
1353 | end)) | |
1354 | if dp then | |
1355 | local dC = Instance.new("BodyVelocity") | |
1356 | dC.MaxForce = Vector3.new(999999999999, 9999999999999, 9999999999999) | |
1357 | dC.P = 9999999999 | |
1358 | dC.Velocity = dp | |
1359 | dC.Parent = dt | |
1360 | game.Debris:AddItem(dC, dn) | |
1361 | end | |
1362 | if dq then | |
1363 | local dD = Instance.new("BodyAngularVelocity") | |
1364 | dD.MaxTorque = Vector3.new(99999, 999999, 999999) | |
1365 | dD.P = math.huge | |
1366 | dD.AngularVelocity = dq | |
1367 | dD.Parent = dt | |
1368 | game.Debris:AddItem(dD, dn) | |
1369 | end | |
1370 | local dE = Instance.new("Sound") | |
1371 | dE.Pitch = rd2(10, 11) / 10 | |
1372 | dE.Volume = rd2(10, 13) / 10 | |
1373 | dE.EmitterSize = 10 | |
1374 | dE.SoundId = "rbxassetid://" | |
1375 | dE.Parent = dv | |
1376 | dE:Play() | |
1377 | coroutine.resume(coroutine.create(function() | |
1378 | for I = 1, 5 do | |
1379 | swait() | |
1380 | dv.Transparency = dv.Transparency + 0.175 | |
1381 | dw.Scale = dw.Scale + Vector3.new(0.8 * c, 0.8 * c, 0.8 * c) | |
1382 | end | |
1383 | end)) | |
1384 | end | |
1385 | end | |
1386 | ||
1387 | ||
1388 | ||
1389 | ||
1390 | function Del() | |
1391 | if not D then D = true | |
1392 | Idle = true | |
1393 | ||
1394 | for i = 0,2,0.1 do | |
1395 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(180),rad(0),rad(0)),.1) --LeftUpperArm | |
1396 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(180),rad(0),rad(0)),.1)--RightUpperArm | |
1397 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm | |
1398 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
1399 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
1400 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
1401 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
1402 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
1403 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
1404 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1405 | game:GetService("RunService").RenderStepped:wait() | |
1406 | end | |
1407 | local Sound = Instance.new("Sound",Character.UpperTorso) | |
1408 | Sound.SoundId = "rbxassetid://" | |
1409 | Sound.Volume = 10 | |
1410 | Sound.Pitch = 1 | |
1411 | Sound.Looped = false | |
1412 | Sound:Play() | |
1413 | wait(0.5) | |
1414 | local Bq = Instance.new("Part",UpperTorso) | |
1415 | Bq.Size = Vector3.new(1,1,1) | |
1416 | Bq.BrickColor = BrickColor.new("White") | |
1417 | Bq.Material = "Neon" | |
1418 | Bq.Anchored = false | |
1419 | Bq.CanCollide = false | |
1420 | Bq.Transparency = math.huge | |
1421 | Bq.CFrame = RootPart.CFrame*CFrame.new(0,0,-12) | |
1422 | local Bq2 = Instance.new("SpecialMesh",Bq) | |
1423 | Bq2.MeshType = "Sphere" | |
1424 | Bq2.Scale = Vector3.new(1,1,1) | |
1425 | Bq.Touched:connect(function(hit) | |
1426 | if hitted == false then | |
1427 | hitted = true | |
1428 | ||
1429 | ||
1430 | for i = 1,1000 do | |
1431 | ||
1432 | game:GetService("RunService").RenderStepped:wait() | |
1433 | end | |
1434 | end | |
1435 | end) | |
1436 | ||
1437 | local Fl = Instance.new("BodyVelocity",Bq) | |
1438 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1439 | Fl.velocity = Mouse.hit.lookVector*120 | |
1440 | for i = 0,2,0.1 do | |
1441 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(80),rad(0),rad(0)),.1) --LeftUpperArm | |
1442 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(80),rad(0),rad(0)),.1)--RightUpperArm | |
1443 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
1444 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
1445 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--LeftUpperLeg | |
1446 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--RightUpperLeg | |
1447 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
1448 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
1449 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--Torso | |
1450 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1451 | game:GetService("RunService").RenderStepped:wait() | |
1452 | end | |
1453 | longpunch() | |
1454 | wait(0) | |
1455 | Idle = false | |
1456 | hitted = false | |
1457 | wait(2) | |
1458 | D = false | |
1459 | end | |
1460 | end | |
1461 | -- | |
1462 | ------ | |
1463 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1464 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1465 | local List = {} | |
1466 | for i,v in pairs(workspace:GetChildren())do | |
1467 | if v:IsA("Model")then | |
1468 | if v:findFirstChild("Torso")then | |
1469 | if v ~= Character then | |
1470 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1471 | table.insert(List,v) | |
1472 | end | |
1473 | end | |
1474 | end | |
1475 | end | |
1476 | end | |
1477 | return List | |
1478 | end | |
1479 | ||
1480 | ------ | |
1481 | function superpunch() | |
1482 | ||
1483 | local Sound = Instance.new("Sound",Character.UpperTorso)--136847657 | |
1484 | Sound.SoundId = "rbxassetid://157878578" | |
1485 | Sound.Pitch = 1 | |
1486 | Sound.Looped = false | |
1487 | Sound.Volume = 10 | |
1488 | Sound:play() | |
1489 | local rng = Instance.new("Part", Mouse) | |
1490 | rng.Anchored = true | |
1491 | rng.BrickColor = BrickColor.new("White") | |
1492 | rng.CanCollide = false | |
1493 | rng.FormFactor = 3 | |
1494 | rng.Name = "Ring" | |
1495 | rng.Size = Vector3.new(1, 1, 1) | |
1496 | rng.Transparency = 0 | |
1497 | rng.TopSurface = 0 | |
1498 | rng.BottomSurface = 0 | |
1499 | rng.CFrame = RootPart.CFrame | |
1500 | local rngm = Instance.new("SpecialMesh", rng) | |
1501 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1502 | local rng2 = rng:Clone() | |
1503 | rng2.Parent = Character | |
1504 | local rng2m = rng2.Mesh | |
1505 | local rng3 = rng:Clone() | |
1506 | rng3.Parent = Character | |
1507 | local rng3m = rng3.Mesh | |
1508 | local rng4 = rng:Clone() | |
1509 | rng4.Parent = Character | |
1510 | local rng4m = rng4.Mesh | |
1511 | local rng5 = rng:Clone() | |
1512 | rng5.Parent = Character | |
1513 | local rng5m = rng5.Mesh | |
1514 | local rng6 = rng:Clone() | |
1515 | rng6.Material = "Plastic" | |
1516 | rng6.Parent = Character | |
1517 | local rng6m = rng6.Mesh | |
1518 | rng6m.Scale = vt(2.5,2.5,2) | |
1519 | rng6m.MeshType = "FileMesh" | |
1520 | rng6m.MeshId = "rbxassetid://437347603" | |
1521 | local hita = rng6.Touched:connect(function(hit) | |
1522 | Damagefunc(hit,27,37,math.random(20,30),"Normal",RootPart,.2,1) | |
1523 | end) | |
1524 | rng2.CFrame = RootPart.CFrame | |
1525 | rng3.CFrame = RootPart.CFrame | |
1526 | rng4.CFrame = RootPart.CFrame | |
1527 | rng5.CFrame = RootPart.CFrame | |
1528 | rng6.CFrame = RootPart.CFrame | |
1529 | wait() | |
1530 | local Sound = Instance.new("Sound",rng6)--136847657 | |
1531 | Sound.SoundId = "rbxassetid://136847657" | |
1532 | Sound.Pitch = 1 | |
1533 | Sound.Looped = false | |
1534 | Sound.Volume = 10 | |
1535 | Sound:play() | |
1536 | local scaler = 10/5 | |
1537 | local scaler2 = 10/5 | |
1538 | for i = 0,10,0.1 do | |
1539 | swait() | |
1540 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*scaler2 | |
1541 | rng2.CFrame = rng2.CFrame + rng2.CFrame.lookVector*scaler2/0.25 | |
1542 | rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector*scaler2/0.5 | |
1543 | rng4.CFrame = rng4.CFrame + rng4.CFrame.lookVector*scaler2/0.75 | |
1544 | rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector*scaler2/5 | |
1545 | rng6.Size = rng6.Size + Vector3.new(scaler2/2.5, scaler2/2.5, scaler2/2.5) | |
1546 | rng6.CFrame = rng3.CFrame | |
1547 | rng.Transparency = rng.Transparency + 0.1 | |
1548 | rng2.Transparency = rng2.Transparency + 1.01 | |
1549 | rng3.Transparency = rng3.Transparency + 0.01 | |
1550 | rng4.Transparency = rng4.Transparency + 0.01 | |
1551 | rng5.Transparency = rng5.Transparency + 0.01 | |
1552 | rng6.Transparency = rng6.Transparency + 0.021 | |
1553 | scaler = scaler - 0.125/5 | |
1554 | scaler2 = scaler2 - 0.1/5 | |
1555 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 1.5) | |
1556 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/2, scaler2/2, 1) | |
1557 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0.5) | |
1558 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0) | |
1559 | rngm.Scale = rngm.Scale + Vector3.new(scaler2/9, scaler2/9, 9) | |
1560 | game:GetService("Debris"):AddItem(bv, 1) | |
1561 | end | |
1562 | hita:disconnect() | |
1563 | game:GetService("Debris"):AddItem(rng, 1) | |
1564 | game:GetService("Debris"):AddItem(rng2, 1) | |
1565 | game:GetService("Debris"):AddItem(rng3, 1) | |
1566 | game:GetService("Debris"):AddItem(rng4, 1) | |
1567 | game:GetService("Debris"):AddItem(rng5, 1) | |
1568 | attack = false | |
1569 | end | |
1570 | ||
1571 | ||
1572 | ---- | |
1573 | ------ | |
1574 | function wam() | |
1575 | ||
1576 | local rng = Instance.new("Part", Mouse) | |
1577 | rng.Anchored = true | |
1578 | rng.BrickColor = BrickColor.new("White") | |
1579 | rng.CanCollide = false | |
1580 | rng.FormFactor = 3 | |
1581 | rng.Name = "Ring" | |
1582 | rng.Size = Vector3.new(1, 1, 1) | |
1583 | rng.Transparency = 0 | |
1584 | rng.TopSurface = 0 | |
1585 | rng.BottomSurface = 0 | |
1586 | rng.CFrame = RootPart.CFrame | |
1587 | local rngm = Instance.new("SpecialMesh", rng) | |
1588 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1589 | local rng2 = rng:Clone() | |
1590 | rng2.Parent = Character | |
1591 | local rng2m = rng2.Mesh | |
1592 | local rng3 = rng:Clone() | |
1593 | rng3.Parent = Character | |
1594 | local rng3m = rng3.Mesh | |
1595 | local rng4 = rng:Clone() | |
1596 | rng4.Parent = Character | |
1597 | local rng4m = rng4.Mesh | |
1598 | local rng5 = rng:Clone() | |
1599 | rng5.Parent = Character | |
1600 | local rng5m = rng5.Mesh | |
1601 | local rng6 = rng:Clone() | |
1602 | rng6.Material = "Plastic" | |
1603 | rng6.Parent = Character | |
1604 | local rng6m = rng6.Mesh | |
1605 | rng6m.Scale = vt(2.5,2.5,2) | |
1606 | rng6m.MeshType = "FileMesh" | |
1607 | rng6m.MeshId = "rbxassetid://0" | |
1608 | local hita = rng6.Touched:connect(function(hit) | |
1609 | Damagefunc(hit,1,1,math.random(2,2),"Normal",RootPart,.2,1) | |
1610 | end) | |
1611 | rng2.CFrame = RootPart.CFrame | |
1612 | rng3.CFrame = RootPart.CFrame | |
1613 | rng4.CFrame = RootPart.CFrame | |
1614 | rng5.CFrame = RootPart.CFrame | |
1615 | rng6.CFrame = RootPart.CFrame | |
1616 | wait() | |
1617 | local Sound = Instance.new("Sound",rng6)--136847657 | |
1618 | Sound.SoundId = "rbxassetid://" | |
1619 | Sound.Pitch = 1 | |
1620 | Sound.Looped = false | |
1621 | Sound.Volume = 10 | |
1622 | Sound:play() | |
1623 | local scaler = 10/5 | |
1624 | local scaler2 = 10/5 | |
1625 | for i = 0,10,0.1 do | |
1626 | swait() | |
1627 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*scaler2 | |
1628 | rng2.CFrame = rng2.CFrame + rng2.CFrame.lookVector*scaler2/2.25 | |
1629 | rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector*scaler2/3.2 | |
1630 | rng4.CFrame = rng4.CFrame + rng4.CFrame.lookVector*scaler2/3.9 | |
1631 | rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector*scaler2/5 | |
1632 | rng6.Size = rng6.Size + Vector3.new(scaler2/2.5, scaler2/2.5, scaler2/2.5) | |
1633 | rng6.CFrame = rng3.CFrame | |
1634 | rng.Transparency = rng.Transparency + 0.1 | |
1635 | rng2.Transparency = rng2.Transparency + 1.01 | |
1636 | rng3.Transparency = rng3.Transparency + 0.01 | |
1637 | rng4.Transparency = rng4.Transparency + 0.01 | |
1638 | rng5.Transparency = rng5.Transparency + 0.01 | |
1639 | rng6.Transparency = rng6.Transparency + 0.021 | |
1640 | scaler = scaler - 0.125/5 | |
1641 | scaler2 = scaler2 - 0.1/5 | |
1642 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/3.5, scaler2/3.5, 0.7) | |
1643 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/3, scaler2/3, 0.7) | |
1644 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 0.7) | |
1645 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0) | |
1646 | rngm.Scale = rngm.Scale + Vector3.new(scaler2/9, scaler2/9, 9) | |
1647 | game:GetService("Debris"):AddItem(bv, 1) | |
1648 | end | |
1649 | hita:disconnect() | |
1650 | game:GetService("Debris"):AddItem(rng, 1) | |
1651 | game:GetService("Debris"):AddItem(rng2, 1) | |
1652 | game:GetService("Debris"):AddItem(rng3, 1) | |
1653 | game:GetService("Debris"):AddItem(rng4, 1) | |
1654 | game:GetService("Debris"):AddItem(rng5, 1) | |
1655 | attack = false | |
1656 | end | |
1657 | ||
1658 | ||
1659 | ---- | |
1660 | ------ | |
1661 | function fcpunch() | |
1662 | ||
1663 | ||
1664 | local Sound = Instance.new("Sound",Character.UpperTorso)--136847657 | |
1665 | Sound.SoundId = "rbxassetid://157878578" | |
1666 | Sound.Pitch = 1 | |
1667 | Sound.Looped = false | |
1668 | Sound.Volume = 10 | |
1669 | Sound:play() | |
1670 | local rng = Instance.new("Part", Mouse) | |
1671 | rng.Anchored = true | |
1672 | rng.BrickColor = BrickColor.new("White") | |
1673 | rng.CanCollide = false | |
1674 | rng.FormFactor = 3 | |
1675 | rng.Name = "Ring" | |
1676 | rng.Size = Vector3.new(1, 1, 1) | |
1677 | rng.Transparency = 0 | |
1678 | rng.TopSurface = 0 | |
1679 | rng.BottomSurface = 0 | |
1680 | rng.CFrame = RootPart.CFrame | |
1681 | local rngm = Instance.new("SpecialMesh", rng) | |
1682 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1683 | local rng2 = rng:Clone() | |
1684 | rng2.Parent = Character | |
1685 | local rng2m = rng2.Mesh | |
1686 | local rng3 = rng:Clone() | |
1687 | rng3.Parent = Character | |
1688 | local rng3m = rng3.Mesh | |
1689 | local rng4 = rng:Clone() | |
1690 | rng4.Parent = Character | |
1691 | local rng4m = rng4.Mesh | |
1692 | local rng5 = rng:Clone() | |
1693 | rng5.Parent = Character | |
1694 | local rng5m = rng5.Mesh | |
1695 | local rng6 = rng:Clone() | |
1696 | rng6.Material = "Plastic" | |
1697 | rng6.Parent = Character | |
1698 | local rng6m = rng6.Mesh | |
1699 | rng6m.Scale = vt(0,0,0) | |
1700 | rng6m.MeshType = "FileMesh" | |
1701 | rng6m.MeshId = "rbxassetid://0" | |
1702 | local hita = rng6.Touched:connect(function(hit) | |
1703 | Damagefunc(hit,70024207,20000500007,math.random(70000000,20000000000),"Normal",RootPart,.2,1) | |
1704 | end) | |
1705 | rng2.CFrame = RootPart.CFrame | |
1706 | rng3.CFrame = RootPart.CFrame | |
1707 | rng4.CFrame = RootPart.CFrame | |
1708 | rng5.CFrame = RootPart.CFrame | |
1709 | rng6.CFrame = RootPart.CFrame | |
1710 | wait() | |
1711 | local FZZ = Instance.new("ParticleEmitter",rng6) | |
1712 | FZZ.Texture = "rbxassetid://0" | |
1713 | FZZ.Color = ColorSequence.new(Color3.fromRGB(131, 255, 150)) | |
1714 | FZZ.EmissionDirection = "Top" | |
1715 | FZZ.Speed = NumberRange.new(0) | |
1716 | FZZ.Size = NumberSequence.new(14,18) | |
1717 | FZZ.Drag = 2 | |
1718 | FZZ.LockedToPart = true | |
1719 | FZZ.Lifetime = NumberRange.new(0.2) | |
1720 | FZZ.Rate = 1000 | |
1721 | FZZ.LightEmission = 0.75 | |
1722 | FZZ.Rotation = NumberRange.new(-100, 100) | |
1723 | FZZ.VelocitySpread = 70 | |
1724 | local Sound = Instance.new("Sound",rng6)--136847657 | |
1725 | Sound.SoundId = "rbxassetid://136847657" | |
1726 | Sound.Pitch = 1 | |
1727 | Sound.Looped = false | |
1728 | Sound.Volume = 10 | |
1729 | Sound:play() | |
1730 | local scaler = 10/5 | |
1731 | local scaler2 = 10/5 | |
1732 | for i = 0,10,0.1 do | |
1733 | swait() | |
1734 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*scaler2 | |
1735 | rng2.CFrame = rng2.CFrame + rng2.CFrame.lookVector*scaler2/0.25 | |
1736 | rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector*scaler2/0.5 | |
1737 | rng4.CFrame = rng4.CFrame + rng4.CFrame.lookVector*scaler2/0.75 | |
1738 | rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector*scaler2/5 | |
1739 | rng6.Size = rng6.Size + Vector3.new(scaler2/0.9, scaler2/0.9, scaler2/0.9) | |
1740 | rng6.CFrame = rng3.CFrame | |
1741 | rng.Transparency = rng.Transparency + 0.1 | |
1742 | rng2.Transparency = rng2.Transparency + 1.01 | |
1743 | rng3.Transparency = rng3.Transparency + 0.01 | |
1744 | rng4.Transparency = rng4.Transparency + 0.01 | |
1745 | rng5.Transparency = rng5.Transparency + 0.01 | |
1746 | rng6.Transparency = rng6.Transparency + 0.021 | |
1747 | scaler = scaler - 0.125/5 | |
1748 | scaler2 = scaler2 - 0.1/5 | |
1749 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/0.5, scaler2/0.5, 1) | |
1750 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/0.6, scaler2/0.6, 1) | |
1751 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/0.7, scaler2/0.7, 1) | |
1752 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0) | |
1753 | rngm.Scale = rngm.Scale + Vector3.new(scaler2/9, scaler2/9, 9) | |
1754 | game:GetService("Debris"):AddItem(bv, 1) | |
1755 | end | |
1756 | hita:disconnect() | |
1757 | game:GetService("Debris"):AddItem(rng, 1) | |
1758 | game:GetService("Debris"):AddItem(rng2, 1) | |
1759 | game:GetService("Debris"):AddItem(rng3, 1) | |
1760 | game:GetService("Debris"):AddItem(rng4, 1) | |
1761 | game:GetService("Debris"):AddItem(rng5, 1) | |
1762 | attack = false | |
1763 | FZZ:Destroy() | |
1764 | end | |
1765 | ------ | |
1766 | function pew() | |
1767 | ||
1768 | local rng = Instance.new("Part", Mouse) | |
1769 | rng.Anchored = true | |
1770 | rng.BrickColor = BrickColor.new("White") | |
1771 | rng.CanCollide = false | |
1772 | rng.FormFactor = 3 | |
1773 | rng.Name = "Ring" | |
1774 | rng.Size = Vector3.new(1, 1, 1) | |
1775 | rng.Transparency = 0 | |
1776 | rng.TopSurface = 0 | |
1777 | rng.BottomSurface = 0 | |
1778 | rng.CFrame = RootPart.CFrame | |
1779 | local rngm = Instance.new("SpecialMesh", rng) | |
1780 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1781 | local rng2 = rng:Clone() | |
1782 | rng2.Parent = Character | |
1783 | local rng2m = rng2.Mesh | |
1784 | local rng3 = rng:Clone() | |
1785 | rng3.Parent = Character | |
1786 | local rng3m = rng3.Mesh | |
1787 | local rng4 = rng:Clone() | |
1788 | rng4.Parent = Character | |
1789 | local rng4m = rng4.Mesh | |
1790 | local rng5 = rng:Clone() | |
1791 | rng5.Parent = Character | |
1792 | local rng5m = rng5.Mesh | |
1793 | local rng6 = rng:Clone() | |
1794 | rng6.Material = "Plastic" | |
1795 | rng6.Parent = Character | |
1796 | local rng6m = rng6.Mesh | |
1797 | rng6m.Scale = vt(2.5,2.5,2) | |
1798 | rng6m.MeshType = "FileMesh" | |
1799 | rng6m.MeshId = "rbxassetid://437347603" | |
1800 | local hita = rng6.Touched:connect(function(hit) | |
1801 | Damagefunc(hit,27,37,math.random(20,30),"Normal",RightHand,.2,1) | |
1802 | end) | |
1803 | rng2.CFrame = RightHand.CFrame | |
1804 | rng3.CFrame = RightHand.CFrame | |
1805 | rng4.CFrame = RightHand.CFrame | |
1806 | rng5.CFrame = RightHand.CFrame | |
1807 | rng6.CFrame = RightHand.CFrame | |
1808 | wait() | |
1809 | local scaler = 10/5 | |
1810 | local scaler2 = 10/5 | |
1811 | for i = 0,10,0.1 do | |
1812 | swait() | |
1813 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*scaler2 | |
1814 | rng2.CFrame = rng2.CFrame + rng2.CFrame.lookVector*scaler2/1.4 | |
1815 | rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector*scaler2/1.6 | |
1816 | rng4.CFrame = rng4.CFrame + rng4.CFrame.lookVector*scaler2/2 | |
1817 | rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector*scaler2/5 | |
1818 | rng6.Size = rng6.Size + Vector3.new(scaler2/2.5, scaler2/2.5, scaler2/2.5) | |
1819 | rng6.CFrame = rng3.CFrame | |
1820 | rng.Transparency = rng.Transparency + 0.1 | |
1821 | rng2.Transparency = rng2.Transparency + 1.01 | |
1822 | rng3.Transparency = rng3.Transparency + 0.01 | |
1823 | rng4.Transparency = rng4.Transparency + 0.01 | |
1824 | rng5.Transparency = rng5.Transparency + 0.01 | |
1825 | rng6.Transparency = rng6.Transparency + 0.021 | |
1826 | scaler = scaler - 0.125/5 | |
1827 | scaler2 = scaler2 - 0.1/5 | |
1828 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 1.5) | |
1829 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/2, scaler2/2, 1) | |
1830 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0.5) | |
1831 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0) | |
1832 | rngm.Scale = rngm.Scale + Vector3.new(scaler2/9, scaler2/9, 9) | |
1833 | game:GetService("Debris"):AddItem(bv, 1) | |
1834 | end | |
1835 | hita:disconnect() | |
1836 | game:GetService("Debris"):AddItem(rng, 1) | |
1837 | game:GetService("Debris"):AddItem(rng2, 1) | |
1838 | game:GetService("Debris"):AddItem(rng3, 1) | |
1839 | game:GetService("Debris"):AddItem(rng4, 1) | |
1840 | game:GetService("Debris"):AddItem(rng5, 1) | |
1841 | attack = false | |
1842 | end | |
1843 | ------ | |
1844 | function longpunch() | |
1845 | ||
1846 | ||
1847 | local Sound = Instance.new("Sound",Character.UpperTorso)--136847657 | |
1848 | Sound.SoundId = "rbxassetid://157878578" | |
1849 | Sound.Pitch = 1 | |
1850 | Sound.Looped = false | |
1851 | Sound.Volume = 10 | |
1852 | Sound:play() | |
1853 | local rng = Instance.new("Part", Mouse) | |
1854 | rng.Anchored = true | |
1855 | rng.BrickColor = BrickColor.new("White") | |
1856 | rng.CanCollide = false | |
1857 | rng.FormFactor = 3 | |
1858 | rng.Name = "Ring" | |
1859 | rng.Size = Vector3.new(1, 1, 1) | |
1860 | rng.Transparency = 0 | |
1861 | rng.TopSurface = 0 | |
1862 | rng.BottomSurface = 0 | |
1863 | rng.CFrame = RootPart.CFrame | |
1864 | local rngm = Instance.new("SpecialMesh", rng) | |
1865 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1866 | local rng2 = rng:Clone() | |
1867 | rng2.Parent = Character | |
1868 | local rng2m = rng2.Mesh | |
1869 | local rng3 = rng:Clone() | |
1870 | rng3.Parent = Character | |
1871 | local rng3m = rng3.Mesh | |
1872 | local rng4 = rng:Clone() | |
1873 | rng4.Parent = Character | |
1874 | local rng4m = rng4.Mesh | |
1875 | local rng5 = rng:Clone() | |
1876 | rng5.Parent = Character | |
1877 | local rng5m = rng5.Mesh | |
1878 | local rng6 = rng:Clone() | |
1879 | rng6.Material = "Plastic" | |
1880 | rng6.Parent = Character | |
1881 | local rng6m = rng6.Mesh | |
1882 | rng6m.Scale = vt(3.5,3.5,3) | |
1883 | rng6m.MeshType = "FileMesh" | |
1884 | rng6m.MeshId = "rbxassetid://437347603" | |
1885 | local hita = rng6.Touched:connect(function(hit) | |
1886 | Damagefunc(hit,27,37,math.random(20,30),"Normal",RootPart,.2,1) | |
1887 | end) | |
1888 | rng2.CFrame = RootPart.CFrame | |
1889 | rng3.CFrame = RootPart.CFrame | |
1890 | rng4.CFrame = RootPart.CFrame | |
1891 | rng5.CFrame = RootPart.CFrame | |
1892 | rng6.CFrame = RootPart.CFrame | |
1893 | wait() | |
1894 | local Sound = Instance.new("Sound",rng6)--136847657 | |
1895 | Sound.SoundId = "rbxassetid://136847657" | |
1896 | Sound.Pitch = 1.1 | |
1897 | Sound.Looped = false | |
1898 | Sound.Volume = 10 | |
1899 | Sound:play() | |
1900 | local scaler = 10/5 | |
1901 | local scaler2 = 10/5 | |
1902 | for i = 0,10,0.1 do | |
1903 | swait() | |
1904 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*scaler2 | |
1905 | rng2.CFrame = rng2.CFrame + rng2.CFrame.lookVector*scaler2/0.15 | |
1906 | rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector*scaler2/0.2 | |
1907 | rng4.CFrame = rng4.CFrame + rng4.CFrame.lookVector*scaler2/0.25 | |
1908 | rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector*scaler2/5 | |
1909 | rng6.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3) | |
1910 | rng6.CFrame = rng3.CFrame | |
1911 | rng.Transparency = rng.Transparency + 0.1 | |
1912 | rng2.Transparency = rng2.Transparency + 1.01 | |
1913 | rng3.Transparency = rng3.Transparency + 0.01 | |
1914 | rng4.Transparency = rng4.Transparency + 0.01 | |
1915 | rng5.Transparency = rng5.Transparency + 0.01 | |
1916 | rng6.Transparency = rng6.Transparency + 0.021 | |
1917 | scaler = scaler - 0.125/5 | |
1918 | scaler2 = scaler2 - 0.1/5 | |
1919 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 1.5) | |
1920 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/2, scaler2/2, 1) | |
1921 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0.5) | |
1922 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0) | |
1923 | rngm.Scale = rngm.Scale + Vector3.new(scaler2/9, scaler2/9, 9) | |
1924 | game:GetService("Debris"):AddItem(bv, 1) | |
1925 | end | |
1926 | hita:disconnect() | |
1927 | game:GetService("Debris"):AddItem(rng, 1) | |
1928 | game:GetService("Debris"):AddItem(rng2, 1) | |
1929 | game:GetService("Debris"):AddItem(rng3, 1) | |
1930 | game:GetService("Debris"):AddItem(rng4, 1) | |
1931 | game:GetService("Debris"):AddItem(rng5, 1) | |
1932 | attack = false | |
1933 | end | |
1934 | ||
1935 | ||
1936 | ---- | |
1937 | ||
1938 | ||
1939 | function Pew() | |
1940 | if not D then D = false | |
1941 | Idle = true | |
1942 | for i = 0,2,0.1 do | |
1943 | swait() | |
1944 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,-1),.1) --LeftUpperArm | |
1945 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,1.55),.1)--RightUpperArm | |
1946 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerArm | |
1947 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,1),.1)--RightLowerArm | |
1948 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftUpperLeg | |
1949 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-1,0,0),.1)--RightUpperLeg | |
1950 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerLeg | |
1951 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
1952 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1953 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
1954 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
1955 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
1956 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,-1,0),.1)--Head | |
1957 | --game:GetService("RunService").RenderStepped:wait() | |
1958 | end | |
1959 | wait(0.7) | |
1960 | ||
1961 | coroutine.resume(coroutine.create(function() | |
1962 | for i = 1,1000 do | |
1963 | ||
1964 | game:GetService("RunService").RenderStepped:wait() | |
1965 | end | |
1966 | ||
1967 | end)) | |
1968 | for i = 0,2,0.1 do | |
1969 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-1,0,0),.1) --LeftUpperArm | |
1970 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,-1),.1)--RightUpperArm | |
1971 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerArm | |
1972 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightLowerArm | |
1973 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftUpperLeg | |
1974 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
1975 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerLeg | |
1976 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
1977 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Torso | |
1978 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
1979 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
1980 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
1981 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
1982 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0.4,0),.1)--Head | |
1983 | game:GetService("RunService").RenderStepped:wait() | |
1984 | end | |
1985 | superpunch() | |
1986 | Idle = false | |
1987 | wait(0.7) | |
1988 | D = false | |
1989 | end | |
1990 | end | |
1991 | ||
1992 | ||
1993 | function fade(obj, dest, grow) | |
1994 | spawn(function() | |
1995 | local oldcf = obj.CFrame | |
1996 | for i = 0, 10 do | |
1997 | if grow then | |
1998 | obj.Size = obj.Size +Vector3.new(1,1,1) | |
1999 | obj.CFrame = oldcf | |
2000 | end | |
2001 | obj.Transparency = obj.Transparency +0.1 | |
2002 | swait() | |
2003 | end | |
2004 | if dest then | |
2005 | obj:Destroy() | |
2006 | end | |
2007 | end) | |
2008 | end | |
2009 | ||
2010 | ||
2011 | function piu() | |
2012 | if not D then D = false | |
2013 | Idle = true | |
2014 | for i = 0,2,0.1 do | |
2015 | swait() | |
2016 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,-1),.1) --LeftUpperArm | |
2017 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,1.55),.1)--RightUpperArm | |
2018 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerArm | |
2019 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,1),.1)--RightLowerArm | |
2020 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftUpperLeg | |
2021 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-1,0,0),.1)--RightUpperLeg | |
2022 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerLeg | |
2023 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
2024 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Torso | |
2025 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(0,0.6,0.3),.1)--Head | |
2026 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
2027 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
2028 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
2029 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
2030 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,-1,0),.1)--Head | |
2031 | --game:GetService("RunService").RenderStepped:wait() | |
2032 | end | |
2033 | local FZcharge = Instance.new("ParticleEmitter",RightHand) | |
2034 | FZcharge.Texture = "rbxassetid://31727915" | |
2035 | FZcharge.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) | |
2036 | FZcharge.EmissionDirection = "Bottom" | |
2037 | FZcharge.Speed = NumberRange.new(5) | |
2038 | FZcharge.Size = NumberSequence.new(2,1) | |
2039 | FZcharge.Drag = 2 | |
2040 | FZcharge.LockedToPart = false | |
2041 | FZcharge.Lifetime = NumberRange.new(0.5) | |
2042 | FZcharge.Rate = 150 | |
2043 | FZcharge.LightEmission = 0 | |
2044 | FZcharge.Rotation = NumberRange.new(-100, 100) | |
2045 | FZcharge.VelocitySpread = 100 | |
2046 | coroutine.resume(coroutine.create(function() | |
2047 | for i = 1,15 do | |
2048 | local HQ = Instance.new("Part",Character) | |
2049 | HQ.Size = Vector3.new(1,0,1) | |
2050 | HQ.BrickColor = BrickColor.new("White") | |
2051 | HQ.Material = "Neon" | |
2052 | HQ.Anchored = true | |
2053 | HQ.CanCollide = false | |
2054 | HQ.CFrame = RootPart.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
2055 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
2056 | HQ2.MeshId = "rbxassetid://20329976" | |
2057 | HQ2.Scale = Vector3.new(1,1,1) | |
2058 | ||
2059 | coroutine.resume(coroutine.create(function() | |
2060 | for i = 1,200 do | |
2061 | HQ2.Scale = HQ2.Scale + Vector3.new(2,0,2) | |
2062 | HQ.Transparency = HQ.Transparency + 0.09 | |
2063 | wait(0.00000000001) | |
2064 | end | |
2065 | end)) | |
2066 | wait(0.3) | |
2067 | end | |
2068 | end)) | |
2069 | coroutine.resume(coroutine.create(function() | |
2070 | for i = 1,12 do | |
2071 | local HQ = Instance.new("Part",RightHand) | |
2072 | HQ.Size = Vector3.new(1,1,1) | |
2073 | HQ.BrickColor = BrickColor.new("White") | |
2074 | HQ.Material = "Neon" | |
2075 | HQ.Anchored = true | |
2076 | HQ.CanCollide = false | |
2077 | HQ.Transparency = 0.4 | |
2078 | HQ.CFrame = Character.RightHand.CFrame*CFrame.new(0,0,0) | |
2079 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
2080 | HQ2.MeshType = "Sphere" | |
2081 | HQ2.Scale = Vector3.new(1,1,1) | |
2082 | local ZQW = Instance.new("Part",RightHand) | |
2083 | ZQW.Size = Vector3.new(1,1,1) | |
2084 | ZQW.BrickColor = BrickColor.new("White") | |
2085 | ZQW.Material = "Neon" | |
2086 | ZQW.Transparency = 0.4 | |
2087 | ZQW.Anchored = true | |
2088 | ZQW.CanCollide = false | |
2089 | ZQW.CFrame = Character.RightHand.CFrame*CFrame.new(0,0,0) | |
2090 | local ZQW2 = Instance.new("SpecialMesh",ZQW) | |
2091 | ZQW2.MeshType = "Sphere" | |
2092 | ZQW2.Scale = Vector3.new(1,1,1) | |
2093 | local H = Instance.new("Part",RightHand) | |
2094 | H.Size = Vector3.new(1,1,1) | |
2095 | H.BrickColor = BrickColor.new("White") | |
2096 | H.CanCollide = false | |
2097 | H.Anchored = true | |
2098 | H.CFrame = Character.RightHand.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
2099 | local H2 = Instance.new("SpecialMesh",H) | |
2100 | H2.MeshId = "rbxassetid://9982590" | |
2101 | coroutine.resume(coroutine.create(function() | |
2102 | for i = 1,200 do | |
2103 | ZQW2.Scale = ZQW2.Scale + Vector3.new(0.3,0.3,0.3) | |
2104 | ZQW.Transparency = ZQW.Transparency + 0.1 | |
2105 | HQ2.Scale = HQ2.Scale + Vector3.new(0.3,0.3,0.3) | |
2106 | HQ.Transparency = HQ.Transparency + 0.1 | |
2107 | H2.Scale = H2.Scale + Vector3.new(0.3,0.3,0.3) | |
2108 | H.Transparency = H.Transparency + 0.2 | |
2109 | wait(0.00000000001) | |
2110 | end | |
2111 | HQ:Destroy() | |
2112 | H2:Destroy() | |
2113 | H:Destroy() | |
2114 | HQ2:Destroy() | |
2115 | ZQW:Destroy() | |
2116 | ZQW2:Destroy() | |
2117 | end)) | |
2118 | wait(0.3) | |
2119 | end | |
2120 | end)) | |
2121 | wait(0.5) | |
2122 | wait(4.5) | |
2123 | ||
2124 | ||
2125 | for i = 0,1.5,0.1 do | |
2126 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-1.2,0,0.5),.1) --LeftUpperArm | |
2127 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,-0.8),.1)--RightUpperArm | |
2128 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerArm | |
2129 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(.6,0,-0.6),.1)--RightLowerArm | |
2130 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftUpperLeg | |
2131 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-1,0,0),.1)--RightUpperLeg | |
2132 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerLeg | |
2133 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-1,0,0),.1)--RightUpperLeg | |
2134 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,5,1),.1)--Torso | |
2135 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(.5,.2,.3),.1)--Head | |
2136 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
2137 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
2138 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
2139 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
2140 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-0.3,1,0),.1)--Head | |
2141 | game:GetService("RunService").RenderStepped:wait() | |
2142 | end | |
2143 | ||
2144 | ||
2145 | coroutine.resume(coroutine.create(function() | |
2146 | for i = 1,3 do | |
2147 | local HQ = Instance.new("Part",Character) | |
2148 | HQ.Size = Vector3.new(1,1,1) | |
2149 | HQ.BrickColor = BrickColor.new("White") | |
2150 | HQ.Material = "Neon" | |
2151 | HQ.Anchored = true | |
2152 | HQ.CanCollide = false | |
2153 | HQ.CFrame = RootPart.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(1.55,0,0) | |
2154 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
2155 | HQ2.MeshId = "rbxassetid://20329976" | |
2156 | HQ2.Scale = Vector3.new(1,1,1) | |
2157 | ||
2158 | coroutine.resume(coroutine.create(function() | |
2159 | for i = 1,200 do | |
2160 | HQ2.Scale = HQ2.Scale + Vector3.new(20,20,20) | |
2161 | HQ.Transparency = HQ.Transparency + 0.09 | |
2162 | wait(0.00000000001) | |
2163 | end | |
2164 | end)) | |
2165 | wait(0.3) | |
2166 | end | |
2167 | end)) | |
2168 | coroutine.resume(coroutine.create(function() | |
2169 | for i = 3,5 do | |
2170 | local HQ = Instance.new("Part",Character) | |
2171 | HQ.Size = Vector3.new(1,0,1) | |
2172 | HQ.BrickColor = BrickColor.new("White") | |
2173 | HQ.Material = "Neon" | |
2174 | HQ.Anchored = true | |
2175 | HQ.CanCollide = false | |
2176 | HQ.CFrame = RootPart.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
2177 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
2178 | HQ2.MeshId = "rbxassetid://20329976" | |
2179 | HQ2.Scale = Vector3.new(1,1,1) | |
2180 | local HQR = Instance.new("Part",Character) | |
2181 | HQR.Size = Vector3.new(1,0,1) | |
2182 | HQR.BrickColor = BrickColor.new("White") | |
2183 | HQR.Material = "Neon" | |
2184 | HQR.Anchored = true | |
2185 | HQR.CanCollide = false | |
2186 | HQR.CFrame = RootPart.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
2187 | local HQR2 = Instance.new("SpecialMesh",HQR) | |
2188 | HQR2.MeshId = "rbxassetid://3270017" | |
2189 | HQR2.Scale = Vector3.new(1,1,1) | |
2190 | ||
2191 | coroutine.resume(coroutine.create(function() | |
2192 | for i = 1,200 do | |
2193 | HQ2.Scale = HQ2.Scale + Vector3.new(7,0,7) | |
2194 | HQ.Transparency = HQ.Transparency + 0.09 | |
2195 | HQR2.Scale = HQR2.Scale + Vector3.new(30,34,0) | |
2196 | HQR.Transparency = HQR.Transparency + 0.09 | |
2197 | wait(0.00000000001) | |
2198 | end | |
2199 | HQ:Destroy() | |
2200 | HQ2:Destroy() | |
2201 | HQR:Destroy() | |
2202 | HQR2:Destroy() | |
2203 | end)) | |
2204 | wait(0.3) | |
2205 | end | |
2206 | end)) | |
2207 | ||
2208 | ||
2209 | ||
2210 | ||
2211 | FZcharge:Destroy() | |
2212 | killbrick2 = Instance.new("Part",Character) | |
2213 | killbrick2.Size = Vector3.new(80,80,9000) | |
2214 | killbrick2.Transparency = 1 | |
2215 | ||
2216 | killbrick2.CanCollide = true | |
2217 | wait(0.001) | |
2218 | killbrick2.CanCollide = false | |
2219 | ||
2220 | killbrick2.Anchored = true | |
2221 | ||
2222 | killbrick2.CFrame = RootPart.CFrame * CFrame.new(0,0,-1005) | |
2223 | ||
2224 | killbrick2.Touched:connect(function(h) | |
2225 | local x = h.Parent:FindFirstChildOfClass("Humanoid") | |
2226 | if x then | |
2227 | if x.Parent.Name == game.Players.LocalPlayer.Name then | |
2228 | safe = true | |
2229 | else safe = false | |
2230 | end | |
2231 | if x then | |
2232 | if safe == false then | |
2233 | h.Parent.Torso.Velocity = CFrame.new(Character.Head.Position,h.Parent.Torso.Position).lookVector * 0 | |
2234 | local bodyforc = Instance.new("BodyForce", h.Parent.Torso) | |
2235 | bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 0, 0) | |
2236 | ||
2237 | ||
2238 | wait(0) | |
2239 | x.Parent:BreakJoints() | |
2240 | wait(1) | |
2241 | x.Parent:Destroy() | |
2242 | wait() | |
2243 | safe = true | |
2244 | end | |
2245 | end | |
2246 | end | |
2247 | end) | |
2248 | fcpunch() | |
2249 | wait(0.7) | |
2250 | Idle = false | |
2251 | killbrick2:Destroy() | |
2252 | wait(0.2) | |
2253 | D = false | |
2254 | end | |
2255 | end | |
2256 | ||
2257 | ||
2258 | ||
2259 | function KickBoom() | |
2260 | ||
2261 | local Sound = Instance.new("Sound",Character.UpperTorso)--136847657 | |
2262 | Sound.SoundId = "rbxassetid://142070127" | |
2263 | Sound.Pitch = 1 | |
2264 | Sound.Looped = false | |
2265 | Sound.Volume = 10 | |
2266 | Sound:play() | |
2267 | local Sound = Instance.new("Sound",Character.UpperTorso)--136847657 | |
2268 | Sound.SoundId = "rbxassetid://169628396" | |
2269 | Sound.Pitch = 1 | |
2270 | Sound.Looped = false | |
2271 | Sound.Volume = 10 | |
2272 | Sound:play() | |
2273 | local effspwn = Instance.new("Part") | |
2274 | local model = Instance.new("Model") | |
2275 | game.Debris:AddItem(model, 20) | |
2276 | model.Name = "smasheffects" | |
2277 | model.Parent = Character | |
2278 | effspwn.Name = "spwnr" | |
2279 | effspwn.Size = Vector3.new(1, 1, 1) | |
2280 | effspwn.Anchored = true | |
2281 | effspwn.CanCollide = false | |
2282 | effspwn.Transparency = 1 | |
2283 | effspwn.CFrame = Head.CFrame * CFrame.Angles(math.rad(180), 0, 0) | |
2284 | effspwn.Parent = model | |
2285 | ||
2286 | ||
2287 | for i = 1, 15 do | |
2288 | local gtrace = Instance.new("Part",game.Workspace) | |
2289 | gtrace.BrickColor = BrickColor.new("Grey") | |
2290 | gtrace.Material = "Slate" | |
2291 | gtrace.Size = Vector3.new(31,31,31) | |
2292 | gtrace.Anchored = true | |
2293 | gtrace.CanCollide = true | |
2294 | gtrace.CFrame = (Character.HumanoidRootPart.CFrame + Vector3.new(math.random(-70,70),-6,math.random(-70,70))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
2295 | local gdisp = coroutine.wrap(function() | |
2296 | wait(12) | |
2297 | for i = 1, 9 do | |
2298 | wait(.1) | |
2299 | gtrace.Transparency = gtrace.Transparency + .1 | |
2300 | end | |
2301 | gtrace:Destroy() | |
2302 | end) | |
2303 | gdisp() | |
2304 | end | |
2305 | ||
2306 | ||
2307 | for i,v in pairs(FindNearestTorso(UpperTorso.CFrame.p,50))do | |
2308 | if v:FindFirstChild('Humanoid') then | |
2309 | v.Humanoid:TakeDamage(math.random(12040,12040)) | |
2310 | v.Humanoid.PlatformStand = true | |
2311 | v:FindFirstChild("Torso").Velocity = UpperTorso.CFrame.lookVector * 250 | |
2312 | end | |
2313 | end | |
2314 | ||
2315 | ||
2316 | local H33 = Instance.new("Part",Character) | |
2317 | H33.Size = Vector3.new(1,1,1) | |
2318 | H33.BrickColor = BrickColor.new("White") | |
2319 | H33.CanCollide = false | |
2320 | H33.Anchored = true | |
2321 | H33.CFrame = Character.UpperTorso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(1.55,0,0) | |
2322 | local H233 = Instance.new("SpecialMesh",H33) | |
2323 | H233.MeshId = "rbxassetid://3270017" | |
2324 | local H333 = Instance.new("Part",Character) | |
2325 | H333.Size = Vector3.new(1,1,1) | |
2326 | H333.BrickColor = BrickColor.new("White") | |
2327 | H333.CanCollide = false | |
2328 | H333.Anchored = true | |
2329 | H333.CFrame = Character.UpperTorso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,1.55,0) | |
2330 | local H2333 = Instance.new("SpecialMesh",H333) | |
2331 | H2333.MeshId = "rbxassetid://3270017" | |
2332 | local H4 = Instance.new("Part",Character) | |
2333 | H4.Size = Vector3.new(1,1,1) | |
2334 | H4.BrickColor = BrickColor.new("White") | |
2335 | H4.CanCollide = false | |
2336 | H4.Anchored = true | |
2337 | H4.CFrame = Character.UpperTorso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,0,1.75) | |
2338 | local H24 = Instance.new("SpecialMesh",H4) | |
2339 | H24.MeshId = "rbxassetid://3270017" | |
2340 | coroutine.resume(coroutine.create(function() | |
2341 | for i = 1,200 do | |
2342 | H233.Scale = H233.Scale + Vector3.new(16,16,16) | |
2343 | H33.Transparency = H33.Transparency + 0.02 | |
2344 | H2333.Scale = H2333.Scale + Vector3.new(17,17,17) | |
2345 | H333.Transparency = H333.Transparency + 0.02 | |
2346 | H24.Scale = H24.Scale + Vector3.new(17,17,17) | |
2347 | H4.Transparency = H4.Transparency + 0.02 | |
2348 | wait(0.00000000001) | |
2349 | end | |
2350 | end)) | |
2351 | ||
2352 | ||
2353 | coroutine.resume(coroutine.create(function() | |
2354 | local shok = Instance.new("Part") | |
2355 | shok.Name = "shock3" | |
2356 | shok.BrickColor = BrickColor.new("Institutional white") | |
2357 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
2358 | shok.Size = Vector3.new(1, 1, 1) | |
2359 | shok.Anchored = true | |
2360 | shok.Material = "Neon" | |
2361 | shok.Transparency = 0.35 | |
2362 | shok.CanCollide = false | |
2363 | shok.Parent = model | |
2364 | game.Debris:AddItem(shok, 12) | |
2365 | local mesh = Instance.new("SpecialMesh") | |
2366 | mesh.MeshType = "FileMesh" | |
2367 | mesh.MeshId = "rbxassetid://" | |
2368 | mesh.Scale = Vector3.new(1, 1, 1) | |
2369 | mesh.Parent = shok | |
2370 | for e = 1, 15 do | |
2371 | wait() | |
2372 | mesh.Scale = mesh.Scale + Vector3.new(1, 2.6, 1) | |
2373 | shok.Transparency = shok.Transparency + 0.004 | |
2374 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2375 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2376 | end | |
2377 | for e = 1, 16 do | |
2378 | wait() | |
2379 | mesh.Scale = mesh.Scale + Vector3.new(1, 2, 1) | |
2380 | shok.Transparency = shok.Transparency + 0.004 | |
2381 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2382 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2383 | end | |
2384 | for e = 1, 12 do | |
2385 | wait() | |
2386 | mesh.Scale = mesh.Scale + Vector3.new(1, 2, 1) | |
2387 | shok.Transparency = shok.Transparency + 0.06 | |
2388 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2389 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2390 | end | |
2391 | end)) | |
2392 | ||
2393 | ||
2394 | coroutine.resume(coroutine.create(function() | |
2395 | local shok = Instance.new("Part") | |
2396 | shok.Name = "shock3" | |
2397 | shok.BrickColor = BrickColor.new("Lily white") | |
2398 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
2399 | shok.Size = Vector3.new(1, 1, 1) | |
2400 | shok.Anchored = true | |
2401 | shok.Material = "Neon" | |
2402 | shok.Transparency = 0.1 | |
2403 | shok.CanCollide = false | |
2404 | shok.Parent = model | |
2405 | game.Debris:AddItem(shok, 12) | |
2406 | local mesh = Instance.new("SpecialMesh") | |
2407 | mesh.MeshType = "FileMesh" | |
2408 | mesh.MeshId = "rbxassetid://1095708" | |
2409 | mesh.Scale = Vector3.new(47, 47, 47) | |
2410 | mesh.Parent = shok | |
2411 | for e = 1, 15 do | |
2412 | wait() | |
2413 | mesh.Scale = mesh.Scale + Vector3.new(3, 4.6, 3) | |
2414 | shok.Transparency = shok.Transparency + 0.04 | |
2415 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2416 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2417 | end | |
2418 | for e = 1, 16 do | |
2419 | wait() | |
2420 | mesh.Scale = mesh.Scale + Vector3.new(3, 4.6, 3) | |
2421 | shok.Transparency = shok.Transparency + 0.04 | |
2422 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2423 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2424 | shok.BrickColor = BrickColor.new("Grey") | |
2425 | end | |
2426 | for e = 1, 12 do | |
2427 | wait() | |
2428 | mesh.Scale = mesh.Scale + Vector3.new(3, -1, 3) | |
2429 | shok.Transparency = shok.Transparency + 0.004 | |
2430 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2431 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2432 | end | |
2433 | end)) | |
2434 | ||
2435 | coroutine.resume(coroutine.create(function() | |
2436 | local shok = Instance.new("Part") | |
2437 | shok.Name = "shock3" | |
2438 | shok.BrickColor = BrickColor.new("Institutional white") | |
2439 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
2440 | shok.Size = Vector3.new(1, 1, 1) | |
2441 | shok.Anchored = true | |
2442 | shok.Material = "Neon" | |
2443 | shok.Transparency = 0.35 | |
2444 | shok.CanCollide = false | |
2445 | shok.Parent = model | |
2446 | game.Debris:AddItem(shok, 12) | |
2447 | local mesh = Instance.new("SpecialMesh") | |
2448 | mesh.MeshType = "FileMesh" | |
2449 | mesh.MeshId = "rbxassetid://549734488" | |
2450 | mesh.Scale = Vector3.new(1, 1, 1) | |
2451 | mesh.Parent = shok | |
2452 | for e = 1, 15 do | |
2453 | wait() | |
2454 | mesh.Scale = mesh.Scale + Vector3.new(0.2, 0.2, 0.2) | |
2455 | shok.Transparency = shok.Transparency + 0.004 | |
2456 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2457 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
2458 | end | |
2459 | for e = 1, 16 do | |
2460 | wait() | |
2461 | mesh.Scale = mesh.Scale + Vector3.new(0.2, 0.2, 0.2) | |
2462 | shok.Transparency = shok.Transparency + 0.004 | |
2463 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2464 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2465 | end | |
2466 | for e = 1, 12 do | |
2467 | wait() | |
2468 | mesh.Scale = mesh.Scale + Vector3.new(0.2, 0.2, 0.2) | |
2469 | shok.Transparency = shok.Transparency + 0.06 | |
2470 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2471 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2472 | end | |
2473 | end)) | |
2474 | end | |
2475 | -- | |
2476 | function chow() | |
2477 | ||
2478 | local Sound = Instance.new("Sound",hit)--136847657 | |
2479 | Sound.SoundId = "rbxassetid://142070127" | |
2480 | Sound.Pitch = 1 | |
2481 | Sound.Looped = false | |
2482 | Sound.Volume = 10 | |
2483 | Sound:play() | |
2484 | local Sound = Instance.new("Sound",hit)--136847657 | |
2485 | Sound.SoundId = "rbxassetid://169628396" | |
2486 | Sound.Pitch = 1 | |
2487 | Sound.Looped = false | |
2488 | Sound.Volume = 10 | |
2489 | Sound:play() | |
2490 | local effspwn = Instance.new("Part") | |
2491 | local model = Instance.new("Model") | |
2492 | game.Debris:AddItem(model, 20) | |
2493 | model.Name = "smasheffects" | |
2494 | model.Parent = Character | |
2495 | effspwn.Name = "spwnr" | |
2496 | effspwn.Size = Vector3.new(1, 1, 1) | |
2497 | effspwn.Anchored = true | |
2498 | effspwn.CanCollide = false | |
2499 | effspwn.Transparency = 1 | |
2500 | effspwn.CFrame = Head.CFrame * CFrame.Angles(math.rad(180), 0, 0) | |
2501 | effspwn.Parent = model | |
2502 | ||
2503 | ||
2504 | for i = 1, 15 do | |
2505 | local gtrace = Instance.new("Part",game.Workspace) | |
2506 | gtrace.BrickColor = BrickColor.new("Grey") | |
2507 | gtrace.Material = "Slate" | |
2508 | gtrace.Size = Vector3.new(31,31,31) | |
2509 | gtrace.Anchored = true | |
2510 | gtrace.CanCollide = true | |
2511 | gtrace.CFrame = (hit.CFrame + Vector3.new(math.random(-70,70),-6,math.random(-70,70))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
2512 | local gdisp = coroutine.wrap(function() | |
2513 | wait(12) | |
2514 | for i = 1, 9 do | |
2515 | wait(.1) | |
2516 | gtrace.Transparency = gtrace.Transparency + .1 | |
2517 | end | |
2518 | gtrace:Destroy() | |
2519 | end) | |
2520 | gdisp() | |
2521 | end | |
2522 | ||
2523 | ||
2524 | for i,v in pairs(FindNearestTorso(UpperTorso.CFrame.p,50))do | |
2525 | if v:FindFirstChild('Humanoid') then | |
2526 | v.Humanoid:TakeDamage(math.random(12040,12040)) | |
2527 | v.Humanoid.PlatformStand = true | |
2528 | v:FindFirstChild("Torso").Velocity = UpperTorso.CFrame.lookVector * 250 | |
2529 | end | |
2530 | end | |
2531 | ||
2532 | ||
2533 | local H33 = Instance.new("Part",Character) | |
2534 | H33.Size = Vector3.new(1,1,1) | |
2535 | H33.BrickColor = BrickColor.new("White") | |
2536 | H33.CanCollide = false | |
2537 | H33.Anchored = true | |
2538 | H33.CFrame = hit.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(1.55,0,0) | |
2539 | local H233 = Instance.new("SpecialMesh",H33) | |
2540 | H233.MeshId = "rbxassetid://3270017" | |
2541 | local H333 = Instance.new("Part",Character) | |
2542 | H333.Size = Vector3.new(1,1,1) | |
2543 | H333.BrickColor = BrickColor.new("White") | |
2544 | H333.CanCollide = false | |
2545 | H333.Anchored = true | |
2546 | H333.CFrame = hit.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,1.55,0) | |
2547 | local H2333 = Instance.new("SpecialMesh",H333) | |
2548 | H2333.MeshId = "rbxassetid://3270017" | |
2549 | local H4 = Instance.new("Part",Character) | |
2550 | H4.Size = Vector3.new(1,1,1) | |
2551 | H4.BrickColor = BrickColor.new("White") | |
2552 | H4.CanCollide = false | |
2553 | H4.Anchored = true | |
2554 | H4.CFrame = hit.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,0,1.75) | |
2555 | local H24 = Instance.new("SpecialMesh",H4) | |
2556 | H24.MeshId = "rbxassetid://3270017" | |
2557 | coroutine.resume(coroutine.create(function() | |
2558 | for i = 1,200 do | |
2559 | H233.Scale = H233.Scale + Vector3.new(16,16,16) | |
2560 | H33.Transparency = H33.Transparency + 0.02 | |
2561 | H2333.Scale = H2333.Scale + Vector3.new(17,17,17) | |
2562 | H333.Transparency = H333.Transparency + 0.02 | |
2563 | H24.Scale = H24.Scale + Vector3.new(17,17,17) | |
2564 | H4.Transparency = H4.Transparency + 0.02 | |
2565 | wait(0.00000000001) | |
2566 | end | |
2567 | end)) | |
2568 | ||
2569 | ||
2570 | coroutine.resume(coroutine.create(function() | |
2571 | local shok = Instance.new("Part") | |
2572 | shok.Name = "shock3" | |
2573 | shok.BrickColor = BrickColor.new("Institutional white") | |
2574 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
2575 | shok.Size = Vector3.new(1, 1, 1) | |
2576 | shok.Anchored = true | |
2577 | shok.Material = "Neon" | |
2578 | shok.Transparency = 0.35 | |
2579 | shok.CanCollide = false | |
2580 | shok.Parent = model | |
2581 | game.Debris:AddItem(shok, 12) | |
2582 | local mesh = Instance.new("SpecialMesh") | |
2583 | mesh.MeshType = "FileMesh" | |
2584 | mesh.MeshId = "rbxassetid://" | |
2585 | mesh.Scale = Vector3.new(1, 1, 1) | |
2586 | mesh.Parent = shok | |
2587 | for e = 1, 15 do | |
2588 | wait() | |
2589 | mesh.Scale = mesh.Scale + Vector3.new(1, 2.6, 1) | |
2590 | shok.Transparency = shok.Transparency + 0.004 | |
2591 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2592 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2593 | end | |
2594 | for e = 1, 16 do | |
2595 | wait() | |
2596 | mesh.Scale = mesh.Scale + Vector3.new(1, 2, 1) | |
2597 | shok.Transparency = shok.Transparency + 0.004 | |
2598 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2599 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2600 | end | |
2601 | for e = 1, 12 do | |
2602 | wait() | |
2603 | mesh.Scale = mesh.Scale + Vector3.new(1, 2, 1) | |
2604 | shok.Transparency = shok.Transparency + 0.06 | |
2605 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2606 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2607 | end | |
2608 | end)) | |
2609 | ||
2610 | ||
2611 | coroutine.resume(coroutine.create(function() | |
2612 | local shok = Instance.new("Part") | |
2613 | shok.Name = "shock3" | |
2614 | shok.BrickColor = BrickColor.new("Lily white") | |
2615 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
2616 | shok.Size = Vector3.new(1, 1, 1) | |
2617 | shok.Anchored = true | |
2618 | shok.Material = "Neon" | |
2619 | shok.Transparency = 0.1 | |
2620 | shok.CanCollide = false | |
2621 | shok.Parent = model | |
2622 | game.Debris:AddItem(shok, 12) | |
2623 | local mesh = Instance.new("SpecialMesh") | |
2624 | mesh.MeshType = "FileMesh" | |
2625 | mesh.MeshId = "rbxassetid://1095708" | |
2626 | mesh.Scale = Vector3.new(47, 47, 47) | |
2627 | mesh.Parent = shok | |
2628 | for e = 1, 15 do | |
2629 | wait() | |
2630 | mesh.Scale = mesh.Scale + Vector3.new(3, 4.6, 3) | |
2631 | shok.Transparency = shok.Transparency + 0.04 | |
2632 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2633 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2634 | end | |
2635 | for e = 1, 16 do | |
2636 | wait() | |
2637 | mesh.Scale = mesh.Scale + Vector3.new(3, 4.6, 3) | |
2638 | shok.Transparency = shok.Transparency + 0.04 | |
2639 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2640 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2641 | shok.BrickColor = BrickColor.new("Grey") | |
2642 | end | |
2643 | for e = 1, 12 do | |
2644 | wait() | |
2645 | mesh.Scale = mesh.Scale + Vector3.new(3, -1, 3) | |
2646 | shok.Transparency = shok.Transparency + 0.004 | |
2647 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2648 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2649 | end | |
2650 | end)) | |
2651 | ||
2652 | coroutine.resume(coroutine.create(function() | |
2653 | local shok = Instance.new("Part") | |
2654 | shok.Name = "shock3" | |
2655 | shok.BrickColor = BrickColor.new("Institutional white") | |
2656 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
2657 | shok.Size = Vector3.new(1, 1, 1) | |
2658 | shok.Anchored = true | |
2659 | shok.Material = "Neon" | |
2660 | shok.Transparency = 0.35 | |
2661 | shok.CanCollide = false | |
2662 | shok.Parent = model | |
2663 | game.Debris:AddItem(shok, 12) | |
2664 | local mesh = Instance.new("SpecialMesh") | |
2665 | mesh.MeshType = "FileMesh" | |
2666 | mesh.MeshId = "rbxassetid://549734488" | |
2667 | mesh.Scale = Vector3.new(1, 1, 1) | |
2668 | mesh.Parent = shok | |
2669 | for e = 1, 15 do | |
2670 | wait() | |
2671 | mesh.Scale = mesh.Scale + Vector3.new(0.2, 0.2, 0.2) | |
2672 | shok.Transparency = shok.Transparency + 0.004 | |
2673 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2674 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
2675 | end | |
2676 | for e = 1, 16 do | |
2677 | wait() | |
2678 | mesh.Scale = mesh.Scale + Vector3.new(0.2, 0.2, 0.2) | |
2679 | shok.Transparency = shok.Transparency + 0.004 | |
2680 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2681 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2682 | end | |
2683 | for e = 1, 12 do | |
2684 | wait() | |
2685 | mesh.Scale = mesh.Scale + Vector3.new(0.2, 0.2, 0.2) | |
2686 | shok.Transparency = shok.Transparency + 0.06 | |
2687 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2688 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2689 | end | |
2690 | end)) | |
2691 | end | |
2692 | -- | |
2693 | Mouse.KeyDown:connect(function(k) | |
2694 | if k:byte() == 48 then | |
2695 | ||
2696 | ||
2697 | Humanoid.WalkSpeed = 200 | |
2698 | end | |
2699 | end) | |
2700 | ||
2701 | Mouse.KeyUp:connect(function(k) | |
2702 | if k:byte() == 48 then | |
2703 | ||
2704 | Humanoid.WalkSpeed = 16 | |
2705 | end | |
2706 | end) | |
2707 | ||
2708 | -- | |
2709 | function SeriousSlam() | |
2710 | ||
2711 | local Sound = Instance.new("Sound",Character.UpperTorso)--136847657 | |
2712 | Sound.SoundId = "rbxassetid://142070127" | |
2713 | Sound.Pitch = 1 | |
2714 | Sound.Looped = false | |
2715 | Sound.Volume = 10 | |
2716 | Sound:play() | |
2717 | local Sound = Instance.new("Sound",Character.UpperTorso)--136847657 | |
2718 | Sound.SoundId = "rbxassetid://169628396" | |
2719 | Sound.Pitch = 1 | |
2720 | Sound.Looped = false | |
2721 | Sound.Volume = 10 | |
2722 | Sound:play() | |
2723 | local effspwn = Instance.new("Part") | |
2724 | local model = Instance.new("Model") | |
2725 | game.Debris:AddItem(model, 20) | |
2726 | model.Name = "smasheffects" | |
2727 | model.Parent = Character | |
2728 | effspwn.Name = "spwnr" | |
2729 | effspwn.Size = Vector3.new(1, 1, 1) | |
2730 | effspwn.Anchored = true | |
2731 | effspwn.CanCollide = false | |
2732 | effspwn.Transparency = 1 | |
2733 | effspwn.CFrame = Head.CFrame * CFrame.Angles(math.rad(180), 0, 0) | |
2734 | effspwn.Parent = model | |
2735 | ||
2736 | ||
2737 | for i = 1, 15 do | |
2738 | local gtrace = Instance.new("Part",game.Workspace) | |
2739 | gtrace.BrickColor = BrickColor.new("Grey") | |
2740 | gtrace.Material = "Slate" | |
2741 | gtrace.Size = Vector3.new(91,91,91) | |
2742 | gtrace.Anchored = true | |
2743 | gtrace.CanCollide = true | |
2744 | gtrace.CFrame = (Character.HumanoidRootPart.CFrame + Vector3.new(math.random(-240,240),-6,math.random(-240,240))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(76)),math.random(0,math.rad(90)),math.random(0,math.rad(360))) | |
2745 | ||
2746 | local gdisp = coroutine.wrap(function() | |
2747 | wait(18) | |
2748 | for i = 1, 9 do | |
2749 | wait(.1) | |
2750 | gtrace.Transparency = gtrace.Transparency + .1 | |
2751 | end | |
2752 | gtrace:Destroy() | |
2753 | end) | |
2754 | gdisp() | |
2755 | end | |
2756 | ||
2757 | ||
2758 | ||
2759 | local exp = Instance.new("Explosion",Character) | |
2760 | exp.BlastRadius = 147.5 | |
2761 | exp.BlastPressure = 200 | |
2762 | exp.Position = Character.HumanoidRootPart.Position | |
2763 | exp.Visible = false | |
2764 | ||
2765 | ||
2766 | ||
2767 | ||
2768 | ||
2769 | for i,v in pairs(FindNearestTorso(UpperTorso.CFrame.p,50))do | |
2770 | if v:FindFirstChild('Humanoid') then | |
2771 | v.Humanoid:TakeDamage(math.random(1129431924919202,1129431924919202)) | |
2772 | v.Humanoid.PlatformStand = true | |
2773 | v:FindFirstChild("Torso").Velocity = UpperTorso.CFrame.lookVector * 5 | |
2774 | end | |
2775 | end | |
2776 | ||
2777 | ||
2778 | ||
2779 | local H33 = Instance.new("Part",Character) | |
2780 | H33.Size = Vector3.new(1,1,1) | |
2781 | H33.BrickColor = BrickColor.new("White") | |
2782 | H33.CanCollide = false | |
2783 | H33.Anchored = true | |
2784 | H33.CFrame = Character.UpperTorso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(1.55,0,0) | |
2785 | local H233 = Instance.new("SpecialMesh",H33) | |
2786 | H233.MeshId = "rbxassetid://3270017" | |
2787 | local H333 = Instance.new("Part",Character) | |
2788 | H333.Size = Vector3.new(1,1,1) | |
2789 | H333.BrickColor = BrickColor.new("White") | |
2790 | H333.CanCollide = false | |
2791 | H333.Anchored = true | |
2792 | H333.CFrame = Character.UpperTorso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,1.55,0) | |
2793 | local H2333 = Instance.new("SpecialMesh",H333) | |
2794 | H2333.MeshId = "rbxassetid://3270017" | |
2795 | local H4 = Instance.new("Part",Character) | |
2796 | H4.Size = Vector3.new(1,1,1) | |
2797 | H4.BrickColor = BrickColor.new("White") | |
2798 | H4.CanCollide = false | |
2799 | H4.Anchored = true | |
2800 | H4.CFrame = Character.UpperTorso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,0,1.75) | |
2801 | local H24 = Instance.new("SpecialMesh",H4) | |
2802 | H24.MeshId = "rbxassetid://3270017" | |
2803 | coroutine.resume(coroutine.create(function() | |
2804 | for i = 1,200 do | |
2805 | H233.Scale = H233.Scale + Vector3.new(36,36,36) | |
2806 | H33.Transparency = H33.Transparency + 0.02 | |
2807 | H2333.Scale = H2333.Scale + Vector3.new(37,37,37) | |
2808 | H333.Transparency = H333.Transparency + 0.02 | |
2809 | H24.Scale = H24.Scale + Vector3.new(37,37,37) | |
2810 | H4.Transparency = H4.Transparency + 0.02 | |
2811 | wait(0.00000000001) | |
2812 | end | |
2813 | end)) | |
2814 | ||
2815 | ||
2816 | coroutine.resume(coroutine.create(function() | |
2817 | local shok = Instance.new("Part") | |
2818 | shok.Name = "shock3" | |
2819 | shok.BrickColor = BrickColor.new("Institutional white") | |
2820 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
2821 | shok.Size = Vector3.new(1, 1, 1) | |
2822 | shok.Anchored = true | |
2823 | shok.Material = "Neon" | |
2824 | shok.Transparency = 0.35 | |
2825 | shok.CanCollide = false | |
2826 | shok.Parent = model | |
2827 | game.Debris:AddItem(shok, 12) | |
2828 | local mesh = Instance.new("SpecialMesh") | |
2829 | mesh.MeshType = "FileMesh" | |
2830 | mesh.MeshId = "rbxassetid://" | |
2831 | mesh.Scale = Vector3.new(1, 1, 1) | |
2832 | mesh.Parent = shok | |
2833 | for e = 1, 15 do | |
2834 | wait() | |
2835 | mesh.Scale = mesh.Scale + Vector3.new(15, 20.6, 15) | |
2836 | shok.Transparency = shok.Transparency + 0.004 | |
2837 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2838 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2839 | end | |
2840 | for e = 1, 16 do | |
2841 | wait() | |
2842 | mesh.Scale = mesh.Scale + Vector3.new(1, 2, 1) | |
2843 | shok.Transparency = shok.Transparency + 0.004 | |
2844 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2845 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2846 | end | |
2847 | for e = 1, 12 do | |
2848 | wait() | |
2849 | mesh.Scale = mesh.Scale + Vector3.new(1, 2, 1) | |
2850 | shok.Transparency = shok.Transparency + 0.06 | |
2851 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2852 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2853 | end | |
2854 | end)) | |
2855 | ||
2856 | ||
2857 | coroutine.resume(coroutine.create(function() | |
2858 | local shok = Instance.new("Part") | |
2859 | shok.Name = "shock3" | |
2860 | shok.BrickColor = BrickColor.new("Lily white") | |
2861 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
2862 | shok.Size = Vector3.new(1, 1, 1) | |
2863 | shok.Anchored = true | |
2864 | shok.Material = "Neon" | |
2865 | shok.Transparency = 0.1 | |
2866 | shok.CanCollide = false | |
2867 | shok.Parent = model | |
2868 | game.Debris:AddItem(shok, 12) | |
2869 | local mesh = Instance.new("SpecialMesh") | |
2870 | mesh.MeshType = "FileMesh" | |
2871 | mesh.MeshId = "rbxassetid://1095708" | |
2872 | mesh.Scale = Vector3.new(67, 67, 47) | |
2873 | mesh.Parent = shok | |
2874 | for e = 1, 15 do | |
2875 | wait() | |
2876 | mesh.Scale = mesh.Scale + Vector3.new(3, 4.6, 3) | |
2877 | shok.Transparency = shok.Transparency + 0.04 | |
2878 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2879 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2880 | end | |
2881 | for e = 1, 16 do | |
2882 | wait() | |
2883 | mesh.Scale = mesh.Scale + Vector3.new(3, 4.6, 3) | |
2884 | shok.Transparency = shok.Transparency + 0.04 | |
2885 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2886 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2887 | shok.BrickColor = BrickColor.new("Grey") | |
2888 | end | |
2889 | for e = 1, 12 do | |
2890 | wait() | |
2891 | mesh.Scale = mesh.Scale + Vector3.new(3, -1, 3) | |
2892 | shok.Transparency = shok.Transparency + 0.004 | |
2893 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2894 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2895 | end | |
2896 | end)) | |
2897 | ||
2898 | coroutine.resume(coroutine.create(function() | |
2899 | local shok = Instance.new("Part") | |
2900 | shok.Name = "shock3" | |
2901 | shok.BrickColor = BrickColor.new("Institutional white") | |
2902 | shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
2903 | shok.Size = Vector3.new(1, 1, 1) | |
2904 | shok.Anchored = true | |
2905 | shok.Material = "Neon" | |
2906 | shok.Transparency = 0.35 | |
2907 | shok.CanCollide = false | |
2908 | shok.Parent = model | |
2909 | game.Debris:AddItem(shok, 12) | |
2910 | local mesh = Instance.new("SpecialMesh") | |
2911 | mesh.MeshType = "FileMesh" | |
2912 | mesh.MeshId = "rbxassetid://549734488" | |
2913 | mesh.Scale = Vector3.new(1, 1, 1) | |
2914 | mesh.Parent = shok | |
2915 | for e = 1, 15 do | |
2916 | wait() | |
2917 | mesh.Scale = mesh.Scale + Vector3.new(0.2, 0.2, 0.2) | |
2918 | shok.Transparency = shok.Transparency + 0.004 | |
2919 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2920 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
2921 | end | |
2922 | for e = 1, 16 do | |
2923 | wait() | |
2924 | mesh.Scale = mesh.Scale + Vector3.new(0.2, 0.2, 0.2) | |
2925 | shok.Transparency = shok.Transparency + 0.004 | |
2926 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2927 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2928 | end | |
2929 | for e = 1, 12 do | |
2930 | wait() | |
2931 | mesh.Scale = mesh.Scale + Vector3.new(0.2, 0.2, 0.2) | |
2932 | shok.Transparency = shok.Transparency + 0.06 | |
2933 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4) | |
2934 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0)) | |
2935 | end | |
2936 | end)) | |
2937 | end | |
2938 | -- | |
2939 | ------ | |
2940 | ------------------------------------------- | |
2941 | function Jump() | |
2942 | if not D then D = true | |
2943 | Idle = true | |
2944 | for i = 0,2,0.1 do | |
2945 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1) --LeftUpperArm | |
2946 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperArm | |
2947 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerArm | |
2948 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightLowerArm | |
2949 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0.5,0,0),.1)--LeftUpperLeg | |
2950 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0.5,0,0),.1)--RightUpperLeg | |
2951 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-0.5,0,0),.1)--LeftLowerLeg | |
2952 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-0.5,0,0),.1)--RightUpperLeg | |
2953 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Torso | |
2954 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(-0.5,0,0),.1)--Head | |
2955 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
2956 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
2957 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
2958 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
2959 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-0.4,0,0),.1)--Head | |
2960 | game:GetService("RunService").RenderStepped:wait() | |
2961 | end | |
2962 | for i = 0,2,0.1 do | |
2963 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1) --LeftUpperArm | |
2964 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperArm | |
2965 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerArm | |
2966 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightLowerArm | |
2967 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftUpperLeg | |
2968 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
2969 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerLeg | |
2970 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
2971 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Torso | |
2972 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(0.5,0,0),.1)--Head | |
2973 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
2974 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
2975 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
2976 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
2977 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0.2,0,0),.1)--Head | |
2978 | game:GetService("RunService").RenderStepped:wait() | |
2979 | end | |
2980 | local sbs = Instance.new("BodyPosition", RootPart) | |
2981 | sbs.P = 3000 | |
2982 | sbs.D = 1000 | |
2983 | sbs.maxForce = Vector3.new(900000, 900000000, 900000) | |
2984 | sbs.position = RootPart.CFrame.p + Vector3.new(0, 400, 0) | |
2985 | local Sound = Instance.new("Sound",Character.UpperTorso) | |
2986 | Sound.SoundId = "rbxassetid://845572880" | |
2987 | Sound.Volume = 32 | |
2988 | Sound.Pitch = 1 | |
2989 | Sound.Looped = false | |
2990 | Sound:Play() | |
2991 | wait(0.5) | |
2992 | local Bq = Instance.new("Part",UpperTorso) | |
2993 | Bq.Size = Vector3.new(1,1,1) | |
2994 | Bq.BrickColor = BrickColor.new("White") | |
2995 | Bq.Material = "Neon" | |
2996 | Bq.Anchored = false | |
2997 | Bq.Transparency = math.huge | |
2998 | Bq.CanCollide = false | |
2999 | Bq.CFrame = RootPart.CFrame*CFrame.new(0,0,-12) | |
3000 | local Bq2 = Instance.new("SpecialMesh",Bq) | |
3001 | Bq2.MeshType = "Sphere" | |
3002 | Bq2.Scale = Vector3.new(1,1,1) | |
3003 | Bq.Touched:connect(function(hit) | |
3004 | if hitted == false then | |
3005 | hitted = true | |
3006 | Bq.Anchored = true | |
3007 | ||
3008 | for i = 1,1000 do | |
3009 | ||
3010 | Bq2.Scale = Bq2.Scale + Vector3.new(1,1,1) | |
3011 | Bq.Transparency = Bq.Transparency + 0.003 | |
3012 | game:GetService("RunService").RenderStepped:wait() | |
3013 | end | |
3014 | end | |
3015 | end) | |
3016 | for i = 1,100 do | |
3017 | Bq2.Scale = Bq2.Scale + Vector3.new(0.1,0.1,0.1) | |
3018 | game:GetService("RunService").RenderStepped:wait() | |
3019 | end | |
3020 | Bq.Anchored = false | |
3021 | local Fl = Instance.new("BodyVelocity",Bq) | |
3022 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
3023 | Fl.velocity = Mouse.hit.lookVector*120 | |
3024 | wait(0.4) | |
3025 | Idle = false | |
3026 | hitted = false | |
3027 | sbs:remove() | |
3028 | wait(0.3) | |
3029 | D = false | |
3030 | end | |
3031 | end | |
3032 | ---- | |
3033 | function Dash() | |
3034 | if not D then D = true | |
3035 | Idle = true | |
3036 | for i = 0,1,0.1 do | |
3037 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-1.2,0,0.5),.1) --LeftUpperArm | |
3038 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,-0.8),.1)--RightUpperArm | |
3039 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerArm | |
3040 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(.6,0,-0.6),.1)--RightLowerArm | |
3041 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftUpperLeg | |
3042 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-1,0,0),.1)--RightUpperLeg | |
3043 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerLeg | |
3044 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-1,0,0),.1)--RightUpperLeg | |
3045 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,5,1),.1)--Torso | |
3046 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(.5,.2,.3),.1)--Head | |
3047 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
3048 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
3049 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
3050 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
3051 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-0.3,1,0),.1)--Head | |
3052 | game:GetService("RunService").RenderStepped:wait() | |
3053 | end | |
3054 | local bv = Instance.new("BodyVelocity") | |
3055 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3056 | bv.velocity = RootPart.CFrame.lookVector*250 | |
3057 | bv.Parent = RootPart | |
3058 | game:GetService("Debris"):AddItem(bv, 1) | |
3059 | local Sound = Instance.new("Sound",Character.UpperTorso) | |
3060 | Sound.SoundId = "rbxassetid://" | |
3061 | Sound.Volume = 32 | |
3062 | Sound.Pitch = 1 | |
3063 | Sound.Looped = false | |
3064 | Sound:Play() | |
3065 | wait(0.5) | |
3066 | local Bq = Instance.new("Part",UpperTorso) | |
3067 | Bq.Size = Vector3.new(1,1,1) | |
3068 | Bq.BrickColor = BrickColor.new("White") | |
3069 | Bq.Material = "Neon" | |
3070 | Bq.Anchored = false | |
3071 | Bq.Transparency = math.huge | |
3072 | Bq.CanCollide = false | |
3073 | Bq.CFrame = RootPart.CFrame*CFrame.new(0,0,-12) | |
3074 | local Bq2 = Instance.new("SpecialMesh",Bq) | |
3075 | Bq2.MeshType = "Sphere" | |
3076 | Bq2.Scale = Vector3.new(1,1,1) | |
3077 | Bq.Touched:connect(function(hit) | |
3078 | if hitted == false then | |
3079 | hitted = true | |
3080 | Bq.Anchored = true | |
3081 | ||
3082 | for i = 1,1000 do | |
3083 | ||
3084 | Bq2.Scale = Bq2.Scale + Vector3.new(1,1,1) | |
3085 | Bq.Transparency = Bq.Transparency + 0.003 | |
3086 | game:GetService("RunService").RenderStepped:wait() | |
3087 | end | |
3088 | end | |
3089 | end) | |
3090 | for i = 1,100 do | |
3091 | Bq2.Scale = Bq2.Scale + Vector3.new(0.1,0.1,0.1) | |
3092 | game:GetService("RunService").RenderStepped:wait() | |
3093 | end | |
3094 | Bq.Anchored = false | |
3095 | local Fl = Instance.new("BodyVelocity",Bq) | |
3096 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
3097 | Fl.velocity = Mouse.hit.lookVector*150 | |
3098 | wait(0.5) | |
3099 | Idle = false | |
3100 | hitted = false | |
3101 | wait(0.4) | |
3102 | D = false | |
3103 | end | |
3104 | end | |
3105 | --- | |
3106 | function Detroit() | |
3107 | if not D then D = false | |
3108 | Idle = true | |
3109 | for i = 0,2,0.1 do | |
3110 | swait() | |
3111 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,-1),.1) --LeftUpperArm | |
3112 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,1.55),.1)--RightUpperArm | |
3113 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerArm | |
3114 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,1),.1)--RightLowerArm | |
3115 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftUpperLeg | |
3116 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-1,0,0),.1)--RightUpperLeg | |
3117 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerLeg | |
3118 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
3119 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(-90,0,0),.1)--Torso | |
3120 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(0,0.6,0.3),.1)--Head | |
3121 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
3122 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
3123 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
3124 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
3125 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,-1,0),.1)--Head | |
3126 | --game:GetService("RunService").RenderStepped:wait() | |
3127 | end | |
3128 | local Sound = Instance.new("Sound",Character.UpperTorso) | |
3129 | Sound.SoundId = "rbxassetid://" | |
3130 | Sound.Pitch = 1 | |
3131 | Sound.Looped = false | |
3132 | Sound.Volume = 5 | |
3133 | Sound:play() | |
3134 | wait(0.5) | |
3135 | ||
3136 | coroutine.resume(coroutine.create(function() | |
3137 | for i = 1,1000 do | |
3138 | ||
3139 | game:GetService("RunService").RenderStepped:wait() | |
3140 | end | |
3141 | ||
3142 | end)) | |
3143 | for i = 0,1,0.1 do | |
3144 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-1.2,0,0.5),.1) --LeftUpperArm | |
3145 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,-0.8),.1)--RightUpperArm | |
3146 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerArm | |
3147 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(.6,0,-0.6),.1)--RightLowerArm | |
3148 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftUpperLeg | |
3149 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-1,0,0),.1)--RightUpperLeg | |
3150 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerLeg | |
3151 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-1,0,0),.1)--RightUpperLeg | |
3152 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(-90,5,1),.1)--Torso | |
3153 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(.5,.2,.3),.1)--Head | |
3154 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
3155 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
3156 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
3157 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
3158 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-0.3,1,0),.1)--Head | |
3159 | game:GetService("RunService").RenderStepped:wait() | |
3160 | end | |
3161 | KickBoom() | |
3162 | wait(0.7) | |
3163 | Idle = false | |
3164 | wait(0.2) | |
3165 | D = false | |
3166 | end | |
3167 | end | |
3168 | ||
3169 | function SeriousWam() | |
3170 | if not D then D = false | |
3171 | Idle = true | |
3172 | for i = 0,2,0.1 do | |
3173 | swait() | |
3174 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,-1),.1) --LeftUpperArm | |
3175 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,1.55),.1)--RightUpperArm | |
3176 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerArm | |
3177 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,1),.1)--RightLowerArm | |
3178 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftUpperLeg | |
3179 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-1,0,0),.1)--RightUpperLeg | |
3180 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerLeg | |
3181 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
3182 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(-90,0,0),.1)--Torso | |
3183 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(0,0.6,0.3),.1)--Head | |
3184 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
3185 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
3186 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
3187 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
3188 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,-1,0),.1)--Head | |
3189 | --game:GetService("RunService").RenderStepped:wait() | |
3190 | end | |
3191 | local FZcharge = Instance.new("ParticleEmitter",RightHand) | |
3192 | FZcharge.Texture = "rbxassetid://31727915" | |
3193 | FZcharge.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) | |
3194 | FZcharge.EmissionDirection = "Top" | |
3195 | FZcharge.Speed = NumberRange.new(4) | |
3196 | FZcharge.Size = NumberSequence.new(2,1) | |
3197 | FZcharge.Drag = 2 | |
3198 | FZcharge.LockedToPart = false | |
3199 | FZcharge.Lifetime = NumberRange.new(0.5) | |
3200 | FZcharge.Rate = 150 | |
3201 | FZcharge.LightEmission = 0 | |
3202 | FZcharge.Rotation = NumberRange.new(-100, 100) | |
3203 | FZcharge.VelocitySpread = 100 | |
3204 | local Sound = Instance.new("Sound",Character.UpperTorso) | |
3205 | Sound.SoundId = "rbxassetid://" | |
3206 | Sound.Pitch = 1 | |
3207 | Sound.Looped = false | |
3208 | Sound.Volume = 5 | |
3209 | Sound:play() | |
3210 | wait(1.5) | |
3211 | ||
3212 | coroutine.resume(coroutine.create(function() | |
3213 | for i = 1,1000 do | |
3214 | ||
3215 | game:GetService("RunService").RenderStepped:wait() | |
3216 | end | |
3217 | ||
3218 | end)) | |
3219 | for i = 0,1,0.1 do | |
3220 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-1.2,0,0.5),.1) --LeftUpperArm | |
3221 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,-0.8),.1)--RightUpperArm | |
3222 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerArm | |
3223 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(.6,0,-0.6),.1)--RightLowerArm | |
3224 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftUpperLeg | |
3225 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-1,0,0),.1)--RightUpperLeg | |
3226 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerLeg | |
3227 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-1,0,0),.1)--RightUpperLeg | |
3228 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(-90,5,1),.1)--Torso | |
3229 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(.5,.2,.3),.1)--Head | |
3230 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
3231 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
3232 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
3233 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
3234 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-0.3,1,0),.1)--Head | |
3235 | game:GetService("RunService").RenderStepped:wait() | |
3236 | end | |
3237 | SeriousSlam() | |
3238 | wait(0.7) | |
3239 | Idle = false | |
3240 | wait(0.2) | |
3241 | FZcharge:Destroy() | |
3242 | D = false | |
3243 | end | |
3244 | end | |
3245 | ||
3246 | ||
3247 | function Push() | |
3248 | if not D then D = true | |
3249 | Idle = true | |
3250 | local Grab = Instance.new("Part",LeftHand) | |
3251 | Grab.Size = Vector3.new(6.4,6.4,6.4) | |
3252 | Grab.CanCollide = false | |
3253 | Grab.BrickColor = BrickColor.new("Deep orange") | |
3254 | Grab.Transparency = math.huge | |
3255 | local Grabo = Instance.new("Weld",Grab) | |
3256 | Grabo.Part0 = LeftHand | |
3257 | Grabo.Part1 = Grab | |
3258 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
3259 | local SFXZ = Instance.new("Sound",UpperTorso) | |
3260 | SFXZ.SoundId = "rbxassetid://169259383" | |
3261 | SFXZ.Volume = 1 | |
3262 | SFXZ.Pitch = 1.5 | |
3263 | SFXZ.Looped = false | |
3264 | wait(0.01) | |
3265 | SFXZ:Play() | |
3266 | ||
3267 | Grab.Touched:connect(function(hit) | |
3268 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then | |
3269 | Grab:Destroy() | |
3270 | hit.Parent.Humanoid:TakeDamage(35) | |
3271 | ||
3272 | local SFXZ = Instance.new("Sound",UpperTorso) | |
3273 | SFXZ.SoundId = "rbxassetid://1056634201" | |
3274 | SFXZ.Volume = 3 | |
3275 | SFXZ.Pitch = 1 | |
3276 | SFXZ.Looped = false | |
3277 | wait(0.01) | |
3278 | SFXZ:Play() | |
3279 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
3280 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
3281 | Fl.velocity = UpperTorso.CFrame.lookVector*400 | |
3282 | wait(0.05) | |
3283 | Fl:remove() | |
3284 | end | |
3285 | end) | |
3286 | for i = 0,2,0.1 do | |
3287 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-80)),.4) --LeftUpperArm | |
3288 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperArm | |
3289 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.4)--LeftLowerArm | |
3290 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightLowerArm | |
3291 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftUpperLeg | |
3292 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg | |
3293 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerLeg | |
3294 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg | |
3295 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Torso | |
3296 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Head | |
3297 | ||
3298 | game:GetService("RunService").RenderStepped:wait() | |
3299 | end | |
3300 | for i = 0,2,0.1 do | |
3301 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(-90),rad(-80)),.4) --LeftUpperArm | |
3302 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperArm | |
3303 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerArm | |
3304 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightLowerArm | |
3305 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftUpperLeg | |
3306 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg | |
3307 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerLeg | |
3308 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg | |
3309 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Torso | |
3310 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Head | |
3311 | ||
3312 | game:GetService("RunService").RenderStepped:wait() | |
3313 | end | |
3314 | coroutine.resume(coroutine.create(function() | |
3315 | wait(0.5) | |
3316 | Grab:remove() | |
3317 | end)) | |
3318 | Idle = false | |
3319 | wait(0) | |
3320 | D = false | |
3321 | end | |
3322 | end | |
3323 | ||
3324 | ||
3325 | ||
3326 | ||
3327 | ||
3328 | function Down() | |
3329 | if not D then D = true | |
3330 | Idle = true | |
3331 | local Grab = Instance.new("Part",LeftHand) | |
3332 | Grab.Size = Vector3.new(6.6,6.6,6.6) | |
3333 | Grab.CanCollide = false | |
3334 | Grab.BrickColor = BrickColor.new("Deep orange") | |
3335 | Grab.Transparency = math.huge | |
3336 | local Grabo = Instance.new("Weld",Grab) | |
3337 | Grabo.Part0 = LeftHand | |
3338 | Grabo.Part1 = Grab | |
3339 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
3340 | local SFXZ = Instance.new("Sound",UpperTorso) | |
3341 | SFXZ.SoundId = "rbxassetid://169259383" | |
3342 | SFXZ.Volume = 1 | |
3343 | SFXZ.Pitch = 1.5 | |
3344 | SFXZ.Looped = false | |
3345 | wait(0.01) | |
3346 | SFXZ:Play() | |
3347 | ||
3348 | Grab.Touched:connect(function(hit) | |
3349 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then | |
3350 | Grab:Destroy() | |
3351 | hit.Parent.Humanoid:TakeDamage(80) | |
3352 | RootPart.Anchored = true | |
3353 | local SFXZ = Instance.new("Sound",UpperTorso) | |
3354 | SFXZ.SoundId = "rbxassetid://748050177" | |
3355 | SFXZ.Volume = 3 | |
3356 | SFXZ.Pitch = 1 | |
3357 | SFXZ.Looped = false | |
3358 | wait(0.01) | |
3359 | SFXZ:Play() | |
3360 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
3361 | Fl.maxForce = Vector3.new(9000, 900000, 9000) | |
3362 | Fl.velocity = RootPart.CFrame.p + Vector3.new(0, -590, 0) | |
3363 | wait(0.05) | |
3364 | Fl:remove() | |
3365 | wait(0.5) | |
3366 | RootPart.Anchored = false | |
3367 | ||
3368 | end | |
3369 | end) | |
3370 | for i = 0,2,0.1 do | |
3371 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(-1.0,1,.05)*CFrame.Angles(rad(150),rad(-90),rad(0)),.1) --LeftUpperArm | |
3372 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(1.0,1,.05)*CFrame.Angles(rad(150),rad(90),rad(0)),.1)--RightUpperArm | |
3373 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(55),rad(0),rad(0)),.1)--LeftLowerArm | |
3374 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(55),rad(0),rad(0)),.1)--RightLowerArm | |
3375 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--LeftUpperLeg | |
3376 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-40),rad(0),rad(0)),.1)--RightUpperLeg | |
3377 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-40),rad(0),rad(0)),.1)--LeftLowerLeg | |
3378 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
3379 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--Torso | |
3380 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
3381 | game:GetService("RunService").RenderStepped:wait() | |
3382 | end | |
3383 | for i = 0,2.2,0.1 do | |
3384 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(-1.3,0.6,.05)*CFrame.Angles(rad(100),rad(-90),rad(50)),.1) --LeftUpperArm | |
3385 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(1.3,0.6,.05)*CFrame.Angles(rad(20),rad(100),rad(30)),.1)--RightUpperArm | |
3386 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(25),rad(0),rad(0)),.1)--LeftLowerArm | |
3387 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(35),rad(0),rad(0)),.1)--RightLowerArm | |
3388 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--LeftUpperLeg | |
3389 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--RightUpperLeg | |
3390 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--LeftLowerLeg | |
3391 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--RightUpperLeg | |
3392 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-20),rad(10),rad(0)),.1)--Torso | |
3393 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--Head | |
3394 | game:GetService("RunService").RenderStepped:wait() | |
3395 | end | |
3396 | coroutine.resume(coroutine.create(function() | |
3397 | wait(0.5) | |
3398 | Grab:remove() | |
3399 | end)) | |
3400 | Idle = false | |
3401 | wait(0) | |
3402 | D = false | |
3403 | end | |
3404 | end | |
3405 | ||
3406 | ||
3407 | ||
3408 | function Hit() | |
3409 | if not D then D = true | |
3410 | Idle = true | |
3411 | local Grab = Instance.new("Part",LeftHand) | |
3412 | Grab.Size = Vector3.new(3,3,3) | |
3413 | Grab.CanCollide = false | |
3414 | Grab.BrickColor = BrickColor.new("Deep orange") | |
3415 | Grab.Transparency = math.huge | |
3416 | local Grabo = Instance.new("Weld",Grab) | |
3417 | Grabo.Part0 = LeftHand | |
3418 | Grabo.Part1 = Grab | |
3419 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
3420 | local SFXZ = Instance.new("Sound",UpperTorso) | |
3421 | SFXZ.SoundId = "rbxassetid://169259383" | |
3422 | SFXZ.Volume = 1 | |
3423 | SFXZ.Pitch = 1.5 | |
3424 | SFXZ.Looped = false | |
3425 | wait(0.01) | |
3426 | SFXZ:Play() | |
3427 | ||
3428 | Grab.Touched:connect(function(hit) | |
3429 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then | |
3430 | Grab:Destroy() | |
3431 | hit.Parent.Humanoid:TakeDamage(35) | |
3432 | ||
3433 | local SFXZ = Instance.new("Sound",UpperTorso) | |
3434 | SFXZ.SoundId = "rbxassetid://1050733875" | |
3435 | SFXZ.Volume = 3 | |
3436 | SFXZ.Pitch = 1 | |
3437 | SFXZ.Looped = false | |
3438 | wait(0.01) | |
3439 | SFXZ:Play() | |
3440 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
3441 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
3442 | Fl.velocity = UpperTorso.CFrame.lookVector*10 | |
3443 | wait(0.05) | |
3444 | Fl:remove() | |
3445 | end | |
3446 | end) | |
3447 | for i = 0,2,0.1 do | |
3448 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(90),rad(0),rad(20)),.5) --LeftUpperArm | |
3449 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-10),rad(0),rad(10)),.5)--RightUpperArm | |
3450 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.5)--LeftLowerArm | |
3451 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.5)--RightLowerArm | |
3452 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftUpperLeg | |
3453 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
3454 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftLowerLeg | |
3455 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
3456 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Torso | |
3457 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Head | |
3458 | ||
3459 | game:GetService("RunService").RenderStepped:wait() | |
3460 | end | |
3461 | coroutine.resume(coroutine.create(function() | |
3462 | wait(0.5) | |
3463 | Grab:remove() | |
3464 | end)) | |
3465 | Idle = false | |
3466 | Grab:Destroy() | |
3467 | wait(0) | |
3468 | D = false | |
3469 | end | |
3470 | end | |
3471 | function Strong() | |
3472 | if not D then D = true | |
3473 | Idle = true | |
3474 | local Grab = Instance.new("Part",LeftHand) | |
3475 | Grab.Size = Vector3.new(3,3,3) | |
3476 | Grab.CanCollide = false | |
3477 | Grab.BrickColor = BrickColor.new("Deep orange") | |
3478 | Grab.Transparency = math.huge | |
3479 | local Grabo = Instance.new("Weld",Grab) | |
3480 | Grabo.Part0 = LeftHand | |
3481 | Grabo.Part1 = Grab | |
3482 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
3483 | local SFXZ = Instance.new("Sound",UpperTorso) | |
3484 | SFXZ.SoundId = "rbxassetid://169259383" | |
3485 | SFXZ.Volume = 1 | |
3486 | SFXZ.Pitch = 1.5 | |
3487 | SFXZ.Looped = false | |
3488 | wait(0.01) | |
3489 | SFXZ:Play() | |
3490 | ||
3491 | Grab.Touched:connect(function(hit) | |
3492 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then | |
3493 | Grab:Destroy() | |
3494 | hit.Parent.Humanoid:TakeDamage(5455) | |
3495 | ||
3496 | local SFXZ = Instance.new("Sound",UpperTorso) | |
3497 | SFXZ.SoundId = "rbxassetid://1050733875" | |
3498 | SFXZ.Volume = 3 | |
3499 | SFXZ.Pitch = 1 | |
3500 | SFXZ.Looped = false | |
3501 | wait(0.01) | |
3502 | SFXZ:Play() | |
3503 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
3504 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
3505 | Fl.velocity = UpperTorso.CFrame.lookVector*10 | |
3506 | wait(0.05) | |
3507 | Fl:remove() | |
3508 | end | |
3509 | end) | |
3510 | for i = 0,0.6,0.1 do | |
3511 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(90),rad(0),rad(20)),.5) --LeftUpperArm | |
3512 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-10),rad(0),rad(10)),.5)--RightUpperArm | |
3513 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.5)--LeftLowerArm | |
3514 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.5)--RightLowerArm | |
3515 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftUpperLeg | |
3516 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
3517 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftLowerLeg | |
3518 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
3519 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Torso | |
3520 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Head | |
3521 | ||
3522 | game:GetService("RunService").RenderStepped:wait() | |
3523 | end | |
3524 | coroutine.resume(coroutine.create(function() | |
3525 | wait(0.5) | |
3526 | Grab:remove() | |
3527 | end)) | |
3528 | Idle = false | |
3529 | Grab:Destroy() | |
3530 | wait(0) | |
3531 | D = false | |
3532 | end | |
3533 | end | |
3534 | function Desperate() | |
3535 | if not D then D = true | |
3536 | Idle = true | |
3537 | local Grab = Instance.new("Part",LeftHand) | |
3538 | Grab.Size = Vector3.new(3,3,3) | |
3539 | Grab.CanCollide = false | |
3540 | Grab.BrickColor = BrickColor.new("Deep orange") | |
3541 | Grab.Transparency = math.huge | |
3542 | local Grabo = Instance.new("Weld",Grab) | |
3543 | Grabo.Part0 = LeftHand | |
3544 | Grabo.Part1 = Grab | |
3545 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
3546 | local SFXZ = Instance.new("Sound",UpperTorso) | |
3547 | SFXZ.SoundId = "rbxassetid://169259383" | |
3548 | SFXZ.Volume = 1 | |
3549 | SFXZ.Pitch = 1.5 | |
3550 | SFXZ.Looped = false | |
3551 | wait(0.01) | |
3552 | SFXZ:Play() | |
3553 | ||
3554 | Grab.Touched:connect(function(hit) | |
3555 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then | |
3556 | Grab:Destroy() | |
3557 | hit.Parent.Humanoid:TakeDamage(3555555) | |
3558 | ||
3559 | local SFXZ = Instance.new("Sound",UpperTorso) | |
3560 | SFXZ.SoundId = "rbxassetid://1050733875" | |
3561 | SFXZ.Volume = 3 | |
3562 | SFXZ.Pitch = 1 | |
3563 | SFXZ.Looped = false | |
3564 | wait(0.01) | |
3565 | SFXZ:Play() | |
3566 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
3567 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
3568 | Fl.velocity = UpperTorso.CFrame.lookVector*100 | |
3569 | wait(0.05) | |
3570 | Fl:remove() | |
3571 | end | |
3572 | end) | |
3573 | for i = 0,0.2,0.1 do | |
3574 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(90),rad(0),rad(20)),.5) --LeftUpperArm | |
3575 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-10),rad(0),rad(10)),.5)--RightUpperArm | |
3576 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.5)--LeftLowerArm | |
3577 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.5)--RightLowerArm | |
3578 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftUpperLeg | |
3579 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
3580 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftLowerLeg | |
3581 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
3582 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Torso | |
3583 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Head | |
3584 | ||
3585 | game:GetService("RunService").RenderStepped:wait() | |
3586 | end | |
3587 | coroutine.resume(coroutine.create(function() | |
3588 | wait(0.5) | |
3589 | Grab:remove() | |
3590 | end)) | |
3591 | Idle = false | |
3592 | Grab:Destroy() | |
3593 | wait(0) | |
3594 | D = false | |
3595 | end | |
3596 | end | |
3597 | function Up() | |
3598 | if not D then D = true | |
3599 | Idle = true | |
3600 | ||
3601 | local Grab = Instance.new("Part",LeftHand) | |
3602 | Grab.Size = Vector3.new(5,5,5) | |
3603 | Grab.CanCollide = false | |
3604 | Grab.BrickColor = BrickColor.new("Deep orange") | |
3605 | Grab.Transparency = math.huge | |
3606 | local Grabo = Instance.new("Weld",Grab) | |
3607 | Grabo.Part0 = LeftHand | |
3608 | Grabo.Part1 = Grab | |
3609 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
3610 | local SFXZ = Instance.new("Sound",UpperTorso) | |
3611 | SFXZ.SoundId = "rbxassetid://169259383" | |
3612 | SFXZ.Volume = 1 | |
3613 | SFXZ.Pitch = 1.5 | |
3614 | SFXZ.Looped = false | |
3615 | wait(0.01) | |
3616 | SFXZ:Play() | |
3617 | ||
3618 | Grab.Touched:connect(function(hit) | |
3619 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then | |
3620 | Grab:Destroy() | |
3621 | hit.Parent.Humanoid:TakeDamage(15) | |
3622 | ||
3623 | local SFXZ = Instance.new("Sound",UpperTorso) | |
3624 | SFXZ.SoundId = "rbxassetid://1050733875" | |
3625 | SFXZ.Volume = 3 | |
3626 | SFXZ.Pitch = 1 | |
3627 | SFXZ.Looped = false | |
3628 | wait(0.01) | |
3629 | SFXZ:Play() | |
3630 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
3631 | Fl.maxForce = Vector3.new(9000, 900000, 9000) | |
3632 | Fl.velocity = RootPart.CFrame.p + Vector3.new(0, 400, 0) | |
3633 | wait(0.05) | |
3634 | Fl:remove() | |
3635 | end | |
3636 | end) | |
3637 | for i = 0,2,0.1 do | |
3638 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(120),rad(0),rad(-10)),.1) --LeftUpperArm | |
3639 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperArm | |
3640 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--LeftLowerArm | |
3641 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
3642 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(20),rad(0),rad(0)),.1)--LeftUpperLeg | |
3643 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
3644 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--LeftLowerLeg | |
3645 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(0)),.1)--RightUpperLeg | |
3646 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(-50),rad(0)),.1)--Torso | |
3647 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(50),rad(0)),.1)--Head | |
3648 | game:GetService("RunService").RenderStepped:wait() | |
3649 | end | |
3650 | coroutine.resume(coroutine.create(function() | |
3651 | wait(0.5) | |
3652 | Grab:remove() | |
3653 | end)) | |
3654 | Idle = false | |
3655 | wait(0) | |
3656 | D = false | |
3657 | end | |
3658 | end | |
3659 | ||
3660 | function Fast() | |
3661 | if not D then D = true | |
3662 | Idle = true | |
3663 | local Grab = Instance.new("Part",LeftHand) | |
3664 | Grab.Size = Vector3.new(5,5,5) | |
3665 | Grab.CanCollide = false | |
3666 | Grab.BrickColor = BrickColor.new("Deep orange") | |
3667 | Grab.Transparency = math.huge | |
3668 | local Grabo = Instance.new("Weld",Grab) | |
3669 | Grabo.Part0 = LeftHand | |
3670 | Grabo.Part1 = Grab | |
3671 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
3672 | local SFXZ = Instance.new("Sound",UpperTorso) | |
3673 | SFXZ.SoundId = "rbxassetid://169259383" | |
3674 | SFXZ.Volume = 1 | |
3675 | SFXZ.Pitch = 1.5 | |
3676 | SFXZ.Looped = false | |
3677 | wait(0.01) | |
3678 | SFXZ:Play() | |
3679 | ||
3680 | Grab.Touched:connect(function(hit) | |
3681 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then | |
3682 | Grab:Destroy() | |
3683 | hit.Parent.Humanoid:TakeDamage(85) | |
3684 | ||
3685 | local SFXZ = Instance.new("Sound",UpperTorso) | |
3686 | SFXZ.SoundId = "rbxassetid://1050733875" | |
3687 | SFXZ.Volume = 3 | |
3688 | SFXZ.Pitch = 1 | |
3689 | SFXZ.Looped = false | |
3690 | wait(0.01) | |
3691 | SFXZ:Play() | |
3692 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
3693 | Fl.maxForce = Vector3.new(9000, 900000, 9000) | |
3694 | Fl.velocity = RootPart.CFrame.p + Vector3.new(0, 220, 0) | |
3695 | wait(0.05) | |
3696 | Fl:remove() | |
3697 | end | |
3698 | end) | |
3699 | for i = 0,0.2,0.1 do | |
3700 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4) --LeftUpperArm | |
3701 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(90),rad(80)),.4)--RightUpperArm | |
3702 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerArm | |
3703 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightLowerArm | |
3704 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftUpperLeg | |
3705 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg | |
3706 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerLeg | |
3707 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg | |
3708 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Torso | |
3709 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Head | |
3710 | game:GetService("RunService").RenderStepped:wait() | |
3711 | for i = 0,0.2,0.1 do | |
3712 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(-90),rad(-80)),.4) --LeftUpperArm | |
3713 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperArm | |
3714 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerArm | |
3715 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightLowerArm | |
3716 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftUpperLeg | |
3717 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg | |
3718 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--LeftLowerLeg | |
3719 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--RightUpperLeg | |
3720 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Torso | |
3721 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.4)--Head | |
3722 | game:GetService("RunService").RenderStepped:wait() | |
3723 | end | |
3724 | ||
3725 | ||
3726 | game:GetService("RunService").RenderStepped:wait() | |
3727 | end | |
3728 | coroutine.resume(coroutine.create(function() | |
3729 | wait(0.5) | |
3730 | Grab:remove() | |
3731 | end)) | |
3732 | Idle = false | |
3733 | wait(0) | |
3734 | D = false | |
3735 | end | |
3736 | end | |
3737 | ---------------------------------------------------- | |
3738 | Debounces = { | |
3739 | CanAttack = true; | |
3740 | NoIdl = false; | |
3741 | Slashing = false; | |
3742 | Slashed = false; | |
3743 | RPunch = false; | |
3744 | RPunched = false; | |
3745 | LPunch = false; | |
3746 | LPunched = false; | |
3747 | } | |
3748 | local Touche = {Character.Name, } | |
3749 | ---------------------------------------------------- | |
3750 | function HasntTouched(plrname) | |
3751 | local ret = true | |
3752 | for _, v in pairs(Touche) do | |
3753 | if v == plrname then | |
3754 | ret = false | |
3755 | end | |
3756 | end | |
3757 | return ret | |
3758 | end | |
3759 | ||
3760 | --- | |
3761 | ||
3762 | local deb = false | |
3763 | local shot = 0 | |
3764 | local kamehameha1 = false | |
3765 | local kamehameha2 = false | |
3766 | local kamehameha3 = false | |
3767 | local kamehameha4 = false | |
3768 | local kamehameha5 = false | |
3769 | local kamehameha6 = false | |
3770 | ---- | |
3771 | if kamehameha1 == true then | |
3772 | Idle = true | |
3773 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(60),rad(-60),rad(0)),.03) --LeftUpperArm | |
3774 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(70),rad(80),rad(0)),.03)--RightUpperArm | |
3775 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.1)--LeftLowerArm | |
3776 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--RightLowerArm | |
3777 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(30),rad(50),rad(0)),.1)--LeftUpperLeg | |
3778 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(35),rad(0),rad(0)),.1)--RightUpperLeg | |
3779 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg | |
3780 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--RightLowerLeg | |
3781 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-40),rad(-70),rad(-20)),.03)--Torso | |
3782 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(20),rad(70),rad(-10)),.03)--Head | |
3783 | ||
3784 | end | |
3785 | if kamehameha6 == true then | |
3786 | Idle = true | |
3787 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(60),rad(-60),rad(0)),.1) --LeftUpperArm | |
3788 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(70),rad(80),rad(0)),.1)--RightUpperArm | |
3789 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.1)--LeftLowerArm | |
3790 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--RightLowerArm | |
3791 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(30),rad(50),rad(0)),.1)--LeftUpperLeg | |
3792 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(35),rad(0),rad(0)),.1)--RightUpperLeg | |
3793 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg | |
3794 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--RightLowerLeg | |
3795 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-40),rad(-70),rad(-20)),.1)--Torso | |
3796 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(20),rad(70),rad(-10)),.1)--Head | |
3797 | ||
3798 | end | |
3799 | if kamehameha5 == true then | |
3800 | Idle = true | |
3801 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(60),rad(-60),rad(0)),.1) --LeftUpperArm | |
3802 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0.p)*CFrame.Angles(rad(70),rad(80),rad(0)),.1)--RightUpperArm | |
3803 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(50),rad(0),rad(0)),.1)--LeftLowerArm | |
3804 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--RightLowerArm | |
3805 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(30),rad(50),rad(0)),.1)--LeftUpperLeg | |
3806 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(35),rad(0),rad(0)),.1)--RightUpperLeg | |
3807 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg | |
3808 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--RightLowerLeg | |
3809 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-40),rad(-70),rad(-20)),.1)--Torso | |
3810 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(20),rad(70),rad(-10)),.1)--Head | |
3811 | ||
3812 | end | |
3813 | if kamehameha2 == true then | |
3814 | Idle = true | |
3815 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(80),rad(0),rad(40)),.1) --LeftUpperArm | |
3816 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0.p)*CFrame.Angles(rad(30),rad(0),rad(-40)),.1)--RightUpperArm | |
3817 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
3818 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(30),rad(30),rad(20)),.1)--RightLowerArm | |
3819 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(20),rad(0),rad(0)),.1)--LeftUpperLeg | |
3820 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--RightUpperLeg | |
3821 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftLowerLeg | |
3822 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(-50),rad(0),rad(0)),.1)--RightLowerLeg | |
3823 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--Torso | |
3824 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--Head | |
3825 | end | |
3826 | ||
3827 | local auranum = 0 | |
3828 | local auranum1 = 0 | |
3829 | local auranum2 = 0 | |
3830 | local auraon = true | |
3831 | local auracan3 = true | |
3832 | local onaura = false | |
3833 | local ssj = false | |
3834 | local ssj2 = false | |
3835 | local blue = false | |
3836 | local base = true | |
3837 | local kaio = true | |
3838 | local instinct = false | |
3839 | ||
3840 | ||
3841 | ||
3842 | ||
3843 | ||
3844 | newaurabase = Instance.new("BillboardGui",LowerTorso) | |
3845 | newaurabase.Size = UDim2.new(20,0,20,0) | |
3846 | newaurabase.AlwaysOnTop = false | |
3847 | newaura = Instance.new("ImageLabel",newaurabase) | |
3848 | newaura.BackgroundTransparency = 1 | |
3849 | newaurabase.ExtentsOffset = v3(0,0,3) | |
3850 | newaura.ImageTransparency = 1 | |
3851 | newaura.ImageColor3 = Color3.fromRGB(255, 227, 10) | |
3852 | newaura.Size = UDim2.new(2,0,1,0) | |
3853 | newaura.Position = UDim2.new(-0.5,0,-0.2,0) | |
3854 | newaurabase2 = Instance.new("BillboardGui",LowerTorso) | |
3855 | newaurabase2.Size = UDim2.new(20,0,40,0) | |
3856 | newaurabase2.ExtentsOffset = v3(0,0,-3) | |
3857 | newaurabase2.AlwaysOnTop = false | |
3858 | newaura2 = Instance.new("ImageLabel",newaurabase2) | |
3859 | newaura2.BackgroundTransparency = 1 | |
3860 | newaura2.ImageTransparency = 1 | |
3861 | newaura2.ImageColor3 = Color3.fromRGB(255, 255, 0) | |
3862 | newaura2.Size = UDim2.new(2,0,1,0) | |
3863 | newaura2.Position = UDim2.new(-0.5,0,-0.4,0) | |
3864 | ||
3865 | ||
3866 | ||
3867 | if onaura == true then | |
3868 | if ssj == true then | |
3869 | onaura =false | |
3870 | wait(0.1) | |
3871 | newaura.Image = "rbxassetid://639676034" | |
3872 | wait(0.1) | |
3873 | newaura.Image = "rbxassetid://639676268" | |
3874 | wait(0.1) | |
3875 | newaura.Image = "rbxassetid://639676527" | |
3876 | wait(0.1) | |
3877 | newaura.Image = "rbxassetid://639676855" | |
3878 | onaura =true | |
3879 | end | |
3880 | end | |
3881 | ||
3882 | -- | |
3883 | local multiplier = 0.5 | |
3884 | --- | |
3885 | local BaseHair = Instance.new("Part",Character) | |
3886 | BaseHair.Size = Vector3.new(1,1,1) | |
3887 | BaseHair.Material = "SmoothPlastic" | |
3888 | BaseHair.BrickColor = BrickColor.new("Really black") | |
3889 | BaseHair.CanCollide = false | |
3890 | BaseHair.Transparency = 1 | |
3891 | local BaseHair2 = Instance.new("SpecialMesh",BaseHair) | |
3892 | BaseHair2.MeshId = "rbxassetid://430733454" | |
3893 | BaseHair2.Scale = Vector3.new(8.36, 8.36, 8.36) | |
3894 | local BaseHair3 = Instance.new("Weld",BaseHair) | |
3895 | BaseHair3.Part0 = Character.Head | |
3896 | BaseHair3.Part1 = BaseHair | |
3897 | BaseHair3.C0 = CFrame.new(-0.06,0.90,-0.1) | |
3898 | --- | |
3899 | ||
3900 | ||
3901 | auranum = math.random(35,65) | |
3902 | auranum1 = math.random(-25,0) | |
3903 | auranum2 = math.random(10,25) | |
3904 | auranum3 = math.random(65,75) | |
3905 | auranum4 = math.random(-25,-15) | |
3906 | ||
3907 | ||
3908 | Mouse.KeyDown:connect(function(key) | |
3909 | if key == "e" then | |
3910 | Push() | |
3911 | end | |
3912 | end) | |
3913 | Mouse.KeyDown:connect(function(key) | |
3914 | if key == "r" then | |
3915 | Down() | |
3916 | end | |
3917 | end) | |
3918 | ||
3919 | Mouse.KeyDown:connect(function(key) | |
3920 | if key == "p" then | |
3921 | base = true | |
3922 | ssj = false | |
3923 | ssj2 = false | |
3924 | blue = false | |
3925 | kaio = false | |
3926 | multiplier = 0.5 | |
3927 | Hair.BrickColor = BrickColor.new("Really black") | |
3928 | ||
3929 | Mouse.Button1Down:connect(function() | |
3930 | if attack == false and attacktype == 1 then | |
3931 | Hit() | |
3932 | attacktype = 2 | |
3933 | elseif attack == false and attacktype == 2 then | |
3934 | Hit2() | |
3935 | attacktype = 3 | |
3936 | elseif attack == false and attacktype == 3 then | |
3937 | Hit3() | |
3938 | attacktype = 1 | |
3939 | end | |
3940 | end) | |
3941 | Character.Head.face.Texture = "rbxassetid://461020415" | |
3942 | Humanoid.MaxHealth = 5000 | |
3943 | wait(0.01) | |
3944 | Humanoid.Health = 5000 | |
3945 | Humanoid.JumpPower = 120 | |
3946 | for i, v in pairs(UpperTorso:GetChildren()) do | |
3947 | if v:IsA('ParticleEmitter')then | |
3948 | v:Remove() | |
3949 | end | |
3950 | end | |
3951 | for i, v in pairs(Head:GetChildren()) do | |
3952 | if v:IsA('ParticleEmitter')then | |
3953 | v:Remove() | |
3954 | end | |
3955 | end | |
3956 | for i, v in pairs(UpperTorso:GetChildren()) do | |
3957 | if v:IsA("Sound") then | |
3958 | v:Remove() | |
3959 | end | |
3960 | end | |
3961 | for i, v in pairs(LowerTorso:GetChildren()) do | |
3962 | if v:IsA("PointLight") then | |
3963 | v:Remove() | |
3964 | end | |
3965 | end | |
3966 | Blue.Transparency = 1 | |
3967 | SS2Hair.Transparency =1 | |
3968 | SSHair.Transparency =1 | |
3969 | wait(0.0001) | |
3970 | BaseHair.Transparency = 0 | |
3971 | BaseHair2.Transparency = 0 | |
3972 | BaseHair3.Transparency = 0 | |
3973 | local Music3 = Instance.new("Sound",UpperTorso) | |
3974 | Music3.SoundId = "rbxassetid://550621034" | |
3975 | Music3.Pitch = 1 | |
3976 | Music3.Looped = false | |
3977 | Music3.Volume = 2.2 | |
3978 | wait(0.0001) | |
3979 | Music3:Play() | |
3980 | ||
3981 | ||
3982 | ||
3983 | end | |
3984 | end) | |
3985 | ||
3986 | function fade(obj, dest, grow) | |
3987 | spawn(function() | |
3988 | local oldcf = obj.CFrame | |
3989 | for i = 0, 10 do | |
3990 | if grow then | |
3991 | obj.Size = obj.Size +Vector3.new(1,1,1) | |
3992 | obj.CFrame = oldcf | |
3993 | end | |
3994 | obj.Transparency = obj.Transparency +0.1 | |
3995 | swait() | |
3996 | end | |
3997 | if dest then | |
3998 | obj:Destroy() | |
3999 | end | |
4000 | end) | |
4001 | end | |
4002 | ||
4003 | ||
4004 | ||
4005 | ||
4006 | spiritballenergy = false | |
4007 | local spirit1 = false | |
4008 | local spirit2 = false | |
4009 | local new = Instance.new | |
4010 | ||
4011 | function RenderStepped3() | |
4012 | if spiritballenergy == true then | |
4013 | wait(math.random(0.1,0.5)) | |
4014 | ay = new("Part",Character) | |
4015 | ay.Name = "NewPart2" | |
4016 | ay.Size = v3(0.3,0.3,0.3) | |
4017 | ay.CanCollide = false | |
4018 | ay.Material = "Neon" | |
4019 | ||
4020 | ay.BrickColor = bc("Cyan") | |
4021 | ||
4022 | meshk = Instance.new("SpecialMesh",ay) | |
4023 | meshk.MeshType = "Sphere" | |
4024 | ||
4025 | ay.Position = v3(999,999,999) | |
4026 | ay.CFrame = CFrame.new(RootPart.Position.x+math.random(-15,15),RootPart.Position.y-12,RootPart.Position.z+math.random(-15,15)) | |
4027 | ys = Instance.new("BodyVelocity",ay) | |
4028 | ys.Name = "GO1" | |
4029 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
4030 | ||
4031 | ys.Velocity = v3(0,6,0) | |
4032 | game.Debris:AddItem(ay,4) | |
4033 | end | |
4034 | end | |
4035 | ||
4036 | ||
4037 | function wip() | |
4038 | if not D then D = true | |
4039 | Idle = true | |
4040 | ||
4041 | for i = 0,2,0.1 do | |
4042 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1) --LeftUpperArm | |
4043 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperArm | |
4044 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerArm | |
4045 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightLowerArm | |
4046 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftUpperLeg | |
4047 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
4048 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerLeg | |
4049 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
4050 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Torso | |
4051 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(0.5,0,0),.1)--Head | |
4052 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
4053 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
4054 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
4055 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
4056 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0.2,0,0),.1)--Head | |
4057 | game:GetService("RunService").RenderStepped:wait() | |
4058 | end | |
4059 | local sbs = Instance.new("BodyPosition", RootPart) | |
4060 | sbs.P = 3000 | |
4061 | sbs.D = 1000 | |
4062 | sbs.maxForce = Vector3.new(500000, 500000000, 500000) | |
4063 | sbs.position = RootPart.CFrame.p + Vector3.new(0, 20, 0) | |
4064 | wait(0.5) | |
4065 | spiritballenergy = true | |
4066 | for i = 0,2,0.1 do | |
4067 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(180),rad(0),rad(0)),.1) --LeftUpperArm | |
4068 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(180),rad(0),rad(0)),.1)--RightUpperArm | |
4069 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--LeftLowerArm | |
4070 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
4071 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
4072 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
4073 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
4074 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
4075 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
4076 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
4077 | game:GetService("RunService").RenderStepped:wait() | |
4078 | end | |
4079 | wait(3) | |
4080 | local Bq = Instance.new("Part",UpperTorso) | |
4081 | Bq.Size = Vector3.new(1,1,1) | |
4082 | Bq.BrickColor = BrickColor.new("Cyan") | |
4083 | Bq.Material = "Neon" | |
4084 | Bq.Anchored = true | |
4085 | Bq.CFrame = RootPart.CFrame*CFrame.new(0,49,0) | |
4086 | local Bq2 = Instance.new("SpecialMesh",Bq) | |
4087 | Bq2.MeshType = "Sphere" | |
4088 | Bq2.Scale = Vector3.new(2,2,2) | |
4089 | Bq.Touched:connect(function(hit) | |
4090 | if hitted == false then | |
4091 | hitted = true | |
4092 | for i,v in pairs(FindNearestTorso(Bq.CFrame.p,100))do | |
4093 | if v:FindFirstChild('Humanoid') then | |
4094 | v.Humanoid:TakeDamage(math.random(16000000,170000000)) | |
4095 | v:FindFirstChild("Torso").Velocity = UpperTorso.CFrame.lookVector * 5 | |
4096 | end | |
4097 | end | |
4098 | Bq.Anchored = true | |
4099 | local To = Instance.new("Part",Character) | |
4100 | To.Size = Vector3.new(1,1,1) | |
4101 | To.BrickColor = BrickColor.new("White") | |
4102 | To.CanCollide = false | |
4103 | To.Anchored = true | |
4104 | To.CFrame = Bq.CFrame*CFrame.new(0,0,0) | |
4105 | local To2 = Instance.new("SpecialMesh",To) | |
4106 | To2.MeshId = "rbxassetid://1051557" | |
4107 | To2.Scale = Vector3.new(1,1,1) | |
4108 | local Grab = Instance.new("Part",Character) | |
4109 | Grab.Size = Vector3.new(1,1,1) | |
4110 | Grab.BrickColor = BrickColor.new("White") | |
4111 | Grab.CanCollide = false | |
4112 | Grab.Anchored = true | |
4113 | Grab.Material = "Neon" | |
4114 | Grab.CFrame = Bq.CFrame*CFrame.new(0,0,0) | |
4115 | local Grab2 = Instance.new("SpecialMesh",Grab) | |
4116 | Grab2.MeshType = "Sphere" | |
4117 | Grab2.Scale = Vector3.new(70,70,70) | |
4118 | local Rin = Instance.new("Part",Character) | |
4119 | Rin.Size = Vector3.new(1,1,1) | |
4120 | Rin.BrickColor = BrickColor.new("White") | |
4121 | Rin.Anchored = true | |
4122 | Rin.CFrame = Bq.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
4123 | local Rin2 = Instance.new("SpecialMesh",Rin) | |
4124 | Rin2.MeshId = "rbxassetid://3270017" | |
4125 | Rin2.Scale = Vector3.new(1,1,1) | |
4126 | for i = 1,1000 do | |
4127 | Rin2.Scale = Rin2.Scale + Vector3.new(2.5,2.5,0.1) | |
4128 | Rin.Transparency = Rin.Transparency + 0.003 | |
4129 | To2.Scale = To2.Scale + Vector3.new(1.2,1,1.2) | |
4130 | To.Transparency = To.Transparency + 0.003 | |
4131 | To.CFrame = To.CFrame*CFrame.Angles(0,0.3,0) | |
4132 | Bq.Transparency = Bq.Transparency + 0.003 | |
4133 | Grab.Transparency = Grab.Transparency + 0.003 | |
4134 | game:GetService("RunService").RenderStepped:wait() | |
4135 | end | |
4136 | end | |
4137 | end) | |
4138 | for i = 1,200 do | |
4139 | Bq2.Scale = Bq2.Scale + Vector3.new(0.4,0.4,0.4) | |
4140 | game:GetService("RunService").RenderStepped:wait() | |
4141 | end | |
4142 | Bq.Anchored = false | |
4143 | local Fl = Instance.new("BodyVelocity",Bq) | |
4144 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
4145 | Fl.velocity = Mouse.hit.lookVector*100 | |
4146 | for i = 0,2,0.1 do | |
4147 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(80),rad(0),rad(0)),.1) --LeftUpperArm | |
4148 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(80),rad(0),rad(0)),.1)--RightUpperArm | |
4149 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
4150 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
4151 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--LeftUpperLeg | |
4152 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.1)--RightUpperLeg | |
4153 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
4154 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
4155 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(-20),rad(0),rad(0)),.1)--Torso | |
4156 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
4157 | game:GetService("RunService").RenderStepped:wait() | |
4158 | end | |
4159 | wait(8) | |
4160 | Idle = false | |
4161 | hitted = false | |
4162 | sbs:remove() | |
4163 | wait(2) | |
4164 | D = false | |
4165 | end | |
4166 | end | |
4167 | ||
4168 | local rock3 = false | |
4169 | local rock2 = false | |
4170 | local rock = false | |
4171 | ||
4172 | ||
4173 | function RenderStepped2() | |
4174 | ||
4175 | ||
4176 | ||
4177 | if rock2 == true then | |
4178 | wait(0.1) | |
4179 | ||
4180 | for i,v in pairs(Character:GetChildren()) do | |
4181 | if v:IsA("Part") then | |
4182 | if v.Name == "NewPart2" then | |
4183 | v.GO.Velocity = v3(0,-5,0) | |
4184 | end | |
4185 | end | |
4186 | ||
4187 | end | |
4188 | rock2 = false | |
4189 | end | |
4190 | if rock3 == true then | |
4191 | wait(0.1) | |
4192 | for i,v in pairs(Character:GetChildren()) do | |
4193 | if v:IsA("Part") then | |
4194 | if v.Name == "NewPart2" then | |
4195 | v.GO.Velocity = v3(math.random(-80,80),math.random(0,20),math.random(-80,80)) | |
4196 | end | |
4197 | end | |
4198 | end | |
4199 | rock3 = false | |
4200 | end | |
4201 | end | |
4202 | ||
4203 | if rock == true then | |
4204 | wait(math.random(0.1,0.5)) | |
4205 | ay = new("Part",Character) | |
4206 | ay.Name = "NewPart2" | |
4207 | ay.Size = v3(3.3,3.3,3.3) | |
4208 | ay.CanCollide = false | |
4209 | for i,v in pairs(workspace:GetChildren()) do | |
4210 | if v:IsA("Part") then | |
4211 | if v.Size.x > 150 then | |
4212 | ||
4213 | ||
4214 | ay.BrickColor = v.BrickColor | |
4215 | ay.Material = v.Material | |
4216 | ay.Transparency = v.Transparency | |
4217 | end | |
4218 | end | |
4219 | end | |
4220 | ay.Position = v3(999,999,999) | |
4221 | ay.CFrame = CFrame.new(RootPart.Position.x+math.random(-15,15),RootPart.Position.y-2,RootPart.Position.z+math.random(-15,15)) | |
4222 | ys = Instance.new("BodyVelocity",ay) | |
4223 | ys.Name = "GO" | |
4224 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
4225 | ||
4226 | ys.Velocity = v3(0,6,0) | |
4227 | game.Debris:AddItem(ay,math.random(3,4)) | |
4228 | end | |
4229 | ||
4230 | ||
4231 | ||
4232 | ||
4233 | ||
4234 | RootPart.Touched:connect(function(hit)--dodge | |
4235 | local h = hit.Parent:FindFirstChildOfClass("Humanoid") | |
4236 | if h ~= nil then | |
4237 | if Humanoid.Health > 0 and instinct == true then | |
4238 | RootPart.CFrame = RootPart.CFrame * CFrame.new(0,0,-2.2)*CFrame.Angles(math.rad(0),math.rad(180),math.rad(0)) | |
4239 | script.Parent.Humanoid.Health = script.Parent.Humanoid.MaxHealth | |
4240 | local ay = math.random(1,2) | |
4241 | if ay == 1 then | |
4242 | RootPart.CFrame = RootPart.CFrame * CFrame.new(-8.2,0,0) | |
4243 | else | |
4244 | RootPart.CFrame = RootPart.CFrame * CFrame.new(0,0,7.3) | |
4245 | end | |
4246 | end | |
4247 | end | |
4248 | end) | |
4249 | ||
4250 | tp = true | |
4251 | ||
4252 | Mouse.KeyDown:connect(function(k) | |
4253 | if k == "1" then | |
4254 | if tp == true then | |
4255 | tp = false | |
4256 | local Must = Instance.new("Sound",UpperTorso) | |
4257 | Must.SoundId = "rbxassetid://1055279036" | |
4258 | Must.Pitch = 0.99 | |
4259 | Must.Volume = 1.2 | |
4260 | Must.Looped = false | |
4261 | wait(0) | |
4262 | Must:Play() | |
4263 | Zanzoken = Instance.new("Part",Character) | |
4264 | Zanzoken.Anchored = true | |
4265 | Zanzoken.CanCollide = false | |
4266 | Zanzoken.Position = v3(999,999,999) | |
4267 | Zanzoken.CFrame = LowerTorso.CFrame | |
4268 | game.Debris:AddItem(Zanzoken,0.5) | |
4269 | Zanzoken.Transparency = 1 | |
4270 | wait() | |
4271 | idk = Instance.new("BillboardGui",Zanzoken) | |
4272 | idk.Size = UDim2.new(10,0,15,0) | |
4273 | idk.AlwaysOnTop = false | |
4274 | idk1 = Instance.new("ImageLabel",idk) | |
4275 | idk1.BackgroundTransparency = 1 | |
4276 | idk.ExtentsOffset = v3(0,0,0) | |
4277 | idk1.ImageTransparency = 0 | |
4278 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
4279 | idk1.Size = UDim2.new(2,0,1,0) | |
4280 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
4281 | idk1.Image = "rbxassetid://319554883" | |
4282 | wait(0) | |
4283 | Character.HumanoidRootPart.CFrame = Mouse.Hit * CFrame.new(0, 3, 0) | |
4284 | wait(0) | |
4285 | Zanzoken = Instance.new("Part",Character) | |
4286 | Zanzoken.Anchored = true | |
4287 | Zanzoken.CanCollide = false | |
4288 | Zanzoken.Position = v3(999,999,999) | |
4289 | Zanzoken.CFrame = LowerTorso.CFrame | |
4290 | game.Debris:AddItem(Zanzoken,0.5) | |
4291 | Zanzoken.Transparency = 1 | |
4292 | wait() | |
4293 | idk = Instance.new("BillboardGui",Zanzoken) | |
4294 | idk.Size = UDim2.new(10,0,15,0) | |
4295 | idk.AlwaysOnTop = false | |
4296 | idk1 = Instance.new("ImageLabel",idk) | |
4297 | idk1.BackgroundTransparency = 1 | |
4298 | idk.ExtentsOffset = v3(0,0,0) | |
4299 | idk1.ImageTransparency = 0 | |
4300 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
4301 | idk1.Size = UDim2.new(2,0,1,0) | |
4302 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
4303 | idk1.Image = "rbxassetid://319554883" | |
4304 | ||
4305 | wait(0.4) | |
4306 | tp = true | |
4307 | ||
4308 | ||
4309 | end | |
4310 | end | |
4311 | end) | |
4312 | ||
4313 | ||
4314 | Mouse.KeyDown:connect(function(key) | |
4315 | if key == "h" then | |
4316 | Idle = true | |
4317 | ssj = true | |
4318 | ssj2 = false | |
4319 | blue = false | |
4320 | base = false | |
4321 | multiplier = 3 | |
4322 | ||
4323 | local H = Instance.new("Part",UpperTorso) | |
4324 | H.Size = Vector3.new(1,1,1) | |
4325 | H.BrickColor = BrickColor.new("Cyan") | |
4326 | H.CanCollide = false | |
4327 | H.Material = "Neon" | |
4328 | H.Anchored = true | |
4329 | H.CFrame = RootPart.CFrame*CFrame.new(0,8.1,0)*CFrame.Angles(0,1.55,0) | |
4330 | local H2 = Instance.new("SpecialMesh",H) | |
4331 | H2.MeshId = "rbxassetid://569384034" | |
4332 | H2.Scale = Vector3.new(2.5,2.5,2.5) | |
4333 | RootPart.Anchored = true | |
4334 | local Music2 = Instance.new("Sound",UpperTorso) | |
4335 | Music2.SoundId = "rbxassetid://917377181" | |
4336 | Music2.Pitch = 1 | |
4337 | Music2.Looped = false | |
4338 | Music2.Volume = 3.2 | |
4339 | wait(0.0001) | |
4340 | Music2:Play() | |
4341 | local Music3 = Instance.new("Sound",UpperTorso) | |
4342 | Music3.SoundId = "rbxassetid://891397456" | |
4343 | Music3.Pitch = 1 | |
4344 | Music3.Looped = false | |
4345 | Music3.Volume = 3.2 | |
4346 | wait(0.0001) | |
4347 | Music3:Play() | |
4348 | coroutine.resume(coroutine.create(function() | |
4349 | for i = 1,4 do | |
4350 | local HQ = Instance.new("Part",Character) | |
4351 | HQ.Size = Vector3.new(1,0,1) | |
4352 | HQ.BrickColor = BrickColor.new("Cyan") | |
4353 | HQ.Material = "Neon" | |
4354 | HQ.Anchored = true | |
4355 | HQ.CanCollide = false | |
4356 | HQ.CFrame = RootPart.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
4357 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
4358 | HQ2.MeshId = "rbxassetid://20329976" | |
4359 | HQ2.Scale = Vector3.new(1,1,1) | |
4360 | local HQ5 = Instance.new("Part",Character) | |
4361 | HQ5.Size = Vector3.new(1,0,1) | |
4362 | HQ5.BrickColor = BrickColor.new("Cyan") | |
4363 | HQ5.Material = "Neon" | |
4364 | HQ5.Anchored = true | |
4365 | HQ5.CanCollide = false | |
4366 | HQ5.CFrame = RootPart.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
4367 | local HQ6 = Instance.new("SpecialMesh",HQ5) | |
4368 | HQ6.MeshId = "rbxassetid://20329976" | |
4369 | HQ6.Scale = Vector3.new(1,1,1) | |
4370 | ||
4371 | coroutine.resume(coroutine.create(function() | |
4372 | for i = 0,5,0.1 do | |
4373 | HQ2.Scale = HQ2.Scale + Vector3.new(2,0,2) | |
4374 | HQ.Transparency = HQ.Transparency + 0.09 | |
4375 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0.3,0) | |
4376 | HQ6.Scale = HQ6.Scale + Vector3.new(2,0,2) | |
4377 | HQ5.Transparency = HQ5.Transparency + 0.09 | |
4378 | HQ5.CFrame = HQ5.CFrame*CFrame.Angles(0,-0.3,0) | |
4379 | wait(0.00000000001) | |
4380 | end | |
4381 | end)) | |
4382 | wait(0.3) | |
4383 | end | |
4384 | end)) | |
4385 | ||
4386 | ||
4387 | ||
4388 | for i = 0,10,0.1 do | |
4389 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-20)),.1) --LeftUpperArm | |
4390 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(20)),.1)--RightUpperArm | |
4391 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.1)--LeftLowerArm | |
4392 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.1)--RightLowerArm | |
4393 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-10)),.1)--LeftUpperLeg | |
4394 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(10)),.1)--RightUpperLeg | |
4395 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
4396 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
4397 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
4398 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head | |
4399 | H.CFrame = H.CFrame*CFrame.Angles(0,0.3,0) | |
4400 | game:GetService("RunService").RenderStepped:wait() | |
4401 | end | |
4402 | H:Destroy() | |
4403 | wait(0) | |
4404 | ||
4405 | local Music7 = Instance.new("Sound",UpperTorso) | |
4406 | Music7.SoundId = "rbxassetid://1035030726" | |
4407 | Music7.Pitch = 1 | |
4408 | Music7.Looped = false | |
4409 | Music7.Volume = 5.2 | |
4410 | wait(0.0001) | |
4411 | Music7:Play() | |
4412 | local SS = Instance.new("Part",UpperTorso) | |
4413 | SS.Size = Vector3.new(1,1,1) | |
4414 | SS.BrickColor = BrickColor.new("New Yeller") | |
4415 | SS.CanCollide = false | |
4416 | SS.Material = "Neon" | |
4417 | SS.Anchored = true | |
4418 | SS.CFrame = RootPart.CFrame*CFrame.new(0,12,0)*CFrame.Angles(0,1.55,0) | |
4419 | local SS2 = Instance.new("SpecialMesh",SS) | |
4420 | SS2.MeshId = "rbxassetid://569384034" | |
4421 | SS2.Scale = Vector3.new(4.5,4.5,4.5) | |
4422 | coroutine.resume(coroutine.create(function() | |
4423 | for i = 1,5 do | |
4424 | local HQ = Instance.new("Part",Character) | |
4425 | HQ.Size = Vector3.new(1,0,1) | |
4426 | HQ.BrickColor = BrickColor.new("New Yeller") | |
4427 | HQ.Material = "Neon" | |
4428 | HQ.Anchored = true | |
4429 | HQ.CanCollide = false | |
4430 | HQ.CFrame = RootPart.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
4431 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
4432 | HQ2.MeshId = "rbxassetid://20329976" | |
4433 | HQ2.Scale = Vector3.new(1,1,1) | |
4434 | local HQ5 = Instance.new("Part",Character) | |
4435 | HQ5.Size = Vector3.new(1,0,1) | |
4436 | HQ5.BrickColor = BrickColor.new("New Yeller") | |
4437 | HQ5.Material = "Neon" | |
4438 | HQ5.Anchored = true | |
4439 | HQ5.CanCollide = false | |
4440 | HQ5.CFrame = RootPart.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
4441 | local HQ6 = Instance.new("SpecialMesh",HQ5) | |
4442 | HQ6.MeshId = "rbxassetid://20329976" | |
4443 | HQ6.Scale = Vector3.new(1,1,1) | |
4444 | ||
4445 | coroutine.resume(coroutine.create(function() | |
4446 | for i = 1,200 do | |
4447 | HQ2.Scale = HQ2.Scale + Vector3.new(4,0,4) | |
4448 | HQ.Transparency = HQ.Transparency + 0.09 | |
4449 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0.3,0) | |
4450 | HQ6.Scale = HQ6.Scale + Vector3.new(4,0,4) | |
4451 | HQ5.Transparency = HQ5.Transparency + 0.09 | |
4452 | HQ5.CFrame = HQ5.CFrame*CFrame.Angles(0,-0.3,0) | |
4453 | wait(0.00000000001) | |
4454 | end | |
4455 | end)) | |
4456 | wait(0.3) | |
4457 | end | |
4458 | end)) | |
4459 | local HQ = Instance.new("Part",RootPart) | |
4460 | HQ.Size = Vector3.new(1,1,1) | |
4461 | HQ.BrickColor = BrickColor.new("New Yeller") | |
4462 | HQ.Material = "Neon" | |
4463 | HQ.Anchored = true | |
4464 | HQ.CanCollide = false | |
4465 | HQ.Transparency = 0.4 | |
4466 | HQ.CFrame = RootPart.CFrame*CFrame.new(0,0,0) | |
4467 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
4468 | HQ2.MeshType = "Cylinder" | |
4469 | HQ2.Scale = Vector3.new(120,1.2,1.2) | |
4470 | local HQ23 = Instance.new("Part",RootPart) | |
4471 | HQ23.Size = Vector3.new(1,1,1) | |
4472 | HQ23.BrickColor = BrickColor.new("New Yeller") | |
4473 | HQ23.Material = "Neon" | |
4474 | HQ23.Anchored = true | |
4475 | HQ23.CanCollide = false | |
4476 | HQ23.Transparency = 0.4 | |
4477 | HQ23.CFrame = RootPart.CFrame*CFrame.new(0,0,0) | |
4478 | local HQ22 = Instance.new("SpecialMesh",HQ23) | |
4479 | HQ22.MeshType = "Cylinder" | |
4480 | HQ22.Scale = Vector3.new(90,1.2,1.2) | |
4481 | local ZO = Instance.new("Part",RootPart) | |
4482 | ZO.Size = Vector3.new(1,1,1) | |
4483 | ZO.BrickColor = BrickColor.new("New Yeller") | |
4484 | ZO.Material = "Neon" | |
4485 | ZO.Anchored = true | |
4486 | ZO.CanCollide = false | |
4487 | ZO.Transparency = 0.4 | |
4488 | ZO.CFrame = RootPart.CFrame*CFrame.new(0,0,0) | |
4489 | local ZO2 = Instance.new("SpecialMesh",ZO) | |
4490 | ZO2.MeshType = "Cylinder" | |
4491 | ZO2.Scale = Vector3.new(80,1.2,1.2) | |
4492 | local BO = Instance.new("Part",RootPart) | |
4493 | BO.Size = Vector3.new(1,1,1) | |
4494 | BO.BrickColor = BrickColor.new("New Yeller") | |
4495 | BO.Material = "Neon" | |
4496 | BO.Anchored = true | |
4497 | BO.CanCollide = false | |
4498 | BO.Transparency = 0.4 | |
4499 | BO.CFrame = RootPart.CFrame*CFrame.new(0,0,0) | |
4500 | local BO2 = Instance.new("SpecialMesh",BO) | |
4501 | BO2.MeshType = "Cylinder" | |
4502 | BO2.Scale = Vector3.new(70,1.2,1.2) | |
4503 | ||
4504 | ||
4505 | Hair.BrickColor = BrickColor.new("Daisy orange") | |
4506 | wait(0.01) | |
4507 | Humanoid.MaxHealth = 50000 | |
4508 | wait(0.01) | |
4509 | Humanoid.Health = 50000 | |
4510 | Humanoid.JumpPower = 300 | |
4511 | Character.Head.face.Texture = "rbxassetid://1108357707" | |
4512 | newaura2.ImageTransparency = 0 | |
4513 | lig = Instance.new("PointLight",LowerTorso) | |
4514 | lig.Color=Color3.new(255, 255, 0) | |
4515 | lig.Range = 12 | |
4516 | local Aura = Instance.new('ParticleEmitter') | |
4517 | Aura.Name = "Aura" | |
4518 | Aura.Texture = "rbxassetid://411939841" | |
4519 | Aura.Parent = UpperTorso | |
4520 | Aura.LightEmission = 1 | |
4521 | Aura.Transparency = NumberSequence.new(0.2,1) | |
4522 | Aura.Color = ColorSequence.new(BrickColor.new("Daisy orange").Color) | |
4523 | Aura.Size = NumberSequence.new(0.2,8) | |
4524 | Aura.LockedToPart = true | |
4525 | Aura.Lifetime = NumberRange.new(1.5) | |
4526 | Aura.Rate = 50 | |
4527 | Aura.Speed = NumberRange.new(1.3) | |
4528 | Aura.EmissionDirection = "Top" | |
4529 | Aura.Rotation = NumberRange.new(-8, 8) | |
4530 | ||
4531 | for i = 0,18,0.1 do | |
4532 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-15)),.1) --LeftUpperArm | |
4533 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(15)),.1)--RightUpperArm | |
4534 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--LeftLowerArm | |
4535 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--RightLowerArm | |
4536 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftUpperLeg | |
4537 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--RightUpperLeg | |
4538 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
4539 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
4540 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--Torso | |
4541 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--Head | |
4542 | SS.CFrame = SS.CFrame*CFrame.Angles(0,0.3,0) | |
4543 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0.2,0.1) | |
4544 | HQ23.CFrame = HQ23.CFrame*CFrame.Angles(0.2,0.2,0) | |
4545 | ZO.CFrame = ZO.CFrame*CFrame.Angles(0,-0.3,0) | |
4546 | BO.CFrame = BO.CFrame*CFrame.Angles(0.2,-0.2,0.3) | |
4547 | game:GetService("RunService").RenderStepped:wait() | |
4548 | end | |
4549 | SS:Destroy() | |
4550 | Music3:Destroy() | |
4551 | Idle = false | |
4552 | BO:Destroy() | |
4553 | ZO:Destroy() | |
4554 | HQ23:Destroy() | |
4555 | HQ:Destroy() | |
4556 | local Music3 = Instance.new("Sound",UpperTorso) | |
4557 | Music3.SoundId = "rbxassetid://891397456" | |
4558 | Music3.Pitch = 1 | |
4559 | Music3.Looped = true | |
4560 | Music3.Volume = 2.2 | |
4561 | wait(0.0001) | |
4562 | Music3:Play() | |
4563 | ||
4564 | ||
4565 | RootPart.Anchored = false | |
4566 | ||
4567 | end | |
4568 | end) | |
4569 | ||
4570 | ||
4571 | ||
4572 | ||
4573 | Mouse.KeyDown:connect(function(key) | |
4574 | if key == "m" and blue == true then | |
4575 | ||
4576 | local Music5 = Instance.new("Sound",UpperTorso) | |
4577 | Music5.SoundId = "rbxassetid://874183151" | |
4578 | Music5.Pitch = 1 | |
4579 | Music5.Looped = false | |
4580 | Music5.Volume = 3.6 | |
4581 | wait(0.0001) | |
4582 | Music5:Play() | |
4583 | coroutine.resume(coroutine.create(function() | |
4584 | for i = 1,1 do | |
4585 | local ZQW = Instance.new("Part",Character) | |
4586 | ZQW.Size = Vector3.new(1,1,1) | |
4587 | ZQW.BrickColor = BrickColor.new("Cyan") | |
4588 | ZQW.Material = "Neon" | |
4589 | ZQW.Anchored = true | |
4590 | ZQW.CanCollide = false | |
4591 | ZQW.CFrame = Character.UpperTorso.CFrame*CFrame.new(0,0,0) | |
4592 | local ZQW2 = Instance.new("SpecialMesh",ZQW) | |
4593 | ZQW2.MeshType = "Sphere" | |
4594 | ZQW2.Scale = Vector3.new(1,1,1) | |
4595 | ||
4596 | coroutine.resume(coroutine.create(function() | |
4597 | for i = 1,200 do | |
4598 | ZQW2.Scale = ZQW2.Scale + Vector3.new(8,8,8) | |
4599 | ZQW.Transparency = ZQW.Transparency + 0.07 | |
4600 | wait(0.00000000001) | |
4601 | end | |
4602 | end)) | |
4603 | wait(0.3) | |
4604 | end | |
4605 | end)) | |
4606 | ||
4607 | ||
4608 | local Music4 = Instance.new("Sound",UpperTorso)--908226507 | |
4609 | Music4.SoundId = "rbxassetid://600060450" | |
4610 | Music4.Pitch = 1 | |
4611 | Music4.Looped = true | |
4612 | Music4.Volume = 1.6 | |
4613 | wait(0.0001) | |
4614 | Music4:Play() | |
4615 | ||
4616 | ||
4617 | local Aura = Instance.new('ParticleEmitter') | |
4618 | Aura.Name = "Aura" | |
4619 | Aura.Texture = "rbxassetid://1083580077" | |
4620 | Aura.Parent = UpperTorso | |
4621 | Aura.LightEmission = 0.7 | |
4622 | Aura.Transparency = NumberSequence.new(0.2,1) | |
4623 | Aura.Color = ColorSequence.new(BrickColor.new("White").Color) | |
4624 | Aura.Size = NumberSequence.new(0.2,11) | |
4625 | Aura.LockedToPart = true | |
4626 | Aura.Lifetime = NumberRange.new(1.5) | |
4627 | Aura.Rate = 50 | |
4628 | Aura.Speed = NumberRange.new(1.3) | |
4629 | Aura.EmissionDirection = "Top" | |
4630 | Aura.Rotation = NumberRange.new(-8, 8) | |
4631 | end | |
4632 | end) | |
4633 | ||
4634 | Mouse.KeyDown:connect(function(key) | |
4635 | if key == "n" then | |
4636 | for i, v in pairs(UpperTorso:GetChildren()) do | |
4637 | if v:IsA('ParticleEmitter')then | |
4638 | v:Remove() | |
4639 | end | |
4640 | end | |
4641 | for i, v in pairs(Head:GetChildren()) do | |
4642 | if v:IsA('ParticleEmitter')then | |
4643 | v:Remove() | |
4644 | end | |
4645 | end | |
4646 | for i, v in pairs(UpperTorso:GetChildren()) do | |
4647 | if v:IsA("Sound") then | |
4648 | v:Remove() | |
4649 | end | |
4650 | end | |
4651 | end | |
4652 | end) | |
4653 | ||
4654 | ||
4655 | ||
4656 | Mouse.KeyDown:connect(function(key) | |
4657 | if key == "y" and base == true and ssj == false then | |
4658 | Idle = true | |
4659 | ssj = false | |
4660 | ssj2 = false | |
4661 | blue = true | |
4662 | base = false | |
4663 | multiplier = 450 | |
4664 | ||
4665 | local H = Instance.new("Part",UpperTorso) | |
4666 | H.Size = Vector3.new(1,1,1) | |
4667 | H.BrickColor = BrickColor.new("Cyan") | |
4668 | H.CanCollide = false | |
4669 | H.Material = "Neon" | |
4670 | H.Anchored = true | |
4671 | H.CFrame = RootPart.CFrame*CFrame.new(0,8.1,0)*CFrame.Angles(0,1.55,0) | |
4672 | local H2 = Instance.new("SpecialMesh",H) | |
4673 | H2.MeshId = "rbxassetid://569384034" | |
4674 | H2.Scale = Vector3.new(2.5,2.5,2.5) | |
4675 | RootPart.Anchored = true | |
4676 | local Music2 = Instance.new("Sound",UpperTorso) | |
4677 | Music2.SoundId = "rbxassetid://917377181" | |
4678 | Music2.Pitch = 1 | |
4679 | Music2.Looped = false | |
4680 | Music2.Volume = 3.2 | |
4681 | wait(0.0001) | |
4682 | Music2:Play() | |
4683 | local Music3 = Instance.new("Sound",UpperTorso) | |
4684 | Music3.SoundId = "rbxassetid://891397456" | |
4685 | Music3.Pitch = 1 | |
4686 | Music3.Looped = false | |
4687 | Music3.Volume = 3.2 | |
4688 | wait(0.0001) | |
4689 | Music3:Play() | |
4690 | coroutine.resume(coroutine.create(function() | |
4691 | for i = 1,5 do | |
4692 | local HQ = Instance.new("Part",Character) | |
4693 | HQ.Size = Vector3.new(1,0,1) | |
4694 | HQ.BrickColor = BrickColor.new("Cyan") | |
4695 | HQ.Material = "Neon" | |
4696 | HQ.Anchored = true | |
4697 | HQ.CanCollide = false | |
4698 | HQ.CFrame = RootPart.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
4699 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
4700 | HQ2.MeshId = "rbxassetid://20329976" | |
4701 | HQ2.Scale = Vector3.new(1,1,1) | |
4702 | local HQ5 = Instance.new("Part",Character) | |
4703 | HQ5.Size = Vector3.new(1,0,1) | |
4704 | HQ5.BrickColor = BrickColor.new("Cyan") | |
4705 | HQ5.Material = "Neon" | |
4706 | HQ5.Anchored = true | |
4707 | HQ5.CanCollide = false | |
4708 | HQ5.CFrame = RootPart.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
4709 | local HQ6 = Instance.new("SpecialMesh",HQ5) | |
4710 | HQ6.MeshId = "rbxassetid://20329976" | |
4711 | HQ6.Scale = Vector3.new(1,1,1) | |
4712 | ||
4713 | coroutine.resume(coroutine.create(function() | |
4714 | for i = 0,6,0.1 do | |
4715 | HQ2.Scale = HQ2.Scale + Vector3.new(2,0,2) | |
4716 | HQ.Transparency = HQ.Transparency + 0.09 | |
4717 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0.3,0) | |
4718 | HQ6.Scale = HQ6.Scale + Vector3.new(2,0,2) | |
4719 | HQ5.Transparency = HQ5.Transparency + 0.09 | |
4720 | HQ5.CFrame = HQ5.CFrame*CFrame.Angles(0,-0.3,0) | |
4721 | wait(0.00000000001) | |
4722 | end | |
4723 | end)) | |
4724 | wait(0.3) | |
4725 | end | |
4726 | end)) | |
4727 | ||
4728 | ||
4729 | ||
4730 | for i = 0,16,0.1 do | |
4731 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-20)),.1) --LeftUpperArm | |
4732 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(20)),.1)--RightUpperArm | |
4733 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.1)--LeftLowerArm | |
4734 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.1)--RightLowerArm | |
4735 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-10)),.1)--LeftUpperLeg | |
4736 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(10)),.1)--RightUpperLeg | |
4737 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
4738 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
4739 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
4740 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head | |
4741 | H.CFrame = H.CFrame*CFrame.Angles(0,0.3,0) | |
4742 | game:GetService("RunService").RenderStepped:wait() | |
4743 | end | |
4744 | H:Destroy() | |
4745 | wait(0) | |
4746 | ||
4747 | local Music7 = Instance.new("Sound",UpperTorso) | |
4748 | Music7.SoundId = "rbxassetid://1019285316" | |
4749 | Music7.Pitch = 1 | |
4750 | Music7.Looped = false | |
4751 | Music7.Volume = 5.2 | |
4752 | wait(0.0001) | |
4753 | Music7:Play() | |
4754 | local SS = Instance.new("Part",UpperTorso) | |
4755 | SS.Size = Vector3.new(1,1,1) | |
4756 | SS.BrickColor = BrickColor.new("Toothpaste") | |
4757 | SS.CanCollide = false | |
4758 | SS.Material = "Neon" | |
4759 | SS.Anchored = true | |
4760 | SS.CFrame = RootPart.CFrame*CFrame.new(0,12,0)*CFrame.Angles(0,1.55,0) | |
4761 | local SS2 = Instance.new("SpecialMesh",SS) | |
4762 | SS2.MeshId = "rbxassetid://569384034" | |
4763 | SS2.Scale = Vector3.new(4.5,4.5,4.5) | |
4764 | coroutine.resume(coroutine.create(function() | |
4765 | for i = 1,11 do | |
4766 | local HQ = Instance.new("Part",Character) | |
4767 | HQ.Size = Vector3.new(1,0,1) | |
4768 | HQ.BrickColor = BrickColor.new("Toothpaste") | |
4769 | HQ.Material = "Neon" | |
4770 | HQ.Anchored = true | |
4771 | HQ.CanCollide = false | |
4772 | HQ.CFrame = RootPart.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
4773 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
4774 | HQ2.MeshId = "rbxassetid://20329976" | |
4775 | HQ2.Scale = Vector3.new(1,1,1) | |
4776 | local HQ5 = Instance.new("Part",Character) | |
4777 | HQ5.Size = Vector3.new(1,0,1) | |
4778 | HQ5.BrickColor = BrickColor.new("Toothpaste") | |
4779 | HQ5.Material = "Neon" | |
4780 | HQ5.Anchored = true | |
4781 | HQ5.CanCollide = false | |
4782 | HQ5.CFrame = RootPart.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
4783 | local HQ6 = Instance.new("SpecialMesh",HQ5) | |
4784 | HQ6.MeshId = "rbxassetid://20329976" | |
4785 | HQ6.Scale = Vector3.new(1,1,1) | |
4786 | local ZQW = Instance.new("Part",Character) | |
4787 | ZQW.Size = Vector3.new(1,1,1) | |
4788 | ZQW.BrickColor = BrickColor.new("Cyan") | |
4789 | ZQW.Material = "Neon" | |
4790 | ZQW.Anchored = true | |
4791 | ZQW.CanCollide = false | |
4792 | ZQW.CFrame = Character.UpperTorso.CFrame*CFrame.new(0,0,0) | |
4793 | local ZQW2 = Instance.new("SpecialMesh",ZQW) | |
4794 | ZQW2.MeshType = "Sphere" | |
4795 | ZQW2.Scale = Vector3.new(1,1,1) | |
4796 | ||
4797 | coroutine.resume(coroutine.create(function() | |
4798 | for i = 1,200 do | |
4799 | HQ2.Scale = HQ2.Scale + Vector3.new(4,0,4) | |
4800 | HQ.Transparency = HQ.Transparency + 0.09 | |
4801 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0.3,0) | |
4802 | HQ6.Scale = HQ6.Scale + Vector3.new(4,0,4) | |
4803 | HQ5.Transparency = HQ5.Transparency + 0.09 | |
4804 | HQ5.CFrame = HQ5.CFrame*CFrame.Angles(0,-0.3,0) | |
4805 | ZQW2.Scale = ZQW2.Scale + Vector3.new(8,8,8) | |
4806 | ZQW.Transparency = ZQW.Transparency + 0.07 | |
4807 | wait(0.00000000001) | |
4808 | end | |
4809 | end)) | |
4810 | wait(0.3) | |
4811 | end | |
4812 | end)) | |
4813 | local HQ = Instance.new("Part",RootPart) | |
4814 | HQ.Size = Vector3.new(1,1,1) | |
4815 | HQ.BrickColor = BrickColor.new("Cyan") | |
4816 | HQ.Material = "Neon" | |
4817 | HQ.Anchored = true | |
4818 | HQ.CanCollide = false | |
4819 | HQ.Transparency = 0.4 | |
4820 | HQ.CFrame = RootPart.CFrame*CFrame.new(0,0,0) | |
4821 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
4822 | HQ2.MeshType = "Cylinder" | |
4823 | HQ2.Scale = Vector3.new(190,1.2,1.2) | |
4824 | local HQ23 = Instance.new("Part",RootPart) | |
4825 | HQ23.Size = Vector3.new(1,1,1) | |
4826 | HQ23.BrickColor = BrickColor.new("Cyan") | |
4827 | HQ23.Material = "Neon" | |
4828 | HQ23.Anchored = true | |
4829 | HQ23.CanCollide = false | |
4830 | HQ23.Transparency = 0.4 | |
4831 | HQ23.CFrame = RootPart.CFrame*CFrame.new(0,0,0) | |
4832 | local HQ22 = Instance.new("SpecialMesh",HQ23) | |
4833 | HQ22.MeshType = "Cylinder" | |
4834 | HQ22.Scale = Vector3.new(190,1.2,1.2) | |
4835 | local ZO = Instance.new("Part",RootPart) | |
4836 | ZO.Size = Vector3.new(1,1,1) | |
4837 | ZO.BrickColor = BrickColor.new("Cyan") | |
4838 | ZO.Material = "Neon" | |
4839 | ZO.Anchored = true | |
4840 | ZO.CanCollide = false | |
4841 | ZO.Transparency = 0.4 | |
4842 | ZO.CFrame = RootPart.CFrame*CFrame.new(0,0,0) | |
4843 | local ZO2 = Instance.new("SpecialMesh",ZO) | |
4844 | ZO2.MeshType = "Cylinder" | |
4845 | ZO2.Scale = Vector3.new(180,1.2,1.2) | |
4846 | local BO = Instance.new("Part",RootPart) | |
4847 | BO.Size = Vector3.new(1,1,1) | |
4848 | BO.BrickColor = BrickColor.new("Cyan") | |
4849 | BO.Material = "Neon" | |
4850 | BO.Anchored = true | |
4851 | BO.CanCollide = false | |
4852 | BO.Transparency = 0.4 | |
4853 | BO.CFrame = RootPart.CFrame*CFrame.new(0,0,0) | |
4854 | local BO2 = Instance.new("SpecialMesh",BO) | |
4855 | BO2.MeshType = "Cylinder" | |
4856 | BO2.Scale = Vector3.new(150,1.2,1.2) | |
4857 | ||
4858 | ||
4859 | Hair.BrickColor = BrickColor.new("Cyan") | |
4860 | wait(0.01) | |
4861 | Humanoid.MaxHealth = 5000000000000 | |
4862 | wait(0.01) | |
4863 | Humanoid.Health = 5000000000000 | |
4864 | Humanoid.JumpPower = 300 | |
4865 | Character.Head.face.Texture = "rbxassetid://262534270" | |
4866 | newaura2.ImageTransparency = 0 | |
4867 | lig = Instance.new("PointLight",LowerTorso) | |
4868 | lig.Color=Color3.new(0, 255, 255) | |
4869 | lig.Range = 12 | |
4870 | ||
4871 | ||
4872 | for i = 0,18,0.1 do | |
4873 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-15)),.1) --LeftUpperArm | |
4874 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(15)),.1)--RightUpperArm | |
4875 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--LeftLowerArm | |
4876 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--RightLowerArm | |
4877 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftUpperLeg | |
4878 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--RightUpperLeg | |
4879 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
4880 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
4881 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--Torso | |
4882 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--Head | |
4883 | SS.CFrame = SS.CFrame*CFrame.Angles(0,0.3,0) | |
4884 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0.2,0.1) | |
4885 | HQ23.CFrame = HQ23.CFrame*CFrame.Angles(0.2,0.2,0) | |
4886 | ZO.CFrame = ZO.CFrame*CFrame.Angles(0,-0.3,0) | |
4887 | BO.CFrame = BO.CFrame*CFrame.Angles(0.2,-0.2,0.3) | |
4888 | game:GetService("RunService").RenderStepped:wait() | |
4889 | end | |
4890 | SS:Destroy() | |
4891 | Music3:Destroy() | |
4892 | Idle = false | |
4893 | BO:Destroy() | |
4894 | ZO:Destroy() | |
4895 | HQ23:Destroy() | |
4896 | HQ:Destroy() | |
4897 | local Music2 = Instance.new("Sound",UpperTorso)--908226507 | |
4898 | Music2.SoundId = "rbxassetid://907538836" | |
4899 | Music2.Pitch = 1 | |
4900 | Music2.Looped = false | |
4901 | Music2.Volume = 4.2 | |
4902 | wait(0.0001) | |
4903 | Music2:Play() | |
4904 | ||
4905 | local Music3 = Instance.new("Sound",UpperTorso)--908226507 | |
4906 | Music3.SoundId = "rbxassetid://908226507" | |
4907 | Music3.Pitch = 1 | |
4908 | Music3.Looped = true | |
4909 | Music3.Volume = 0.1 | |
4910 | wait(0.0001) | |
4911 | Music3:Play() | |
4912 | ||
4913 | ||
4914 | local Music4 = Instance.new("Sound",UpperTorso)--908226507 | |
4915 | Music4.SoundId = "rbxassetid://600060450" | |
4916 | Music4.Pitch = 1 | |
4917 | Music4.Looped = true | |
4918 | Music4.Volume = 1.6 | |
4919 | wait(0.0001) | |
4920 | Music4:Play() | |
4921 | ||
4922 | ||
4923 | local Aura = Instance.new('ParticleEmitter') | |
4924 | Aura.Name = "Aura" | |
4925 | Aura.Texture = "rbxassetid://1083580077" | |
4926 | Aura.Parent = UpperTorso | |
4927 | Aura.LightEmission = 0.7 | |
4928 | Aura.Transparency = NumberSequence.new(0.2,1) | |
4929 | Aura.Color = ColorSequence.new(BrickColor.new("White").Color) | |
4930 | Aura.Size = NumberSequence.new(0.2,11) | |
4931 | Aura.LockedToPart = true | |
4932 | Aura.Lifetime = NumberRange.new(1.5) | |
4933 | Aura.Rate = 50 | |
4934 | Aura.Speed = NumberRange.new(1.3) | |
4935 | Aura.EmissionDirection = "Top" | |
4936 | Aura.Rotation = NumberRange.new(-8, 8) | |
4937 | ||
4938 | ||
4939 | RootPart.Anchored = false | |
4940 | ||
4941 | Mouse.Button1Down:connect(function() | |
4942 | if attack == false and attacktype == 1 then | |
4943 | Strong() | |
4944 | attacktype = 2 | |
4945 | elseif attack == false and attacktype == 2 then | |
4946 | Strong2() | |
4947 | attacktype = 3 | |
4948 | elseif attack == false and attacktype == 3 then | |
4949 | Strong3() | |
4950 | attacktype = 1 | |
4951 | end | |
4952 | end) | |
4953 | wait(2121) | |
4954 | DZ = false | |
4955 | ||
4956 | ||
4957 | end | |
4958 | end) | |
4959 | ||
4960 | ||
4961 | ||
4962 | ||
4963 | ||
4964 | Mouse.KeyDown:connect(function(key) | |
4965 | if key == "j" and ssj == true then | |
4966 | Idle = true | |
4967 | ssj = false | |
4968 | ssj2 = true | |
4969 | blue = false | |
4970 | base = false | |
4971 | multiplier = 4 | |
4972 | ||
4973 | local H = Instance.new("Part",UpperTorso) | |
4974 | H.Size = Vector3.new(1,1,1) | |
4975 | H.BrickColor = BrickColor.new("New Yeller") | |
4976 | H.CanCollide = false | |
4977 | H.Material = "Neon" | |
4978 | H.Anchored = true | |
4979 | H.CFrame = RootPart.CFrame*CFrame.new(0,9.1,0)*CFrame.Angles(0,1.55,0) | |
4980 | local H2 = Instance.new("SpecialMesh",H) | |
4981 | H2.MeshId = "rbxassetid://569384034" | |
4982 | H2.Scale = Vector3.new(3.5,3.5,3.5) | |
4983 | RootPart.Anchored = true | |
4984 | local Music2 = Instance.new("Sound",UpperTorso) | |
4985 | Music2.SoundId = "rbxassetid://917377181" | |
4986 | Music2.Pitch = 1 | |
4987 | Music2.Looped = false | |
4988 | Music2.Volume = 3.2 | |
4989 | wait(0.0001) | |
4990 | Music2:Play() | |
4991 | local Music3 = Instance.new("Sound",UpperTorso) | |
4992 | Music3.SoundId = "rbxassetid://891397456" | |
4993 | Music3.Pitch = 1 | |
4994 | Music3.Looped = false | |
4995 | Music3.Volume = 3.2 | |
4996 | wait(0.0001) | |
4997 | Music3:Play() | |
4998 | coroutine.resume(coroutine.create(function() | |
4999 | for i = 1,20 do | |
5000 | local HQ = Instance.new("Part",Character) | |
5001 | HQ.Size = Vector3.new(1,0,1) | |
5002 | HQ.BrickColor = BrickColor.new("New Yeller") | |
5003 | HQ.Material = "Neon" | |
5004 | HQ.Anchored = true | |
5005 | HQ.CanCollide = false | |
5006 | HQ.CFrame = RootPart.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
5007 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
5008 | HQ2.MeshId = "rbxassetid://20329976" | |
5009 | HQ2.Scale = Vector3.new(1,1,1) | |
5010 | local HQ5 = Instance.new("Part",Character) | |
5011 | HQ5.Size = Vector3.new(1,0,1) | |
5012 | HQ5.BrickColor = BrickColor.new("Gold") | |
5013 | HQ5.Material = "Neon" | |
5014 | HQ5.Anchored = true | |
5015 | HQ5.CanCollide = false | |
5016 | HQ5.CFrame = RootPart.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
5017 | local HQ6 = Instance.new("SpecialMesh",HQ5) | |
5018 | HQ6.MeshId = "rbxassetid://20329976" | |
5019 | HQ6.Scale = Vector3.new(1,1,1) | |
5020 | ||
5021 | coroutine.resume(coroutine.create(function() | |
5022 | for i = 0,20,0.1 do | |
5023 | HQ2.Scale = HQ2.Scale + Vector3.new(4,0,4) | |
5024 | HQ.Transparency = HQ.Transparency + 0.09 | |
5025 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0.3,0) | |
5026 | HQ6.Scale = HQ6.Scale + Vector3.new(2,0,2) | |
5027 | HQ5.Transparency = HQ5.Transparency + 0.09 | |
5028 | HQ5.CFrame = HQ5.CFrame*CFrame.Angles(0,-0.3,0) | |
5029 | wait(0.00000000001) | |
5030 | end | |
5031 | end)) | |
5032 | wait(0.3) | |
5033 | end | |
5034 | end)) | |
5035 | ||
5036 | ||
5037 | ||
5038 | for i = 0,38,0.1 do | |
5039 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-20)),.1) --LeftUpperArm | |
5040 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(20)),.1)--RightUpperArm | |
5041 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.1)--LeftLowerArm | |
5042 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(70),rad(0),rad(0)),.1)--RightLowerArm | |
5043 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-10)),.1)--LeftUpperLeg | |
5044 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(10)),.1)--RightUpperLeg | |
5045 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
5046 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5047 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
5048 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),1)--Head | |
5049 | H.CFrame = H.CFrame*CFrame.Angles(0,0.3,0) | |
5050 | game:GetService("RunService").RenderStepped:wait() | |
5051 | end | |
5052 | H:Destroy() | |
5053 | wait(0) | |
5054 | ||
5055 | local Music7 = Instance.new("Sound",UpperTorso) | |
5056 | Music7.SoundId = "rbxassetid://1035030726" | |
5057 | Music7.Pitch = 1 | |
5058 | Music7.Looped = false | |
5059 | Music7.Volume = 5.2 | |
5060 | wait(0.0001) | |
5061 | Music7:Play() | |
5062 | local SS = Instance.new("Part",UpperTorso) | |
5063 | SS.Size = Vector3.new(1,1,1) | |
5064 | SS.BrickColor = BrickColor.new("New Yeller") | |
5065 | SS.CanCollide = false | |
5066 | SS.Material = "Neon" | |
5067 | SS.Anchored = true | |
5068 | SS.CFrame = RootPart.CFrame*CFrame.new(0,12,0)*CFrame.Angles(0,1.55,0) | |
5069 | local SS2 = Instance.new("SpecialMesh",SS) | |
5070 | SS2.MeshId = "rbxassetid://569384034" | |
5071 | SS2.Scale = Vector3.new(4.5,4.5,4.5) | |
5072 | coroutine.resume(coroutine.create(function() | |
5073 | for i = 1,11 do | |
5074 | local HQ = Instance.new("Part",Character) | |
5075 | HQ.Size = Vector3.new(1,0,1) | |
5076 | HQ.BrickColor = BrickColor.new("New Yeller") | |
5077 | HQ.Material = "Neon" | |
5078 | HQ.Anchored = true | |
5079 | HQ.CanCollide = false | |
5080 | HQ.CFrame = RootPart.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
5081 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
5082 | HQ2.MeshId = "rbxassetid://20329976" | |
5083 | HQ2.Scale = Vector3.new(1,1,1) | |
5084 | local HQ5 = Instance.new("Part",Character) | |
5085 | HQ5.Size = Vector3.new(1,0,1) | |
5086 | HQ5.BrickColor = BrickColor.new("New Yeller") | |
5087 | HQ5.Material = "Neon" | |
5088 | HQ5.Anchored = true | |
5089 | HQ5.CanCollide = false | |
5090 | HQ5.CFrame = RootPart.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0) | |
5091 | local HQ6 = Instance.new("SpecialMesh",HQ5) | |
5092 | HQ6.MeshId = "rbxassetid://20329976" | |
5093 | HQ6.Scale = Vector3.new(1,1,1) | |
5094 | ||
5095 | coroutine.resume(coroutine.create(function() | |
5096 | for i = 1,200 do | |
5097 | HQ2.Scale = HQ2.Scale + Vector3.new(8,0,8) | |
5098 | HQ.Transparency = HQ.Transparency + 0.09 | |
5099 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0.3,0) | |
5100 | HQ6.Scale = HQ6.Scale + Vector3.new(4,0,4) | |
5101 | HQ5.Transparency = HQ5.Transparency + 0.09 | |
5102 | HQ5.CFrame = HQ5.CFrame*CFrame.Angles(0,-0.3,0) | |
5103 | wait(0.00000000001) | |
5104 | end | |
5105 | end)) | |
5106 | wait(0.3) | |
5107 | end | |
5108 | end)) | |
5109 | local HQ = Instance.new("Part",RootPart) | |
5110 | HQ.Size = Vector3.new(1,1,1) | |
5111 | HQ.BrickColor = BrickColor.new("New Yeller") | |
5112 | HQ.Material = "Neon" | |
5113 | HQ.Anchored = true | |
5114 | HQ.CanCollide = false | |
5115 | HQ.Transparency = 0.4 | |
5116 | HQ.CFrame = RootPart.CFrame*CFrame.new(0,0,0) | |
5117 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
5118 | HQ2.MeshType = "Cylinder" | |
5119 | HQ2.Scale = Vector3.new(120,1.2,1.2) | |
5120 | local HQ23 = Instance.new("Part",RootPart) | |
5121 | HQ23.Size = Vector3.new(1,1,1) | |
5122 | HQ23.BrickColor = BrickColor.new("New Yeller") | |
5123 | HQ23.Material = "Neon" | |
5124 | HQ23.Anchored = true | |
5125 | HQ23.CanCollide = false | |
5126 | HQ23.Transparency = 0.4 | |
5127 | HQ23.CFrame = RootPart.CFrame*CFrame.new(0,0,0) | |
5128 | local HQ22 = Instance.new("SpecialMesh",HQ23) | |
5129 | HQ22.MeshType = "Cylinder" | |
5130 | HQ22.Scale = Vector3.new(90,1.2,1.2) | |
5131 | local ZO = Instance.new("Part",RootPart) | |
5132 | ZO.Size = Vector3.new(1,1,1) | |
5133 | ZO.BrickColor = BrickColor.new("New Yeller") | |
5134 | ZO.Material = "Neon" | |
5135 | ZO.Anchored = true | |
5136 | ZO.CanCollide = false | |
5137 | ZO.Transparency = 0.4 | |
5138 | ZO.CFrame = RootPart.CFrame*CFrame.new(0,0,0) | |
5139 | local ZO2 = Instance.new("SpecialMesh",ZO) | |
5140 | ZO2.MeshType = "Cylinder" | |
5141 | ZO2.Scale = Vector3.new(80,1.2,1.2) | |
5142 | local BO = Instance.new("Part",RootPart) | |
5143 | BO.Size = Vector3.new(1,1,1) | |
5144 | BO.BrickColor = BrickColor.new("New Yeller") | |
5145 | BO.Material = "Neon" | |
5146 | BO.Anchored = true | |
5147 | BO.CanCollide = false | |
5148 | BO.Transparency = 0.4 | |
5149 | BO.CFrame = RootPart.CFrame*CFrame.new(0,0,0) | |
5150 | local BO2 = Instance.new("SpecialMesh",BO) | |
5151 | BO2.MeshType = "Cylinder" | |
5152 | BO2.Scale = Vector3.new(70,1.2,1.2) | |
5153 | ||
5154 | Hair.BrickColor = BrickColor.new("New Yeller") | |
5155 | Humanoid.MaxHealth = 100000 | |
5156 | wait(0.01) | |
5157 | Humanoid.Health = 100000 | |
5158 | Humanoid.JumpPower = 350 | |
5159 | Character.Head.face.Texture = "rbxassetid://1108357707" | |
5160 | newaura2.ImageTransparency = 0 | |
5161 | lig = Instance.new("PointLight",LowerTorso) | |
5162 | lig.Color=Color3.new(255, 255, 0) | |
5163 | lig.Range = 12 | |
5164 | for i, v in pairs(LowerTorso:GetChildren()) do | |
5165 | if v:IsA('ParticleEmitter') then | |
5166 | v:Remove() | |
5167 | end | |
5168 | end | |
5169 | local Aura = Instance.new('ParticleEmitter') | |
5170 | Aura.Name = "Aura" | |
5171 | Aura.Texture = "rbxassetid://411939841" | |
5172 | Aura.Parent = UpperTorso | |
5173 | Aura.LightEmission = 1 | |
5174 | Aura.Transparency = NumberSequence.new(0.2,1) | |
5175 | Aura.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
5176 | Aura.Size = NumberSequence.new(0.2,8) | |
5177 | Aura.LockedToPart = true | |
5178 | Aura.Lifetime = NumberRange.new(1.5) | |
5179 | Aura.Rate = 50 | |
5180 | Aura.Speed = NumberRange.new(1.3) | |
5181 | Aura.EmissionDirection = "Top" | |
5182 | Aura.Rotation = NumberRange.new(-8, 8) | |
5183 | local Aura2 = Instance.new('ParticleEmitter') | |
5184 | Aura2.Name = "Aura" | |
5185 | Aura2.Texture = "rbxassetid://749313320" | |
5186 | Aura2.Parent = UpperTorso | |
5187 | Aura2.LightEmission = 1 | |
5188 | Aura2.Transparency = NumberSequence.new(0.2,1) | |
5189 | Aura2.Color = ColorSequence.new(BrickColor.new("White").Color) | |
5190 | Aura2.Size = NumberSequence.new(4) | |
5191 | Aura2.LockedToPart = true | |
5192 | Aura2.Lifetime = NumberRange.new(0.1) | |
5193 | Aura2.Rate = 20 | |
5194 | Aura2.Speed = NumberRange.new(0) | |
5195 | Aura2.EmissionDirection = "Top" | |
5196 | Aura2.Rotation = NumberRange.new(-360, 360) | |
5197 | for i = 0,18,0.1 do | |
5198 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-15)),.1) --LeftUpperArm | |
5199 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(15)),.1)--RightUpperArm | |
5200 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--LeftLowerArm | |
5201 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--RightLowerArm | |
5202 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--LeftUpperLeg | |
5203 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.1)--RightUpperLeg | |
5204 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
5205 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
5206 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(10),rad(0),rad(0)),.1)--Torso | |
5207 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),.1)--Head | |
5208 | SS.CFrame = SS.CFrame*CFrame.Angles(0,0.3,0) | |
5209 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0.2,0.1) | |
5210 | HQ23.CFrame = HQ23.CFrame*CFrame.Angles(0.2,0.2,0) | |
5211 | ZO.CFrame = ZO.CFrame*CFrame.Angles(0,-0.3,0) | |
5212 | BO.CFrame = BO.CFrame*CFrame.Angles(0.2,-0.2,0.3) | |
5213 | game:GetService("RunService").RenderStepped:wait() | |
5214 | end | |
5215 | SS:Destroy() | |
5216 | Music3:Destroy() | |
5217 | Idle = false | |
5218 | BO:Destroy() | |
5219 | ZO:Destroy() | |
5220 | HQ23:Destroy() | |
5221 | HQ:Destroy() | |
5222 | local Music3 = Instance.new("Sound",UpperTorso) | |
5223 | Music3.SoundId = "rbxassetid://550623222" | |
5224 | Music3.Pitch = 1 | |
5225 | Music3.Looped = true | |
5226 | Music3.Volume = 2.2 | |
5227 | wait(0.0001) | |
5228 | Music3:Play() | |
5229 | ||
5230 | ||
5231 | RootPart.Anchored = false | |
5232 | ||
5233 | end | |
5234 | end) | |
5235 | ||
5236 | ||
5237 | SoundFolder = Instance.new("Folder",Character) | |
5238 | SoundFolder.Name = "SoundFolder" | |
5239 | punchsound1 = Instance.new("Sound",UpperTorso) | |
5240 | punchsound1.Volume = 1.2 | |
5241 | punchsound1.Name = "punchsound1" | |
5242 | punchsound1.Looped = false | |
5243 | punchsound1.SoundId = "rbxassetid://137579113" | |
5244 | StrongPunch = Instance.new("Sound",UpperTorso) | |
5245 | StrongPunch.Volume = 1.6 | |
5246 | StrongPunch.Name = "StrongPunch" | |
5247 | StrongPunch.Looped = false | |
5248 | StrongPunch.SoundId = "rbxassetid://441202925" | |
5249 | StrongPunch = Instance.new("Sound",UpperTorso) | |
5250 | StrongPunch.Volume = 1.6 | |
5251 | StrongPunch.Name = "StrongPunch" | |
5252 | StrongPunch.Looped = false | |
5253 | StrongPunch.SoundId = "rbxassetid://441202925" | |
5254 | StrongPunch1 = Instance.new("Sound",UpperTorso) | |
5255 | StrongPunch1.Volume = 1.6 | |
5256 | StrongPunch1.Name = "StrongPunch" | |
5257 | StrongPunch1.Looped = false | |
5258 | StrongPunch1.SoundId = "rbxassetid://441202925" | |
5259 | StrongPunch2 = Instance.new("Sound",UpperTorso) | |
5260 | StrongPunch2.Volume = 1.6 | |
5261 | StrongPunch2.Name = "StrongPunch" | |
5262 | StrongPunch.Looped = false | |
5263 | StrongPunch2.SoundId = "rbxassetid://441202925" | |
5264 | Zano = Instance.new("Sound",UpperTorso) | |
5265 | Zano.Volume = 6 | |
5266 | Zano.Name = "Zano" | |
5267 | Zano.Looped = false | |
5268 | Zano.SoundId = "rbxassetid://744770874" | |
5269 | GroundImpact = Instance.new("Sound",UpperTorso) | |
5270 | GroundImpact.Volume = 8 | |
5271 | GroundImpact.Name = "GroundImpact" | |
5272 | GroundImpact.Looped = false | |
5273 | GroundImpact.SoundId = "rbxassetid://165970126" | |
5274 | Break = Instance.new("Sound",UpperTorso) | |
5275 | Break.Volume = 5 | |
5276 | Break.Name = "Bonebreak" | |
5277 | Break.Looped = false | |
5278 | Break.SoundId = "rbxassetid://314390675" | |
5279 | local new = Instance.new | |
5280 | ||
5281 | ||
5282 | ||
5283 | local flying1 = true | |
5284 | ||
5285 | ||
5286 | if flying1 == true and canfly == true and nill == true then | |
5287 | idle = false | |
5288 | walk = false | |
5289 | canjump = false | |
5290 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(0),rad(0),rad(-20)),0.1) --LeftUpperArm | |
5291 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(0),rad(0),rad(20)),0.1)--RightUpperArm | |
5292 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--LeftLowerArm | |
5293 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightLowerArm | |
5294 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),0.1)--LeftUpperLeg | |
5295 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
5296 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(-30),rad(0),rad(0)),0.1)--LeftLowerLeg | |
5297 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--RightUpperLeg | |
5298 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Torso | |
5299 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.1)--Head | |
5300 | ||
5301 | end | |
5302 | if flying1 == true and canfly == true and foward == true then | |
5303 | ||
5304 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-20),rad(0),rad(-10)),0.05) --LeftUpperArm | |
5305 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-20),rad(0),rad(10)),0.05)--RightUpperArm | |
5306 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--LeftLowerArm | |
5307 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--RightLowerArm | |
5308 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--LeftUpperLeg | |
5309 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--RightUpperLeg | |
5310 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--LeftLowerLeg | |
5311 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--RightUpperLeg | |
5312 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),0.05)--Torso | |
5313 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(40),rad(0),rad(0)),0.01)--Head | |
5314 | ||
5315 | end | |
5316 | ||
5317 | local ctrl = {f = 0, b = 0, l = 0, r = 0} | |
5318 | local lastctrl = {f = 0, b = 0, l = 0, r = 0} | |
5319 | local maxspeed = 120 | |
5320 | local speed = 0 | |
5321 | function Fly() | |
5322 | local Atch1 = Instance.new("Attachment",UpperTorso)Atch1.Position = Vector3.new(0,2,0) | |
5323 | local Atch2 = Instance.new("Attachment",UpperTorso)Atch2.Position = Vector3.new(0,-2.5,0) | |
5324 | local Trail = Instance.new("Trail",Character)Trail.Attachment0 = Atch1 Trail.Attachment1 = Atch2 | |
5325 | Trail.Texture = "rbxassetid://22636887" Trail.Lifetime = 0.9 Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5326 | Trail.Color = ColorSequence.new(ColorsArray) Trail.LightEmission = 5 | |
5327 | local bg = Instance.new("BodyGyro", LowerTorso) | |
5328 | bg.P = 9e4 | |
5329 | bg.maxTorque = Vector3.new(9e9, 9e9, 9e9) | |
5330 | bg.cframe =LowerTorso.CFrame | |
5331 | local bv = Instance.new("BodyVelocity", LowerTorso) | |
5332 | bv.velocity = Vector3.new(0,0.1,0) | |
5333 | bv.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
5334 | repeat wait() | |
5335 | Humanoid.PlatformStand = true | |
5336 | if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then | |
5337 | speed = speed+.90+(speed/maxspeed) | |
5338 | if speed > maxspeed then | |
5339 | speed = maxspeed | |
5340 | end | |
5341 | elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then | |
5342 | speed = speed-1 | |
5343 | if speed < 0 then | |
5344 | speed = 0 | |
5345 | end | |
5346 | end | |
5347 | if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then | |
5348 | bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed | |
5349 | lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r} | |
5350 | elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then | |
5351 | bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed | |
5352 | else | |
5353 | bv.velocity = Vector3.new(0,0.1,0) | |
5354 | end | |
5355 | bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0) | |
5356 | until not flying | |
5357 | ctrl = {f = 0, b = 0, l = 0, r = 0} | |
5358 | lastctrl = {f = 0, b = 0, l = 0, r = 0} | |
5359 | speed = 0 | |
5360 | bg:Destroy() | |
5361 | bv:Destroy() | |
5362 | Trail:Destroy() | |
5363 | Atch1:Destroy() | |
5364 | Atch2:Destroy() | |
5365 | Humanoid.PlatformStand = false | |
5366 | end | |
5367 | Mouse.KeyDown:connect(function(key) | |
5368 | if key:lower() == "g" then | |
5369 | if flying then flying = false | |
5370 | flying1 = false | |
5371 | Idle = true | |
5372 | walk = false | |
5373 | canjump = true | |
5374 | else | |
5375 | wait(0.1) | |
5376 | flying1 = true | |
5377 | flying = true | |
5378 | Fly() | |
5379 | end | |
5380 | elseif key:lower() == "w" then | |
5381 | ctrl.f = 1 | |
5382 | nill = false | |
5383 | foward = true | |
5384 | elseif key:lower() == "s" then | |
5385 | ctrl.b = -1 | |
5386 | elseif key:lower() == "a" then | |
5387 | ctrl.l = -1 | |
5388 | elseif key:lower() == "d" then | |
5389 | ctrl.r = 1 | |
5390 | end | |
5391 | end) | |
5392 | Mouse.KeyUp:connect(function(key) | |
5393 | if key:lower() == "w" then | |
5394 | ctrl.f = 0 | |
5395 | nill = true | |
5396 | foward = false | |
5397 | elseif key:lower() == "s" then | |
5398 | ctrl.b = 0 | |
5399 | elseif key:lower() == "a" then | |
5400 | ctrl.l = 0 | |
5401 | elseif key:lower() == "d" then | |
5402 | ctrl.r = 0 | |
5403 | end | |
5404 | end) | |
5405 | Fly() | |
5406 | local kiblastdone = true | |
5407 | local kiblast1 = false | |
5408 | local kiblast2 = false | |
5409 | local kiblast3 = false | |
5410 | local kiblast4 = false | |
5411 | local new = Instance.new | |
5412 | function hurt(hit, dmg) | |
5413 | if hit.Parent then | |
5414 | if hit.Parent.Name == "box" then print("bocks!11") hit.Parent:Destroy() end | |
5415 | local hum = hit.Parent:FindFirstChildOfClass("Humanoid") | |
5416 | if hum then | |
5417 | if hum.Parent.Name ~= Player.Name then | |
5418 | if dmg == "Kill" or hum.Health > math.huge then | |
5419 | hit.Parent:BreakJoints() | |
5420 | return true | |
5421 | else | |
5422 | if math.random(0, 100) == 50 then | |
5423 | hum.Health = hum.Health - dmg*multiplier*2 | |
5424 | else | |
5425 | hum.Health = hum.Health -dmg*multiplier | |
5426 | end | |
5427 | return true | |
5428 | end | |
5429 | end | |
5430 | end | |
5431 | end | |
5432 | end | |
5433 | ||
5434 | function punch(hit, dmg) | |
5435 | if hit.Parent then | |
5436 | if hit.Parent.Name == "box" then print("bocks!11") hit.Parent:Destroy() end | |
5437 | local hum = hit.Parent:FindFirstChildOfClass("Humanoid") | |
5438 | if hum then | |
5439 | if hum.Parent.Name ~= Player.Name then | |
5440 | if dmg == "Kill" or hum.Health > 10000000000000000000000000000000000000000000000000000000000000000000000000000 then | |
5441 | hit.Parent:BreakJoints() | |
5442 | return true | |
5443 | else | |
5444 | if math.random(0, 100) == 50 then | |
5445 | hum.Health = hum.Health - dmg*multiplier*3.5 | |
5446 | else | |
5447 | hum.Health = hum.Health -dmg*multiplier | |
5448 | end | |
5449 | return true | |
5450 | end | |
5451 | end | |
5452 | end | |
5453 | end | |
5454 | end | |
5455 | ||
5456 | ||
5457 | function smack(hit, dmg) | |
5458 | if hit.Parent then | |
5459 | if hit.Parent.Name == "box" then print("bocks!11") hit.Parent:Destroy() end | |
5460 | local hum = hit.Parent:FindFirstChildOfClass("Humanoid") | |
5461 | if hum then | |
5462 | if hum.Parent.Name ~= Player.Name and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then | |
5463 | if dmg == "Kill" or hum.Health > 10000000000000000000000000000000000000000000000000000000000000000000000000000 then | |
5464 | hit.Parent:BreakJoints() | |
5465 | return true | |
5466 | else | |
5467 | if math.random(0, 100) == 50 then | |
5468 | hum.Health = hum.Health - dmg*multiplier*8 | |
5469 | else | |
5470 | hum.Health = hum.Health -dmg*multiplier | |
5471 | end | |
5472 | return true | |
5473 | end | |
5474 | end | |
5475 | end | |
5476 | end | |
5477 | end | |
5478 | ||
5479 | ||
5480 | function kamehurt(hit, dmg) | |
5481 | if hit.Parent then | |
5482 | if hit.Parent.Name == "box" then print("bocks!11") hit.Parent:Destroy() end | |
5483 | local hum = hit.Parent:FindFirstChildOfClass("Humanoid") | |
5484 | if hum then | |
5485 | if hum.Parent.Name ~= Player.Name then | |
5486 | if dmg == "Kill" or hum.Health > math.huge then | |
5487 | hit.Parent:BreakJoints() | |
5488 | return true | |
5489 | else | |
5490 | if math.random(0, 100) == 50 then | |
5491 | hum.Health = hum.Health - dmg*multiplier*400 | |
5492 | else | |
5493 | hum.Health = hum.Health -dmg*multiplier | |
5494 | end | |
5495 | return true | |
5496 | end | |
5497 | end | |
5498 | end | |
5499 | end | |
5500 | end | |
5501 | ||
5502 | ||
5503 | ||
5504 | function spirithurt(hit, dmg) | |
5505 | if hit.Parent then | |
5506 | if hit.Parent.Name == "box" then print("bocks!11") hit.Parent:Destroy() end | |
5507 | local hum = hit.Parent:FindFirstChildOfClass("Humanoid") | |
5508 | if hum then | |
5509 | if hum.Parent.Name ~= Player.Name then | |
5510 | if dmg == "Kill" or hum.Health > 10000000000000000000000000000000000000000000000000000000000000000000000000000 then | |
5511 | hit.Parent:BreakJoints() | |
5512 | return true | |
5513 | else | |
5514 | if math.random(0, 100) == 50 then | |
5515 | hum.Health = hum.Health - dmg*multiplier*8000 | |
5516 | else | |
5517 | hum.Health = hum.Health -dmg*multiplier | |
5518 | end | |
5519 | return true | |
5520 | end | |
5521 | end | |
5522 | end | |
5523 | end | |
5524 | end | |
5525 | ||
5526 | Mouse.KeyDown:connect(function(key) | |
5527 | if key == "x" then | |
5528 | Up() | |
5529 | end | |
5530 | end) | |
5531 | ||
5532 | ||
5533 | ||
5534 | ||
5535 | ||
5536 | Mouse.KeyDown:connect(function(key) | |
5537 | if key == "b" then | |
5538 | Idle = true | |
5539 | if Debounces.CanAttack == true then | |
5540 | Debounces.CanAttack = false | |
5541 | Debounces.on = true | |
5542 | Debounces.NoIdl = true | |
5543 | RootPart.Anchored = true | |
5544 | for i = 0,4,0.1 do | |
5545 | RootPart.CFrame = CFrame.new(RootPart.Position,Vector3.new(Mouse.Hit.p.X, Mouse.Hit.p.Y, Mouse.Hit.p.Z)) | |
5546 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(1.50,-0,0),.1) --LeftUpperArm | |
5547 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0,0)*CFrame.Angles(1.50,0,0),.1)--RightUpperArm | |
5548 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,-1,0),.1)--LeftLowerArm | |
5549 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,1,0),.1)--RightLowerArm | |
5550 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftUpperLeg | |
5551 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
5552 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-0.6,0,0),.1)--LeftLowerLeg | |
5553 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
5554 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Torso | |
5555 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(0,0,0),.1)--Head | |
5556 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
5557 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
5558 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
5559 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
5560 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
5561 | game:GetService("RunService").RenderStepped:wait() | |
5562 | end | |
5563 | ||
5564 | ||
5565 | local Grab = Instance.new("Part",RootPart) | |
5566 | Grab.Size = Vector3.new(5,5,5) | |
5567 | Grab.CanCollide = false | |
5568 | Grab.Anchored = true | |
5569 | Grab.BrickColor = BrickColor.new("Deep orange") | |
5570 | Grab.Transparency = math.huge | |
5571 | local Grabo = Instance.new("Weld",Grab) | |
5572 | Grabo.Part0 = RootPart | |
5573 | Grabo.Part1 = Grab | |
5574 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
5575 | ||
5576 | Grab.Touched:connect(function(hit) | |
5577 | ||
5578 | ||
5579 | if hit.Name ~= "Grab" then | |
5580 | hurt(hit, 5) | |
5581 | end | |
5582 | end) | |
5583 | ||
5584 | coroutine.resume(coroutine.create(function() | |
5585 | for i = 1,2 do | |
5586 | local HQ = Instance.new("Part",UpperTorso) | |
5587 | HQ.Size = Vector3.new(1,1,1) | |
5588 | HQ.BrickColor = BrickColor.new("Plum") | |
5589 | HQ.Material = "Neon" | |
5590 | HQ.Anchored = true | |
5591 | HQ.CanCollide = false | |
5592 | HQ.Transparency = 0.4 | |
5593 | HQ.CFrame = Character.UpperTorso.CFrame*CFrame.new(0,0,0) | |
5594 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
5595 | HQ2.MeshType = "Sphere" | |
5596 | HQ2.Scale = Vector3.new(1,1,1) | |
5597 | local ZQW = Instance.new("Part",UpperTorso) | |
5598 | ZQW.Size = Vector3.new(1,1,1) | |
5599 | ZQW.BrickColor = BrickColor.new("Plum") | |
5600 | ZQW.Material = "Neon" | |
5601 | ZQW.Anchored = true | |
5602 | ZQW.CanCollide = false | |
5603 | ZQW.CFrame = Character.LeftHand.CFrame*CFrame.new(0,0,0) | |
5604 | local ZQW2 = Instance.new("SpecialMesh",ZQW) | |
5605 | ZQW2.MeshId = "rbxassetid://9982590" | |
5606 | ZQW2.Scale = Vector3.new(1,1,1) | |
5607 | local H = Instance.new("Part",UpperTorso) | |
5608 | H.Size = Vector3.new(1,1,1) | |
5609 | H.BrickColor = BrickColor.new("Plum") | |
5610 | H.CanCollide = false | |
5611 | H.Anchored = true | |
5612 | H.CFrame = Character.RightHand.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
5613 | local H2 = Instance.new("SpecialMesh",H) | |
5614 | H2.MeshId = "rbxassetid://9982590" | |
5615 | coroutine.resume(coroutine.create(function() | |
5616 | for i = 1,6 do | |
5617 | ZQW2.Scale = ZQW2.Scale + Vector3.new(0.2,0.2,0.2) | |
5618 | ZQW.Transparency = ZQW.Transparency + 0.1 | |
5619 | HQ2.Scale = HQ2.Scale + Vector3.new(3,3,3) | |
5620 | HQ.Transparency = HQ.Transparency + 1 | |
5621 | H2.Scale = H2.Scale + Vector3.new(0.2,0.2,0.2) | |
5622 | H.Transparency = H.Transparency + 0.1 | |
5623 | wait(0.00000000001) | |
5624 | end | |
5625 | HQ:Destroy() | |
5626 | H2:Destroy() | |
5627 | H:Destroy() | |
5628 | HQ2:Destroy() | |
5629 | ZQW:Destroy() | |
5630 | ZQW2:Destroy() | |
5631 | end)) | |
5632 | wait(0.3) | |
5633 | end | |
5634 | end)) | |
5635 | wait(0.3) | |
5636 | ||
5637 | ||
5638 | Debounces.on = false | |
5639 | Debounces.Here = false | |
5640 | shot = shot + 1 | |
5641 | ||
5642 | ki = ki - 10 | |
5643 | local rng = Instance.new("Part",RootPart) | |
5644 | rng.Anchored = true | |
5645 | rng.BrickColor = BrickColor.new("Plum") | |
5646 | rng.CanCollide = false | |
5647 | rng.FormFactor = 3 | |
5648 | rng.Name = "Ring" | |
5649 | rng.Size = Vector3.new(8,8,8) | |
5650 | rng.Transparency = 0.35 | |
5651 | rng.TopSurface = 0 | |
5652 | rng.BottomSurface = 0 | |
5653 | rng2 = rng:clone() | |
5654 | rng3 = rng2:clone() | |
5655 | rng4 = rng2:clone() | |
5656 | local rngm = Instance.new("SpecialMesh", rng) | |
5657 | rngm.MeshId = "http://www.roblox.com/asset/?id=0" | |
5658 | rngm.Scale = Vector3.new(1,1,1) | |
5659 | rngm2 = rngm:clone() | |
5660 | rngm2.Scale = Vector3.new(1,1,1) | |
5661 | rngm3=rngm2:clone() | |
5662 | rngm3.Parent = rng3 | |
5663 | rngm3.Scale = Vector3.new(1,1,1) | |
5664 | rngm4 = rngm2:clone() | |
5665 | rngm4.Parent = rng4 | |
5666 | rngm4.Scale = Vector3.new(1,1,1) | |
5667 | local bem = Instance.new("Part",RootPart) | |
5668 | bem.Anchored = true | |
5669 | bem.Position = bem.Position + Vector3.new(0,0,150) | |
5670 | bem.BrickColor = BrickColor.new("Plum") | |
5671 | bem.CanCollide = false | |
5672 | bem.Material = "Neon" | |
5673 | local bem2 = Instance.new("Part",RootPart) | |
5674 | bem2.Anchored = true | |
5675 | bem2.Position = bem.Position + Vector3.new(0,0,150) | |
5676 | bem2.BrickColor = BrickColor.new("White") | |
5677 | bem2.CanCollide = false | |
5678 | bem2.Material = "Neon" | |
5679 | local aura = Instance.new("ParticleEmitter",bem) | |
5680 | aura.Size = NumberSequence.new(11) | |
5681 | aura.Lifetime = NumberRange.new(0.5) | |
5682 | aura.LightEmission = 1 | |
5683 | aura.Texture = "http://www.roblox.com/asset/?id=" | |
5684 | aura.Speed = NumberRange.new(0) | |
5685 | aura.Color = ColorSequence.new(Color3.new(225,225,0)) | |
5686 | aura.Rate = 400 | |
5687 | bem.FormFactor = 3 | |
5688 | bem.Name = "Beam" .. shot | |
5689 | bem.Size = Vector3.new(13,13,13) | |
5690 | bem.Transparency = 0.35 | |
5691 | bem.TopSurface = 0 | |
5692 | bem.BottomSurface = 0 | |
5693 | local bemm2 = Instance.new("SpecialMesh", bem2) | |
5694 | bemm2.MeshType = 4 | |
5695 | bemm2.Scale = Vector3.new(1, 1, 1) | |
5696 | bem2.FormFactor = 3 | |
5697 | bem2.Name = "Beam" .. shot | |
5698 | bem2.Size = Vector3.new(11,11,11) | |
5699 | bem2.Transparency = 0.35 | |
5700 | bem2.TopSurface = 0 | |
5701 | bem2.BottomSurface = 0 | |
5702 | local bemm = Instance.new("SpecialMesh", bem) | |
5703 | bemm.MeshType = 4 | |
5704 | bemm.Scale = Vector3.new(1, 1, 1) | |
5705 | local out = Instance.new("Part",Character) | |
5706 | out.Anchored = true | |
5707 | out.BrickColor = BrickColor.new("Plum") | |
5708 | out.CanCollide = false | |
5709 | out.FormFactor = 3 | |
5710 | out.Name = "Out" | |
5711 | out.Material = "Neon" | |
5712 | out.Size = Vector3.new(16,16,16) | |
5713 | out.Transparency = 0.35 | |
5714 | out.TopSurface = 0 | |
5715 | out.BottomSurface = 0 | |
5716 | local outm = Instance.new("SpecialMesh", out) | |
5717 | outm.MeshType = 3 | |
5718 | outm.Scale = Vector3.new(1, 1, 1) | |
5719 | local out2 = Instance.new("Part",Character) | |
5720 | out2.Anchored = true | |
5721 | out2.BrickColor = BrickColor.new("White") | |
5722 | out2.CanCollide = false | |
5723 | out2.FormFactor = 3 | |
5724 | out2.Name = "Out" | |
5725 | out2.Material = "Neon" | |
5726 | out2.Size = Vector3.new(13,13,13) | |
5727 | out2.Transparency = 0.35 | |
5728 | out2.TopSurface = 0 | |
5729 | out2.BottomSurface = 0 | |
5730 | local outm2 = Instance.new("SpecialMesh", out2) | |
5731 | outm2.MeshType = 3 | |
5732 | outm2.Scale = Vector3.new(1, 1, 1) | |
5733 | local outau = Instance.new("Part",Character) | |
5734 | outau.Anchored = true | |
5735 | outau.BrickColor = BrickColor.new("White") | |
5736 | outau.CanCollide = false | |
5737 | outau.FormFactor = 3 | |
5738 | outau.Name = "Out" | |
5739 | outau.Material = "Neon" | |
5740 | outau.Size = Vector3.new(0.1,0.1,0.1) | |
5741 | outau.Transparency = 0.35 | |
5742 | outau.TopSurface = 0 | |
5743 | outau.BottomSurface = 0 | |
5744 | local outm2au = Instance.new("SpecialMesh", outau) | |
5745 | outm2au.MeshType = 3 | |
5746 | outm2au.Scale = Vector3.new(1, 1, 1) | |
5747 | local outau2 = Instance.new("Part",Character) | |
5748 | outau2.Anchored = true | |
5749 | outau2.BrickColor = BrickColor.new("White") | |
5750 | outau2.CanCollide = false | |
5751 | outau2.FormFactor = 3 | |
5752 | outau2.Name = "Out" | |
5753 | outau2.Material = "Neon" | |
5754 | outau2.Size = Vector3.new(0.1,0.1,0.1) | |
5755 | outau2.Transparency = 0.35 | |
5756 | outau2.TopSurface = 0 | |
5757 | outau2.BottomSurface = 0 | |
5758 | local outm2au2 = Instance.new("SpecialMesh", outau2) | |
5759 | outm2au2.MeshType = 3 | |
5760 | outm2au2.Scale = Vector3.new(1, 1, 1) | |
5761 | local outl = Instance.new("Part",Character) | |
5762 | outl.Anchored = true | |
5763 | outl.BrickColor = BrickColor.new("Plum") | |
5764 | outl.CanCollide = false | |
5765 | outl.FormFactor = 3 | |
5766 | outl.Name = "Out" | |
5767 | outl.Material = "Neon" | |
5768 | outl.Size = Vector3.new(26,26,26) | |
5769 | outl.Transparency = 0.35 | |
5770 | outl.TopSurface = 0 | |
5771 | outl.BottomSurface = 0 | |
5772 | local outml = Instance.new("SpecialMesh", outl) | |
5773 | outml.MeshType = 3 | |
5774 | outml.Scale = Vector3.new(1, 1, 1) | |
5775 | local out2l = Instance.new("Part",Character) | |
5776 | out2l.Anchored = true | |
5777 | out2l.BrickColor = BrickColor.new("White") | |
5778 | out2l.CanCollide = false | |
5779 | out2l.FormFactor = 3 | |
5780 | out2l.Name = "Out" | |
5781 | out2l.Material = "Neon" | |
5782 | out2l.Size = Vector3.new(21,21,21) | |
5783 | out2l.Transparency = 0.35 | |
5784 | out2l.TopSurface = 0 | |
5785 | out2l.BottomSurface = 0 | |
5786 | local outm2l = Instance.new("SpecialMesh", out2l) | |
5787 | outm2l.MeshType = 3 | |
5788 | outm2l.Scale = Vector3.new(1, 1, 1) | |
5789 | local bnd = Instance.new("Part", RootPart) | |
5790 | bnd.Anchored = true | |
5791 | bnd.BrickColor = BrickColor.new("Plum") | |
5792 | bnd.CanCollide = false | |
5793 | bnd.Material = "Neon" | |
5794 | bnd.FormFactor = 3 | |
5795 | bnd.Name = "Bend" | |
5796 | bnd.Size = Vector3.new(10,10,10) | |
5797 | bnd.Transparency = 1 | |
5798 | bnd.TopSurface = 0 | |
5799 | bnd.BottomSurface = 0 | |
5800 | local bndm = Instance.new("SpecialMesh", bnd) | |
5801 | bndm.MeshType = 3 | |
5802 | bndm.Scale = Vector3.new(1,1,1) | |
5803 | local Chow = Instance.new('ParticleEmitter') | |
5804 | Chow.Name = "Aura" | |
5805 | Chow.Texture = "rbxassetid://779576004" | |
5806 | Chow.Parent = outau | |
5807 | Chow.LightEmission = 1 | |
5808 | Chow.Transparency = NumberSequence.new(1,0.2,1) | |
5809 | Chow.Color = ColorSequence.new(BrickColor.new("Plum").Color) | |
5810 | Chow.Size = NumberSequence.new(22) | |
5811 | Chow.LockedToPart = true | |
5812 | Chow.Lifetime = NumberRange.new(0.2) | |
5813 | Chow.Rate = 100 | |
5814 | Chow.Rotation = NumberRange.new(-360, 360) | |
5815 | Chow.Speed = NumberRange.new(0.3) | |
5816 | Chow.EmissionDirection = "Top" | |
5817 | local Chow2 = Instance.new('ParticleEmitter') | |
5818 | Chow2.Name = "Aura" | |
5819 | Chow2.Texture = "rbxassetid://779576004" | |
5820 | Chow2.Parent = outau2 | |
5821 | Chow2.LightEmission = 1 | |
5822 | Chow2.Transparency = NumberSequence.new(1,0.1,1) | |
5823 | Chow2.Color = ColorSequence.new(BrickColor.new("Plum").Color) | |
5824 | Chow2.Size = NumberSequence.new(40) | |
5825 | Chow2.LockedToPart = true | |
5826 | Chow2.Lifetime = NumberRange.new(0.2) | |
5827 | Chow2.Rate = 200 | |
5828 | Chow2.Rotation = NumberRange.new(-360, 360) | |
5829 | Chow2.Speed = NumberRange.new(0.3) | |
5830 | Chow2.EmissionDirection = "Top" | |
5831 | local Atch1 = Instance.new("Attachment",out2l)Atch1.Position = Vector3.new(0,2,0) | |
5832 | local Atch2 = Instance.new("Attachment",out2l)Atch2.Position = Vector3.new(0,-2.5,0) | |
5833 | local Trail = Instance.new("Trail",Character)Trail.Attachment0 = Atch1 Trail.Attachment1 = Atch2 | |
5834 | Trail.Texture = "rbxassetid://22636887" Trail.Lifetime = 1.7 Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
5835 | Trail.Color = ColorSequence.new(ColorsArray) Trail.LightEmission = 5 | |
5836 | local To = Instance.new("Part",Character) | |
5837 | To.Size = Vector3.new(1,1,1) | |
5838 | To.BrickColor = BrickColor.new("White") | |
5839 | To.CanCollide = false | |
5840 | To.Anchored = true | |
5841 | To.CFrame = RootPart.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
5842 | local To2 = Instance.new("SpecialMesh",To) | |
5843 | To2.MeshId = "rbxassetid://1051557" | |
5844 | To2.Scale = Vector3.new(1,1,1) | |
5845 | local Rin = Instance.new("Part",Character) | |
5846 | Rin.Size = Vector3.new(1,1,1) | |
5847 | Rin.BrickColor = BrickColor.new("White") | |
5848 | Rin.Anchored = true | |
5849 | Rin.CFrame = out.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
5850 | local Rin2 = Instance.new("SpecialMesh",Rin) | |
5851 | Rin2.MeshId = "rbxassetid://3270017" | |
5852 | Rin2.Scale = Vector3.new(1,1,1) | |
5853 | out.CFrame = UpperTorso.CFrame * CFrame.new(0, 0, 0) | |
5854 | outau.CFrame = UpperTorso.CFrame * CFrame.new(0, 0, 0) | |
5855 | outau2.CFrame = UpperTorso.CFrame * CFrame.new(0, 0, 0) | |
5856 | out2.CFrame = UpperTorso.CFrame * CFrame.new(0, 0, 0) | |
5857 | outl.CFrame = UpperTorso.CFrame * CFrame.new(0, 0, 0) | |
5858 | out2l.CFrame = UpperTorso.CFrame * CFrame.new(0, 0, 0) | |
5859 | bem.CFrame = out.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(0)) | |
5860 | Grab.CFrame = out.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(0)) | |
5861 | bnd.CFrame = bem.CFrame * CFrame.new(0,0,0) | |
5862 | bem2.CFrame = out.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(0)) | |
5863 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(0), 0, 0) | |
5864 | rng3.CFrame = rng.CFrame * CFrame.new(0, 0, 0) | |
5865 | rng4.CFrame = rng.CFrame * CFrame.new(0, 0, 0) | |
5866 | Debounces.Shewt = true | |
5867 | local Music2 = Instance.new("Sound",UpperTorso) | |
5868 | Music2.SoundId = "rbxassetid://977360812" | |
5869 | Music2.Pitch = 1 | |
5870 | Music2.Looped = false | |
5871 | Music2.Volume = 3.2 | |
5872 | wait(0.0001) | |
5873 | Music2:Play() | |
5874 | coroutine.wrap(function() | |
5875 | for i = 1, 20, 0.2 do | |
5876 | rngm.Scale = Vector3.new(16 + i*6, 10 + i*6, 2) | |
5877 | rngm3.Scale = Vector3.new(18 + i*8, 8 + i*8, 2) | |
5878 | rngm4.Scale = Vector3.new(20 + i*10, 6 + i*10, 2) | |
5879 | rng.Transparency = i/20 | |
5880 | rng3.Transparency = 1/24 | |
5881 | rng4.Transparency = i/26 | |
5882 | wait() | |
5883 | end | |
5884 | wait(5.0) | |
5885 | rng:Destroy() | |
5886 | end)() | |
5887 | if Debounces.Shewt == true then | |
5888 | RootPart:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
5889 | hit = ht.Parent | |
5890 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
5891 | if HasntTouched(hit.Name) == true and deb == false then | |
5892 | deb = true | |
5893 | coroutine.wrap(function() | |
5894 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
5895 | hit:FindFirstChild("Torso").Velocity = Character.Head.CFrame.lookVector * 100 | |
5896 | hit.Parent:FindFirstChild("Humanoid") | |
5897 | end)() | |
5898 | table.insert(Touche, hit.Name) | |
5899 | deb = false | |
5900 | end | |
5901 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
5902 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
5903 | deb = true | |
5904 | coroutine.wrap(function() | |
5905 | hit.Parent.Torso.Position = hit.Parent.Torso.Position + Vector3.new(0,0,5) | |
5906 | hit.Parent:FindFirstChild("Torso").Velocity = Character.Head.CFrame.lookVector * 100 | |
5907 | end)() | |
5908 | table.insert(Touche, hit.Parent.Name) | |
5909 | deb = false | |
5910 | for i, v in pairs(Touche) do | |
5911 | print(v) | |
5912 | end | |
5913 | end | |
5914 | end | |
5915 | end) | |
5916 | end | |
5917 | for i = 0, 1000, 25 do | |
5918 | bem.Size = Vector3.new(i, 14,14) | |
5919 | bem2.Size = Vector3.new(i, 8,8) | |
5920 | Grab.Size = Vector3.new(i, 14,14) | |
5921 | out.CFrame = RootPart.CFrame * CFrame.new(0, 0, -9) * CFrame.Angles(math.rad(90), 0, math.rad(0)) | |
5922 | outau.CFrame = RootPart.CFrame * CFrame.new(0, 0, -9) * CFrame.Angles(math.rad(90), 0, math.rad(0)) | |
5923 | out2.CFrame = RootPart.CFrame * CFrame.new(0, 0, -9) * CFrame.Angles(math.rad(90), 0, math.rad(0)) | |
5924 | Grab.CFrame = out.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
5925 | bem.CFrame = out.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
5926 | bem2.CFrame = out.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
5927 | outl.CFrame = out.CFrame * CFrame.new(0, -5.2 -(i/1), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
5928 | outau2.CFrame = out.CFrame * CFrame.new(0, -5.2 -(i/1), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
5929 | out2l.CFrame = out.CFrame * CFrame.new(0, -5.2 -(i/1), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
5930 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
5931 | bnd.Size = Vector3.new(10,10,10) | |
5932 | bndm.Scale = Vector3.new(10,10,10) | |
5933 | Rin2.Scale = Rin2.Scale + Vector3.new(2.5,2.5,0.1) | |
5934 | Rin.Transparency = Rin.Transparency + 1 | |
5935 | To2.Scale = To2.Scale + Vector3.new(1.2,1,1.2) | |
5936 | To.Transparency = To.Transparency + 0.02 | |
5937 | To.CFrame = To.CFrame*CFrame.Angles(0,0.3,0) | |
5938 | if i % 10 == 0 then | |
5939 | local newRng = rng2:Clone() | |
5940 | newRng.Parent = RootPart | |
5941 | newRng.CFrame = RootPart.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
5942 | local newRngm = rngm2:clone() | |
5943 | newRngm.Parent=newRng | |
5944 | coroutine.wrap(function() | |
5945 | for i = 1, 10, 0.2 do | |
5946 | newRngm.Scale = Vector3.new(12 + i*2, 12 + i*2, 3) | |
5947 | newRng.Transparency = i/10 | |
5948 | wait() | |
5949 | end | |
5950 | wait(0) | |
5951 | newRng:Destroy() | |
5952 | end)() | |
5953 | end | |
5954 | wait() | |
5955 | end | |
5956 | wait(0)---bem.Transparency = bem.Transparency + 0.009 | |
5957 | Debounces.Shewt = false | |
5958 | out:Destroy() | |
5959 | out2:Destroy() | |
5960 | bnd:Destroy() | |
5961 | bem:Destroy() | |
5962 | bem2:Destroy() | |
5963 | To:Destroy() | |
5964 | To2:Destroy() | |
5965 | Music2:Destroy() | |
5966 | out2l:Destroy() | |
5967 | outl:Destroy() | |
5968 | outau:Destroy() | |
5969 | outau2:Destroy() | |
5970 | Trail:Destroy() | |
5971 | Atch1:Destroy() | |
5972 | Grab:Destroy() | |
5973 | Grabo:Destroy() | |
5974 | RootPart.Anchored = false | |
5975 | Debounces.Ready = false | |
5976 | for i, v in pairs(Touche) do | |
5977 | table.remove(Touche, i) | |
5978 | end | |
5979 | wait() | |
5980 | table.insert(Touche, Character.Name) | |
5981 | Debounces.NoIdl = false | |
5982 | if Debounces.CanAttack == false then | |
5983 | Debounces.CanAttack = true | |
5984 | end | |
5985 | end | |
5986 | end | |
5987 | Idle = false | |
5988 | Humanoid.WalkSpeed = 16 | |
5989 | end) | |
5990 | ||
5991 | ||
5992 | Mouse.KeyDown:connect(function(key) | |
5993 | if key == "c" then | |
5994 | Idle = true | |
5995 | if Debounces.CanAttack == true then | |
5996 | Debounces.CanAttack = false | |
5997 | Debounces.on = true | |
5998 | Debounces.NoIdl = true | |
5999 | local Music2 = Instance.new("Sound",UpperTorso) | |
6000 | Music2.SoundId = "rbxassetid://1112364900" | |
6001 | Music2.Pitch = 1 | |
6002 | Music2.Looped = false | |
6003 | Music2.Volume = 3.2 | |
6004 | wait(0.0001) | |
6005 | Music2:Play() | |
6006 | ||
6007 | ||
6008 | local Bq = Instance.new("Part",Character) | |
6009 | Bq.Size = Vector3.new(0.2,0.2,0.2) | |
6010 | Bq.BrickColor = BrickColor.new("New Yeller") | |
6011 | Bq.Material = "Neon" | |
6012 | Bq.Anchored = true | |
6013 | Bq.CanCollide = false | |
6014 | Bq.Transparency = 0.6 | |
6015 | Bq.CFrame = UpperTorso.CFrame * CFrame.new(0, 0, 0) | |
6016 | local Bq2 = Instance.new("SpecialMesh",Bq) | |
6017 | Bq2.MeshType = "Sphere" | |
6018 | Bq2.Scale = Vector3.new(3.8,3.8,3.8) | |
6019 | local HQ = Instance.new("Part",Bq) | |
6020 | HQ.Size = Vector3.new(1,1,1) | |
6021 | HQ.BrickColor = BrickColor.new("New Yeller") | |
6022 | HQ.Material = "Neon" | |
6023 | HQ.Anchored = true | |
6024 | HQ.CanCollide = false | |
6025 | HQ.Transparency = 0.4 | |
6026 | HQ.CFrame = Bq.CFrame*CFrame.new(0,0,0) | |
6027 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
6028 | HQ2.MeshType = "Cylinder" | |
6029 | HQ2.Scale = Vector3.new(120,1.2,1.2) | |
6030 | local HQ23 = Instance.new("Part",Bq) | |
6031 | HQ23.Size = Vector3.new(1,1,1) | |
6032 | HQ23.BrickColor = BrickColor.new("New Yeller") | |
6033 | HQ23.Material = "Neon" | |
6034 | HQ23.Anchored = true | |
6035 | HQ23.CanCollide = false | |
6036 | HQ23.Transparency = 0.4 | |
6037 | HQ23.CFrame = Bq.CFrame*CFrame.new(0,0,0) | |
6038 | local HQ22 = Instance.new("SpecialMesh",HQ23) | |
6039 | HQ22.MeshType = "Cylinder" | |
6040 | HQ22.Scale = Vector3.new(90,1.2,1.2) | |
6041 | local ZO = Instance.new("Part",Bq) | |
6042 | ZO.Size = Vector3.new(1,1,1) | |
6043 | ZO.BrickColor = BrickColor.new("New Yeller") | |
6044 | ZO.Material = "Neon" | |
6045 | ZO.Anchored = true | |
6046 | ZO.CanCollide = false | |
6047 | ZO.Transparency = 0.4 | |
6048 | ZO.CFrame = Bq.CFrame*CFrame.new(0,0,0) | |
6049 | local ZO2 = Instance.new("SpecialMesh",ZO) | |
6050 | ZO2.MeshType = "Cylinder" | |
6051 | ZO2.Scale = Vector3.new(80,1.2,1.2) | |
6052 | local BO = Instance.new("Part",Bq) | |
6053 | BO.Size = Vector3.new(1,1,1) | |
6054 | BO.BrickColor = BrickColor.new("New Yeller") | |
6055 | BO.Material = "Neon" | |
6056 | BO.Anchored = true | |
6057 | BO.CanCollide = false | |
6058 | BO.Transparency = 0.4 | |
6059 | BO.CFrame = Bq.CFrame*CFrame.new(0,0,0) | |
6060 | local BO2 = Instance.new("SpecialMesh",BO) | |
6061 | BO2.MeshType = "Cylinder" | |
6062 | BO2.Scale = Vector3.new(70,1.2,1.2) | |
6063 | local Grab = Instance.new("Part",RootPart) | |
6064 | Grab.Size = Vector3.new(5,5,5) | |
6065 | Grab.CanCollide = false | |
6066 | Grab.Anchored = true | |
6067 | Grab.BrickColor = BrickColor.new("Deep orange") | |
6068 | Grab.Transparency = math.huge | |
6069 | local Grabo = Instance.new("Weld",Grab) | |
6070 | Grabo.Part0 = RootPart | |
6071 | Grabo.Part1 = Grab | |
6072 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
6073 | ||
6074 | Grab.Touched:connect(function(hit) | |
6075 | ||
6076 | ||
6077 | ||
6078 | if hit.Name ~= "Grab" then | |
6079 | kamehurt(hit, 10) | |
6080 | end | |
6081 | end) | |
6082 | ||
6083 | RootPart.Anchored = true | |
6084 | for i = 0,20,0.1 do | |
6085 | RootPart.CFrame = CFrame.new(RootPart.Position,Vector3.new(Mouse.Hit.p.X, Mouse.Hit.p.Y, Mouse.Hit.p.Z)) | |
6086 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(120),rad(0),rad(-120)),.1) --LeftUpperArm | |
6087 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(120),rad(0),rad(120)),.1)--RightUpperArm | |
6088 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerArm | |
6089 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightLowerArm | |
6090 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftUpperLeg | |
6091 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
6092 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--LeftLowerLeg | |
6093 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--RightUpperLeg | |
6094 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
6095 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
6096 | Bq2.Scale = Bq2.Scale + Vector3.new(0.5,0.5,0.5) | |
6097 | HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0.2,0.1) | |
6098 | HQ23.CFrame = HQ23.CFrame*CFrame.Angles(0.2,0.2,0) | |
6099 | ZO.CFrame = ZO.CFrame*CFrame.Angles(0,-0.3,0) | |
6100 | BO.CFrame = BO.CFrame*CFrame.Angles(0.2,-0.2,0.3) | |
6101 | game:GetService("RunService").RenderStepped:wait() | |
6102 | end | |
6103 | wait(0) | |
6104 | Bq:Destroy() | |
6105 | Music2:Destroy() | |
6106 | ||
6107 | ||
6108 | Debounces.on = false | |
6109 | Debounces.Here = false | |
6110 | shot = shot + 1 | |
6111 | ||
6112 | ||
6113 | local rng = Instance.new("Part",RootPart) | |
6114 | rng.Anchored = true | |
6115 | rng.BrickColor = BrickColor.new("New Yeller") | |
6116 | rng.CanCollide = false | |
6117 | rng.FormFactor = 3 | |
6118 | rng.Name = "Ring" | |
6119 | rng.Size = Vector3.new(8,8,8) | |
6120 | rng.Transparency = 0.35 | |
6121 | rng.TopSurface = 0 | |
6122 | rng.BottomSurface = 0 | |
6123 | rng2 = rng:clone() | |
6124 | rng3 = rng2:clone() | |
6125 | rng4 = rng2:clone() | |
6126 | local rngm = Instance.new("SpecialMesh", rng) | |
6127 | rngm.MeshId = "http://www.roblox.com/asset/?id=0" | |
6128 | rngm.Scale = Vector3.new(1,1,1) | |
6129 | rngm2 = rngm:clone() | |
6130 | rngm2.Scale = Vector3.new(1,1,1) | |
6131 | rngm3=rngm2:clone() | |
6132 | rngm3.Parent = rng3 | |
6133 | rngm3.Scale = Vector3.new(1,1,1) | |
6134 | rngm4 = rngm2:clone() | |
6135 | rngm4.Parent = rng4 | |
6136 | rngm4.Scale = Vector3.new(1,1,1) | |
6137 | local bem = Instance.new("Part",RootPart) | |
6138 | bem.Anchored = true | |
6139 | bem.Position = bem.Position + Vector3.new(0,0,150) | |
6140 | bem.BrickColor = BrickColor.new("New Yeller") | |
6141 | bem.CanCollide = false | |
6142 | bem.Material = "Neon" | |
6143 | local bem2 = Instance.new("Part",RootPart) | |
6144 | bem2.Anchored = true | |
6145 | bem2.Position = bem.Position + Vector3.new(0,0,150) | |
6146 | bem2.BrickColor = BrickColor.new("White") | |
6147 | bem2.CanCollide = false | |
6148 | bem2.Material = "Neon" | |
6149 | local aura = Instance.new("ParticleEmitter",bem) | |
6150 | aura.Size = NumberSequence.new(11) | |
6151 | aura.Lifetime = NumberRange.new(0.5) | |
6152 | aura.LightEmission = 1 | |
6153 | aura.Texture = "http://www.roblox.com/asset/?id=" | |
6154 | aura.Speed = NumberRange.new(0) | |
6155 | aura.Color = ColorSequence.new(Color3.new(225,225,0)) | |
6156 | aura.Rate = 400 | |
6157 | bem.FormFactor = 3 | |
6158 | bem.Name = "Beam" .. shot | |
6159 | bem.Size = Vector3.new(13,13,13) | |
6160 | bem.Transparency = 0.35 | |
6161 | bem.TopSurface = 0 | |
6162 | bem.BottomSurface = 0 | |
6163 | local bemm2 = Instance.new("SpecialMesh", bem2) | |
6164 | bemm2.MeshType = 4 | |
6165 | bemm2.Scale = Vector3.new(1, 1, 1) | |
6166 | bem2.FormFactor = 3 | |
6167 | bem2.Name = "Beam" .. shot | |
6168 | bem2.Size = Vector3.new(11,11,11) | |
6169 | bem2.Transparency = 0.35 | |
6170 | bem2.TopSurface = 0 | |
6171 | bem2.BottomSurface = 0 | |
6172 | local bemm = Instance.new("SpecialMesh", bem) | |
6173 | bemm.MeshType = 4 | |
6174 | bemm.Scale = Vector3.new(1, 1, 1) | |
6175 | local out = Instance.new("Part",Character) | |
6176 | out.Anchored = true | |
6177 | out.BrickColor = BrickColor.new("New Yeller") | |
6178 | out.CanCollide = false | |
6179 | out.FormFactor = 3 | |
6180 | out.Name = "Out" | |
6181 | out.Material = "Neon" | |
6182 | out.Size = Vector3.new(46,46,46) | |
6183 | out.Transparency = 0.35 | |
6184 | out.TopSurface = 0 | |
6185 | out.BottomSurface = 0 | |
6186 | local outm = Instance.new("SpecialMesh", out) | |
6187 | outm.MeshType = 3 | |
6188 | outm.Scale = Vector3.new(1, 1, 1) | |
6189 | local out2 = Instance.new("Part",Character) | |
6190 | out2.Anchored = true | |
6191 | out2.BrickColor = BrickColor.new("White") | |
6192 | out2.CanCollide = false | |
6193 | out2.FormFactor = 3 | |
6194 | out2.Name = "Out" | |
6195 | out2.Material = "Neon" | |
6196 | out2.Size = Vector3.new(40,40,40) | |
6197 | out2.Transparency = 0.35 | |
6198 | out2.TopSurface = 0 | |
6199 | out2.BottomSurface = 0 | |
6200 | local outm2 = Instance.new("SpecialMesh", out2) | |
6201 | outm2.MeshType = 3 | |
6202 | outm2.Scale = Vector3.new(1, 1, 1) | |
6203 | local outl = Instance.new("Part",Character) | |
6204 | outl.Anchored = true | |
6205 | outl.BrickColor = BrickColor.new("New Yeller") | |
6206 | outl.CanCollide = false | |
6207 | outl.FormFactor = 3 | |
6208 | outl.Name = "Out" | |
6209 | outl.Material = "Neon" | |
6210 | outl.Size = Vector3.new(57,57,57) | |
6211 | outl.Transparency = 0.35 | |
6212 | outl.TopSurface = 0 | |
6213 | outl.BottomSurface = 0 | |
6214 | local outml = Instance.new("SpecialMesh", outl) | |
6215 | outml.MeshType = 3 | |
6216 | outml.Scale = Vector3.new(1, 1, 1) | |
6217 | local out2l = Instance.new("Part",Character) | |
6218 | out2l.Anchored = true | |
6219 | out2l.BrickColor = BrickColor.new("White") | |
6220 | out2l.CanCollide = false | |
6221 | out2l.FormFactor = 3 | |
6222 | out2l.Name = "Out" | |
6223 | out2l.Material = "Neon" | |
6224 | out2l.Size = Vector3.new(49,49,49) | |
6225 | out2l.Transparency = 0.35 | |
6226 | out2l.TopSurface = 0 | |
6227 | out2l.BottomSurface = 0 | |
6228 | local outm2l = Instance.new("SpecialMesh", out2l) | |
6229 | outm2l.MeshType = 3 | |
6230 | outm2l.Scale = Vector3.new(1, 1, 1) | |
6231 | local outau = Instance.new("Part",Character) | |
6232 | outau.Anchored = true | |
6233 | outau.BrickColor = BrickColor.new("White") | |
6234 | outau.CanCollide = false | |
6235 | outau.FormFactor = 3 | |
6236 | outau.Name = "Out" | |
6237 | outau.Material = "Neon" | |
6238 | outau.Size = Vector3.new(0.1,0.1,0.1) | |
6239 | outau.Transparency = 0.35 | |
6240 | outau.TopSurface = 0 | |
6241 | outau.BottomSurface = 0 | |
6242 | local outm2au = Instance.new("SpecialMesh", outau) | |
6243 | outm2au.MeshType = 3 | |
6244 | outm2au.Scale = Vector3.new(1, 1, 1) | |
6245 | local outau2 = Instance.new("Part",Character) | |
6246 | outau2.Anchored = true | |
6247 | outau2.BrickColor = BrickColor.new("White") | |
6248 | outau2.CanCollide = false | |
6249 | outau2.FormFactor = 3 | |
6250 | outau2.Name = "Out" | |
6251 | outau2.Material = "Neon" | |
6252 | outau2.Size = Vector3.new(0.1,0.1,0.1) | |
6253 | outau2.Transparency = 0.35 | |
6254 | outau2.TopSurface = 0 | |
6255 | outau2.BottomSurface = 0 | |
6256 | local outm2au2 = Instance.new("SpecialMesh", outau2) | |
6257 | outm2au2.MeshType = 3 | |
6258 | outm2au2.Scale = Vector3.new(1, 1, 1) | |
6259 | local bnd = Instance.new("Part", RootPart) | |
6260 | bnd.Anchored = true | |
6261 | bnd.BrickColor = BrickColor.new("New Yeller") | |
6262 | bnd.CanCollide = false | |
6263 | bnd.Material = "Neon" | |
6264 | bnd.FormFactor = 3 | |
6265 | bnd.Name = "Bend" | |
6266 | bnd.Size = Vector3.new(10,10,10) | |
6267 | bnd.Transparency = 1 | |
6268 | bnd.TopSurface = 0 | |
6269 | bnd.BottomSurface = 0 | |
6270 | local bndm = Instance.new("SpecialMesh", bnd) | |
6271 | bndm.MeshType = 3 | |
6272 | bndm.Scale = Vector3.new(1,1,1) | |
6273 | local Chow = Instance.new('ParticleEmitter') | |
6274 | Chow.Name = "Aura" | |
6275 | Chow.Texture = "rbxassetid://779576004" | |
6276 | Chow.Parent = outau | |
6277 | Chow.LightEmission = 1 | |
6278 | Chow.Transparency = NumberSequence.new(1,0.2,1) | |
6279 | Chow.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
6280 | Chow.Size = NumberSequence.new(40) | |
6281 | Chow.LockedToPart = true | |
6282 | Chow.Lifetime = NumberRange.new(0.2) | |
6283 | Chow.Rate = 100 | |
6284 | Chow.Rotation = NumberRange.new(-360, 360) | |
6285 | Chow.Speed = NumberRange.new(0.3) | |
6286 | Chow.EmissionDirection = "Top" | |
6287 | local Chow2 = Instance.new('ParticleEmitter') | |
6288 | Chow2.Name = "Aura" | |
6289 | Chow2.Texture = "rbxassetid://779576004" | |
6290 | Chow2.Parent = outau2 | |
6291 | Chow2.LightEmission = 1 | |
6292 | Chow2.Transparency = NumberSequence.new(1,0.1,1) | |
6293 | Chow2.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
6294 | Chow2.Size = NumberSequence.new(60) | |
6295 | Chow2.LockedToPart = true | |
6296 | Chow2.Lifetime = NumberRange.new(0.2) | |
6297 | Chow2.Rate = 200 | |
6298 | Chow2.Rotation = NumberRange.new(-360, 360) | |
6299 | Chow2.Speed = NumberRange.new(0.3) | |
6300 | Chow2.EmissionDirection = "Top" | |
6301 | local Atch1 = Instance.new("Attachment",out2l)Atch1.Position = Vector3.new(0,2,0) | |
6302 | local Atch2 = Instance.new("Attachment",out2l)Atch2.Position = Vector3.new(0,-2.5,0) | |
6303 | local Trail = Instance.new("Trail",Character)Trail.Attachment0 = Atch1 Trail.Attachment1 = Atch2 | |
6304 | Trail.Texture = "rbxassetid://22636887" Trail.Lifetime = 1.7 Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
6305 | Trail.Color = ColorSequence.new(ColorsArray) Trail.LightEmission = 5 | |
6306 | local To = Instance.new("Part",Character) | |
6307 | To.Size = Vector3.new(2,1,2) | |
6308 | To.BrickColor = BrickColor.new("New Yeller") | |
6309 | To.CanCollide = false | |
6310 | To.Anchored = true | |
6311 | To.Material = "Neon" | |
6312 | To.CFrame = RootPart.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
6313 | local To2 = Instance.new("SpecialMesh",To) | |
6314 | To2.MeshId = "rbxassetid://569384034" | |
6315 | To2.Scale = Vector3.new(10,10,10) | |
6316 | local Rin = Instance.new("Part",Character) | |
6317 | Rin.Size = Vector3.new(1,1,1) | |
6318 | Rin.BrickColor = BrickColor.new("White") | |
6319 | Rin.Anchored = true | |
6320 | Rin.CFrame = out.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0) | |
6321 | local Rin2 = Instance.new("SpecialMesh",Rin) | |
6322 | Rin2.MeshId = "rbxassetid://3270017" | |
6323 | Rin2.Scale = Vector3.new(1,1,1) | |
6324 | out.CFrame = UpperTorso.CFrame * CFrame.new(0, 0, 0) | |
6325 | outau.CFrame = UpperTorso.CFrame * CFrame.new(0, 0, 0) | |
6326 | outau2.CFrame = UpperTorso.CFrame * CFrame.new(0, 0, 0) | |
6327 | out2.CFrame = UpperTorso.CFrame * CFrame.new(0, 0, 0) | |
6328 | outl.CFrame = UpperTorso.CFrame * CFrame.new(0, 0, 0) | |
6329 | out2l.CFrame = UpperTorso.CFrame * CFrame.new(0, 0, 0) | |
6330 | bem.CFrame = out.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(0)) | |
6331 | bnd.CFrame = bem.CFrame * CFrame.new(0,0,0) | |
6332 | bem2.CFrame = out.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(0)) | |
6333 | Grab.CFrame = out.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(0)) | |
6334 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(0), 0, 0) | |
6335 | rng3.CFrame = rng.CFrame * CFrame.new(0, 0, 0) | |
6336 | rng4.CFrame = rng.CFrame * CFrame.new(0, 0, 0) | |
6337 | Debounces.Shewt = true | |
6338 | local Music2 = Instance.new("Sound",UpperTorso) | |
6339 | Music2.SoundId = "rbxassetid://1117288204" | |
6340 | Music2.Pitch = 1 | |
6341 | Music2.Looped = false | |
6342 | Music2.Volume = 7.2 | |
6343 | wait(0.0001) | |
6344 | Music2:Play() | |
6345 | coroutine.wrap(function() | |
6346 | for i = 1, 20, 0.2 do | |
6347 | rngm.Scale = Vector3.new(16 + i*6, 10 + i*6, 2) | |
6348 | rngm3.Scale = Vector3.new(18 + i*8, 8 + i*8, 2) | |
6349 | rngm4.Scale = Vector3.new(20 + i*10, 6 + i*10, 2) | |
6350 | rng.Transparency = i/20 | |
6351 | rng3.Transparency = 1/24 | |
6352 | rng4.Transparency = i/26 | |
6353 | wait() | |
6354 | end | |
6355 | wait(5.0) | |
6356 | rng:Destroy() | |
6357 | end)() | |
6358 | if Debounces.Shewt == true then | |
6359 | RootPart:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
6360 | hit = ht.Parent | |
6361 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
6362 | if HasntTouched(hit.Name) == true and deb == false then | |
6363 | deb = true | |
6364 | coroutine.wrap(function() | |
6365 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
6366 | end)() | |
6367 | table.insert(Touche, hit.Name) | |
6368 | deb = false | |
6369 | end | |
6370 | coroutine.wrap(function() | |
6371 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
6372 | hit.Parent.Torso.Position = hit.Parent.Torso.Position + Vector3.new(0,0,5) | |
6373 | wait(0.4) | |
6374 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
6375 | end)() | |
6376 | table.insert(Touche, hit.Parent.Name) | |
6377 | deb = false | |
6378 | for i, v in pairs(Touche) do | |
6379 | print(v) | |
6380 | end | |
6381 | end | |
6382 | end) | |
6383 | end | |
6384 | for i = 0, 1700, 23 do | |
6385 | bem.Size = Vector3.new(i, 37,37) | |
6386 | bem2.Size = Vector3.new(i, 27,27) | |
6387 | Grab.Size = Vector3.new(i, 37,37) | |
6388 | out.CFrame = RootPart.CFrame * CFrame.new(0, 0, -18) * CFrame.Angles(math.rad(90), 0, math.rad(0)) | |
6389 | outau.CFrame = RootPart.CFrame * CFrame.new(0, 0, -18) * CFrame.Angles(math.rad(90), 0, math.rad(0)) | |
6390 | out2.CFrame = RootPart.CFrame * CFrame.new(0, 0, -18) * CFrame.Angles(math.rad(90), 0, math.rad(0)) | |
6391 | bem.CFrame = out.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
6392 | bem2.CFrame = out.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
6393 | Grab.CFrame = out.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
6394 | outl.CFrame = out.CFrame * CFrame.new(0, -5.2 -(i/1), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
6395 | out2l.CFrame = out.CFrame * CFrame.new(0, -5.2 -(i/1), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
6396 | outau2.CFrame = out.CFrame * CFrame.new(0, -5.2 -(i/1), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
6397 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
6398 | bnd.Size = Vector3.new(10,10,10) | |
6399 | bndm.Scale = Vector3.new(10,10,10) | |
6400 | To.Transparency = To.Transparency + 0.012 | |
6401 | To.CFrame = To.CFrame*CFrame.Angles(0,0.3,0) | |
6402 | if i % 10 == 0 then | |
6403 | local newRng = rng2:Clone() | |
6404 | newRng.Parent = RootPart | |
6405 | newRng.CFrame = RootPart.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
6406 | local newRngm = rngm2:clone() | |
6407 | newRngm.Parent=newRng | |
6408 | coroutine.wrap(function() | |
6409 | for i = 1, 10, 0.2 do | |
6410 | newRngm.Scale = Vector3.new(12 + i*2, 12 + i*2, 3) | |
6411 | newRng.Transparency = i/10 | |
6412 | wait() | |
6413 | end | |
6414 | wait(0) | |
6415 | newRng:Destroy() | |
6416 | end)() | |
6417 | end | |
6418 | wait() | |
6419 | end | |
6420 | wait(0)---bem.Transparency = bem.Transparency + 0.009 | |
6421 | Debounces.Shewt = false | |
6422 | out:Destroy() | |
6423 | out2:Destroy() | |
6424 | bnd:Destroy() | |
6425 | bem:Destroy() | |
6426 | bem2:Destroy() | |
6427 | To:Destroy() | |
6428 | To2:Destroy() | |
6429 | Music2:Destroy() | |
6430 | out2l:Destroy() | |
6431 | outl:Destroy() | |
6432 | outau:Destroy() | |
6433 | outau2:Destroy() | |
6434 | Trail:Destroy() | |
6435 | Atch1:Destroy() | |
6436 | Grab:Destroy() | |
6437 | Grabo:Destroy() | |
6438 | RootPart.Anchored = false | |
6439 | Debounces.Ready = false | |
6440 | for i, v in pairs(Touche) do | |
6441 | table.remove(Touche, i) | |
6442 | end | |
6443 | wait() | |
6444 | table.insert(Touche, Character.Name) | |
6445 | Debounces.NoIdl = false | |
6446 | if Debounces.CanAttack == false then | |
6447 | Debounces.CanAttack = true | |
6448 | end | |
6449 | end | |
6450 | end | |
6451 | Idle = false | |
6452 | Humanoid.WalkSpeed = 16 | |
6453 | end) | |
6454 | ||
6455 | ||
6456 | Mouse.KeyDown:connect(function(key) | |
6457 | if key == "" then | |
6458 | Idle = true | |
6459 | if Debounces.CanAttack == true then | |
6460 | Debounces.CanAttack = false | |
6461 | Debounces.on = true | |
6462 | Debounces.NoIdl = true | |
6463 | ||
6464 | ||
6465 | ||
6466 | Debounces.on = false | |
6467 | Debounces.Here = false | |
6468 | shot = shot + 1 | |
6469 | ||
6470 | ||
6471 | local rng = Instance.new("Part",RootPart) | |
6472 | rng.Anchored = true | |
6473 | rng.BrickColor = BrickColor.new("New Yeller") | |
6474 | rng.CanCollide = false | |
6475 | rng.FormFactor = 3 | |
6476 | rng.Name = "Ring" | |
6477 | rng.Size = Vector3.new(8,8,8) | |
6478 | rng.Transparency = 0.35 | |
6479 | rng.TopSurface = 0 | |
6480 | rng.BottomSurface = 0 | |
6481 | rng2 = rng:clone() | |
6482 | rng3 = rng2:clone() | |
6483 | rng4 = rng2:clone() | |
6484 | local rngm = Instance.new("SpecialMesh", rng) | |
6485 | rngm.MeshId = "http://www.roblox.com/asset/?id=0" | |
6486 | rngm.Scale = Vector3.new(1,1,1) | |
6487 | rngm2 = rngm:clone() | |
6488 | rngm2.Scale = Vector3.new(1,1,1) | |
6489 | rngm3=rngm2:clone() | |
6490 | rngm3.Parent = rng3 | |
6491 | rngm3.Scale = Vector3.new(1,1,1) | |
6492 | rngm4 = rngm2:clone() | |
6493 | rngm4.Parent = rng4 | |
6494 | rngm4.Scale = Vector3.new(1,1,1) | |
6495 | local bem = Instance.new("Part",RootPart) | |
6496 | bem.Anchored = true | |
6497 | bem.Position = bem.Position + Vector3.new(0,0,150) | |
6498 | bem.BrickColor = BrickColor.new("New Yeller") | |
6499 | bem.CanCollide = false | |
6500 | bem.Material = "Neon" | |
6501 | local aura = Instance.new("ParticleEmitter",bem) | |
6502 | aura.Size = NumberSequence.new(11) | |
6503 | aura.Lifetime = NumberRange.new(0.5) | |
6504 | aura.LightEmission = 1 | |
6505 | aura.Texture = "http://www.roblox.com/asset/?id=" | |
6506 | aura.Speed = NumberRange.new(0) | |
6507 | aura.Color = ColorSequence.new(Color3.new(225,225,0)) | |
6508 | aura.Rate = 400 | |
6509 | bem.FormFactor = 3 | |
6510 | bem.Name = "Beam" .. shot | |
6511 | bem.Size = Vector3.new(0,0,0) | |
6512 | bem.Transparency = 0.35 | |
6513 | bem.TopSurface = 0 | |
6514 | bem.BottomSurface = 0 | |
6515 | local bemm = Instance.new("SpecialMesh", bem) | |
6516 | bemm.MeshType = 3 | |
6517 | bemm.Scale = Vector3.new(1, 1, 1) | |
6518 | local out = Instance.new("Part",Character) | |
6519 | out.Anchored = true | |
6520 | out.BrickColor = BrickColor.new("New Yeller") | |
6521 | out.CanCollide = false | |
6522 | out.FormFactor = 3 | |
6523 | out.Name = "Out" | |
6524 | out.Material = "Neon" | |
6525 | out.Size = Vector3.new(61,61,61) | |
6526 | out.Transparency = 1 | |
6527 | out.TopSurface = 0 | |
6528 | out.BottomSurface = 0 | |
6529 | local outm = Instance.new("SpecialMesh", out) | |
6530 | outm.MeshType = 3 | |
6531 | outm.Scale = Vector3.new(1, 1, 1) | |
6532 | local bnd = Instance.new("Part", RootPart) | |
6533 | bnd.Anchored = true | |
6534 | bnd.BrickColor = BrickColor.new("New Yeller") | |
6535 | bnd.CanCollide = false | |
6536 | bnd.Material = "Neon" | |
6537 | bnd.FormFactor = 3 | |
6538 | bnd.Name = "Bend" | |
6539 | bnd.Size = Vector3.new(10,10,10) | |
6540 | bnd.Transparency = 1 | |
6541 | bnd.TopSurface = 0 | |
6542 | bnd.BottomSurface = 0 | |
6543 | local bndm = Instance.new("SpecialMesh", bnd) | |
6544 | bndm.MeshType = 3 | |
6545 | bndm.Scale = Vector3.new(1,1,1) | |
6546 | out.CFrame = UpperTorso.CFrame * CFrame.new(0, 0, 0) | |
6547 | bem.CFrame = out.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(0)) | |
6548 | bnd.CFrame = bem.CFrame * CFrame.new(0,0,0) | |
6549 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(0), 0, 0) | |
6550 | rng3.CFrame = rng.CFrame * CFrame.new(0, 0, 0) | |
6551 | rng4.CFrame = rng.CFrame * CFrame.new(0, 0, 0) | |
6552 | Debounces.Shewt = true | |
6553 | coroutine.wrap(function() | |
6554 | for i = 1, 20, 0.2 do | |
6555 | rngm.Scale = Vector3.new(16 + i*6, 10 + i*6, 2) | |
6556 | rngm3.Scale = Vector3.new(18 + i*8, 8 + i*8, 2) | |
6557 | rngm4.Scale = Vector3.new(20 + i*10, 6 + i*10, 2) | |
6558 | rng.Transparency = i/20 | |
6559 | rng3.Transparency = 1/24 | |
6560 | rng4.Transparency = i/26 | |
6561 | wait() | |
6562 | end | |
6563 | wait(5.0) | |
6564 | rng:Destroy() | |
6565 | end)() | |
6566 | if Debounces.Shewt == true then | |
6567 | RootPart:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
6568 | hit = ht.Parent | |
6569 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
6570 | if HasntTouched(hit.Name) == true and deb == false then | |
6571 | deb = true | |
6572 | coroutine.wrap(function() | |
6573 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
6574 | hit:FindFirstChild("Torso").Velocity = Character.Head.CFrame.lookVector * 180 | |
6575 | hit.Parent:FindFirstChild("Humanoid") | |
6576 | hit.Parent.Humanoid:TakeDamage(2123333900) | |
6577 | end)() | |
6578 | table.insert(Touche, hit.Name) | |
6579 | deb = false | |
6580 | end | |
6581 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
6582 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
6583 | deb = true | |
6584 | coroutine.wrap(function() | |
6585 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
6586 | hit.Parent.Torso.Position = hit.Parent.Torso.Position + Vector3.new(0,0,5) | |
6587 | hit.Parent:FindFirstChild("Torso").Velocity = Character.Head.CFrame.lookVector * 180 | |
6588 | wait(0.4) | |
6589 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
6590 | end)() | |
6591 | table.insert(Touche, hit.Parent.Name) | |
6592 | deb = false | |
6593 | for i, v in pairs(Touche) do | |
6594 | print(v) | |
6595 | end | |
6596 | end | |
6597 | end | |
6598 | end) | |
6599 | end | |
6600 | for i = 0,2,0.1 do | |
6601 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1) --LeftUpperArm | |
6602 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0,0)*CFrame.Angles(1.22,0,0),.1)--RightUpperArm | |
6603 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerArm | |
6604 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(1,0,0),.1)--RightLowerArm | |
6605 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftUpperLeg | |
6606 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
6607 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerLeg | |
6608 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
6609 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Torso | |
6610 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(-0.4,0,0),.1)--Head | |
6611 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
6612 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
6613 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
6614 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
6615 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0.3,0,0),.1)--Head | |
6616 | game:GetService("RunService").RenderStepped:wait() | |
6617 | end | |
6618 | for i = 0, 300, 5 do | |
6619 | bem.Size = Vector3.new(i, 12,12) | |
6620 | out.CFrame = RootPart.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), 0, math.rad(0)) | |
6621 | bem.CFrame = out.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
6622 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
6623 | bnd.Size = Vector3.new(10,10,10) | |
6624 | bndm.Scale = Vector3.new(10,10,10) | |
6625 | if i % 10 == 0 then | |
6626 | local newRng = rng2:Clone() | |
6627 | newRng.Parent = RootPart | |
6628 | newRng.CFrame = RootPart.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
6629 | local newRngm = rngm2:clone() | |
6630 | newRngm.Parent=newRng | |
6631 | coroutine.wrap(function() | |
6632 | for i = 1, 10, 0.2 do | |
6633 | newRngm.Scale = Vector3.new(12 + i*2, 12 + i*2, 3) | |
6634 | newRng.Transparency = i/10 | |
6635 | wait() | |
6636 | end | |
6637 | for i = 1,20 do | |
6638 | bem.Transparency = bem.Transparency + 0.01 | |
6639 | out.Transparency = out.Transparency + 0.01 | |
6640 | end | |
6641 | wait(0) | |
6642 | newRng:Destroy() | |
6643 | pt:Destroy() | |
6644 | pt2:Destroy() | |
6645 | end)() | |
6646 | end | |
6647 | wait() | |
6648 | end | |
6649 | wait(0)---bem.Transparency = bem.Transparency + 0.009 | |
6650 | Debounces.Shewt = false | |
6651 | out:Destroy() | |
6652 | bnd:Destroy() | |
6653 | bem:Destroy() | |
6654 | Debounces.Ready = false | |
6655 | for i, v in pairs(Touche) do | |
6656 | table.remove(Touche, i) | |
6657 | end | |
6658 | wait() | |
6659 | table.insert(Touche, Character.Name) | |
6660 | Debounces.NoIdl = false | |
6661 | if Debounces.CanAttack == false then | |
6662 | Debounces.CanAttack = true | |
6663 | end | |
6664 | end | |
6665 | end | |
6666 | Idle = false | |
6667 | end) | |
6668 | ||
6669 | ||
6670 | ||
6671 | function unused() | |
6672 | if not D then D = true | |
6673 | Idle = true | |
6674 | local Grab = Instance.new("Part",RightHand) | |
6675 | Grab.Size = Vector3.new(3,3,3) | |
6676 | Grab.CanCollide = false | |
6677 | Grab.BrickColor = BrickColor.new("Deep orange") | |
6678 | Grab.Transparency = math.huge | |
6679 | local Grabo = Instance.new("Weld",Grab) | |
6680 | Grabo.Part0 = RightHand | |
6681 | Grabo.Part1 = Grab | |
6682 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
6683 | coroutine.resume(coroutine.create(function() | |
6684 | for i = 1,3 do | |
6685 | local HQ = Instance.new("Part",RightHand) | |
6686 | HQ.Size = Vector3.new(1,1,1) | |
6687 | HQ.BrickColor = BrickColor.new("White") | |
6688 | HQ.Material = "Neon" | |
6689 | HQ.Anchored = true | |
6690 | HQ.CanCollide = false | |
6691 | HQ.Transparency = 0.4 | |
6692 | HQ.CFrame = Character.RightHand.CFrame*CFrame.new(0,0,0) | |
6693 | local HQ2 = Instance.new("SpecialMesh",HQ) | |
6694 | HQ2.MeshType = "Sphere" | |
6695 | HQ2.Scale = Vector3.new(1,1,1) | |
6696 | local ZQW = Instance.new("Part",RightHand) | |
6697 | ZQW.Size = Vector3.new(1,1,1) | |
6698 | ZQW.BrickColor = BrickColor.new("New Yeller") | |
6699 | ZQW.Material = "Neon" | |
6700 | ZQW.Transparency = 0.4 | |
6701 | ZQW.Anchored = true | |
6702 | ZQW.CanCollide = false | |
6703 | ZQW.Position = v3(999,999,999) | |
6704 | ZQW.CFrame = RootPart.CFrame*CFrame.new(0, 0, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,300,0) | |
6705 | local ZQW2 = Instance.new("SpecialMesh",ZQW) | |
6706 | ZQW2.MeshType = "Cylinder" | |
6707 | ZQW2.Scale = Vector3.new(1,1,1) | |
6708 | local H = Instance.new("Part",RightHand) | |
6709 | H.Size = Vector3.new(1,1,1) | |
6710 | H.BrickColor = BrickColor.new("White") | |
6711 | H.CanCollide = false | |
6712 | H.Anchored = true | |
6713 | H.CFrame = Character.RightHand.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0) | |
6714 | local H2 = Instance.new("SpecialMesh",H) | |
6715 | H2.MeshId = "rbxassetid://9982590" | |
6716 | coroutine.resume(coroutine.create(function() | |
6717 | for i = 1,200 do | |
6718 | ZQW2.Scale = ZQW2.Scale + Vector3.new(30,1,120) | |
6719 | ZQW.Transparency = ZQW.Transparency + 0.009 | |
6720 | HQ2.Scale = HQ2.Scale + Vector3.new(0.4,45,0.4) | |
6721 | HQ.Transparency = HQ.Transparency + 1 | |
6722 | H2.Scale = H2.Scale + Vector3.new(0.3,0.3,0.3) | |
6723 | H.Transparency = H.Transparency + 0.2 | |
6724 | wait(0.00000000001) | |
6725 | end | |
6726 | HQ:Destroy() | |
6727 | H2:Destroy() | |
6728 | H:Destroy() | |
6729 | HQ2:Destroy() | |
6730 | ZQW:Destroy() | |
6731 | ZQW2:Destroy() | |
6732 | end)) | |
6733 | wait(0.3) | |
6734 | end | |
6735 | end)) | |
6736 | local SFXZ = Instance.new("Sound",UpperTorso) | |
6737 | SFXZ.SoundId = "rbxassetid://169259383" | |
6738 | SFXZ.Volume = 1 | |
6739 | SFXZ.Pitch = 1.5 | |
6740 | SFXZ.Looped = false | |
6741 | wait(0.01) | |
6742 | SFXZ:Play() | |
6743 | Grab.Touched:connect(function(hit) | |
6744 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then | |
6745 | Grab:Destroy() | |
6746 | hit.Parent.Humanoid:TakeDamage(30) | |
6747 | local SFXZZ = Instance.new("Sound",hit) | |
6748 | SFXZZ.SoundId = "rbxassetid://1056625824" | |
6749 | SFXZZ.Volume = 2.5 | |
6750 | SFXZZ.Pitch = 1 | |
6751 | SFXZZ.Looped = false | |
6752 | wait(0.01) | |
6753 | SFXZZ:Play() | |
6754 | local H = Instance.new("Part",Character) | |
6755 | H.Size = Vector3.new(1,1,1) | |
6756 | H.BrickColor = BrickColor.new("White") | |
6757 | H.CanCollide = false | |
6758 | H.Anchored = true | |
6759 | H.CFrame = Character.UpperTorso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,0,1.55) | |
6760 | local H2 = Instance.new("SpecialMesh",H) | |
6761 | H2.MeshId = "rbxassetid://3270017" | |
6762 | local H3 = Instance.new("Part",Character) | |
6763 | H3.Size = Vector3.new(1,1,1) | |
6764 | H3.BrickColor = BrickColor.new("White") | |
6765 | H3.CanCollide = false | |
6766 | H3.Anchored = true | |
6767 | H3.CFrame = Character.UpperTorso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(1.55,0,0) | |
6768 | local H23 = Instance.new("SpecialMesh",H3) | |
6769 | H23.MeshId = "rbxassetid://3270017" | |
6770 | local H33 = Instance.new("Part",Character) | |
6771 | H33.Size = Vector3.new(1,1,1) | |
6772 | H33.BrickColor = BrickColor.new("White") | |
6773 | H33.CanCollide = false | |
6774 | H33.Anchored = true | |
6775 | H33.CFrame = Character.UpperTorso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0) | |
6776 | local H233 = Instance.new("SpecialMesh",H33) | |
6777 | H233.MeshId = "rbxassetid://20329976" | |
6778 | local H2 = Instance.new("SpecialMesh",H) | |
6779 | H2.MeshId = "rbxassetid://3270017" | |
6780 | local H5 = Instance.new("Part",Character) | |
6781 | H5.Size = Vector3.new(1,1,1) | |
6782 | H5.BrickColor = BrickColor.new("White") | |
6783 | H5.CanCollide = false | |
6784 | H5.Anchored = true | |
6785 | H5.CFrame = Character.UpperTorso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,1.55,0) | |
6786 | local H25 = Instance.new("SpecialMesh",H5) | |
6787 | H25.MeshId = "rbxassetid://3270017" | |
6788 | local Hi = Instance.new("Part",hit) | |
6789 | Hi.Size = Vector3.new(1,1,1) | |
6790 | Hi.BrickColor = BrickColor.new("White") | |
6791 | Hi.CanCollide = false | |
6792 | Hi.Anchored = true | |
6793 | Hi.CFrame = hit.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,0,1.55) | |
6794 | local Hi2 = Instance.new("SpecialMesh",Hi) | |
6795 | Hi2.MeshId = "rbxassetid://3270017" | |
6796 | coroutine.resume(coroutine.create(function() | |
6797 | for i = 1,200 do | |
6798 | H2.Scale = H2.Scale + Vector3.new(6,6,6) | |
6799 | H.Transparency = H.Transparency + 0.09 | |
6800 | H23.Scale = H23.Scale + Vector3.new(8,8,8) | |
6801 | H3.Transparency = H3.Transparency + 0.09 | |
6802 | H233.Scale = H23.Scale + Vector3.new(6,6,6) | |
6803 | H33.Transparency = H3.Transparency + 0.09 | |
6804 | H25.Scale = H25.Scale + Vector3.new(6,6,6) | |
6805 | H5.Transparency = H5.Transparency + 0.09 | |
6806 | Hi2.Scale = Hi2.Scale + Vector3.new(6,6,6) | |
6807 | Hi.Transparency = Hi.Transparency + 0.09 | |
6808 | wait(0.00000000001) | |
6809 | end | |
6810 | end)) | |
6811 | local SFXZ = Instance.new("Sound",UpperTorso) | |
6812 | SFXZ.SoundId = "rbxassetid://447041606" | |
6813 | SFXZ.Volume = 6 | |
6814 | SFXZ.Pitch = 1 | |
6815 | SFXZ.Looped = false | |
6816 | wait(0.01) | |
6817 | SFXZ:Play() | |
6818 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
6819 | Fl.maxForce = Vector3.new(9000000, 9000000000, 9000000) | |
6820 | Fl.velocity = RootPart.CFrame.p + Vector3.new(0, 580, 0) | |
6821 | wait(0.05) | |
6822 | Fl:remove() | |
6823 | local ry,ht,ps=nil,nil,nil | |
6824 | while ht==nil do | |
6825 | ry,ht,ps=newRay(hit.CFrame*CFrame.new(0,-1,0),hit.CFrame*CFrame.new(0,-2,0),4.1,{hit}) | |
6826 | wait() | |
6827 | end | |
6828 | for i = 1, 15 do | |
6829 | local gtrace = Instance.new("Part",game.Workspace) | |
6830 | gtrace.BrickColor = BrickColor.new("Grey") | |
6831 | gtrace.Material = "Slate" | |
6832 | gtrace.Size = Vector3.new(31,31,31) | |
6833 | gtrace.Anchored = true | |
6834 | gtrace.CanCollide = true | |
6835 | gtrace.CFrame = (hit.CFrame + Vector3.new(math.random(-70,70),-6,math.random(-70,70))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
6836 | local gdisp = coroutine.wrap(function() | |
6837 | wait(12) | |
6838 | for i = 1, 9 do | |
6839 | wait(.1) | |
6840 | gtrace.Transparency = gtrace.Transparency + .1 | |
6841 | end | |
6842 | gtrace:Destroy() | |
6843 | end) | |
6844 | gdisp() | |
6845 | end | |
6846 | local SFXZ = Instance.new("Sound",hit) | |
6847 | SFXZ.SoundId = "rbxassetid://539294959" | |
6848 | SFXZ.Volume = 10 | |
6849 | SFXZ.Pitch = 1 | |
6850 | SFXZ.Looped = false | |
6851 | wait(0.01) | |
6852 | SFXZ:Play() | |
6853 | local SFXZ = Instance.new("Sound",hit) | |
6854 | SFXZ.SoundId = "rbxassetid://180120107" | |
6855 | SFXZ.Volume = 10 | |
6856 | SFXZ.Pitch = 1 | |
6857 | SFXZ.Looped = false | |
6858 | wait(0.01) | |
6859 | SFXZ:Play() | |
6860 | local SFXZ = Instance.new("Sound",hit) | |
6861 | SFXZ.SoundId = "rbxassetid://315775189" | |
6862 | SFXZ.Volume = 10 | |
6863 | SFXZ.Pitch = 1 | |
6864 | SFXZ.Looped = false | |
6865 | wait(0.01) | |
6866 | SFXZ:Play() | |
6867 | local SFXZ = Instance.new("Sound",hit) | |
6868 | SFXZ.SoundId = "rbxassetid://157878578" | |
6869 | SFXZ.Volume = 10 | |
6870 | SFXZ.Pitch = 1 | |
6871 | SFXZ.Looped = false | |
6872 | wait(0.01) | |
6873 | SFXZ:Play() | |
6874 | hit.Parent:BreakJoints() | |
6875 | local H = Instance.new("Part",Character) | |
6876 | H.Size = Vector3.new(1,1,1) | |
6877 | H.BrickColor = BrickColor.new("White") | |
6878 | H.CanCollide = false | |
6879 | H.Anchored = true | |
6880 | H.CFrame = hit.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,0,1.55) | |
6881 | local H2 = Instance.new("SpecialMesh",H) | |
6882 | H2.MeshId = "rbxassetid://3270017" | |
6883 | local H3 = Instance.new("Part",Character) | |
6884 | H3.Size = Vector3.new(1,1,1) | |
6885 | H3.BrickColor = BrickColor.new("White") | |
6886 | H3.CanCollide = false | |
6887 | H3.Anchored = true | |
6888 | H3.CFrame = hit.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(1.55,0,0) | |
6889 | local H23 = Instance.new("SpecialMesh",H3) | |
6890 | H23.MeshId = "rbxassetid://3270017" | |
6891 | local H33 = Instance.new("Part",Character) | |
6892 | H33.Size = Vector3.new(1,1,1) | |
6893 | H33.BrickColor = BrickColor.new("White") | |
6894 | H33.CanCollide = false | |
6895 | H33.Anchored = true | |
6896 | H33.CFrame = hit.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0) | |
6897 | local H233 = Instance.new("SpecialMesh",H33) | |
6898 | H233.MeshId = "rbxassetid://20329976" | |
6899 | local H2 = Instance.new("SpecialMesh",H) | |
6900 | H2.MeshId = "rbxassetid://3270017" | |
6901 | local H5 = Instance.new("Part",Character) | |
6902 | H5.Size = Vector3.new(1,1,1) | |
6903 | H5.BrickColor = BrickColor.new("White") | |
6904 | H5.CanCollide = false | |
6905 | H5.Anchored = true | |
6906 | H5.CFrame = hit.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,1.55,0) | |
6907 | local H25 = Instance.new("SpecialMesh",H5) | |
6908 | H25.MeshId = "rbxassetid://3270017" | |
6909 | local Hi = Instance.new("Part",hit) | |
6910 | Hi.Size = Vector3.new(1,1,1) | |
6911 | Hi.BrickColor = BrickColor.new("White") | |
6912 | Hi.CanCollide = false | |
6913 | Hi.Anchored = true | |
6914 | Hi.CFrame = hit.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,0,1.55) | |
6915 | local Hi2 = Instance.new("SpecialMesh",Hi) | |
6916 | Hi2.MeshId = "rbxassetid://3270017" | |
6917 | coroutine.resume(coroutine.create(function() | |
6918 | for i = 1,200 do | |
6919 | H2.Scale = H2.Scale + Vector3.new(14,14,14) | |
6920 | H.Transparency = H.Transparency + 0.03 | |
6921 | H23.Scale = H23.Scale + Vector3.new(14,14,14) | |
6922 | H3.Transparency = H3.Transparency + 0.03 | |
6923 | H233.Scale = H23.Scale + Vector3.new(14,14,14) | |
6924 | H33.Transparency = H3.Transparency + 0.03 | |
6925 | H25.Scale = H25.Scale + Vector3.new(14,14,14) | |
6926 | H5.Transparency = H5.Transparency + 0.03 | |
6927 | Hi2.Scale = Hi2.Scale + Vector3.new(6,6,6) | |
6928 | Hi.Transparency = Hi.Transparency + 0.03 | |
6929 | wait(0.00000000001) | |
6930 | end | |
6931 | end)) | |
6932 | end | |
6933 | end) | |
6934 | for i = 0,2,0.1 do | |
6935 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1) --LeftUpperArm | |
6936 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0,0)*CFrame.Angles(1.22,0,0),.1)--RightUpperArm | |
6937 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerArm | |
6938 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(1,0,0),.1)--RightLowerArm | |
6939 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftUpperLeg | |
6940 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
6941 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerLeg | |
6942 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
6943 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Torso | |
6944 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(-0.4,0,0),.1)--Head | |
6945 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
6946 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
6947 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
6948 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
6949 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0.3,0,0),.1)--Head | |
6950 | game:GetService("RunService").RenderStepped:wait() | |
6951 | end | |
6952 | coroutine.resume(coroutine.create(function() | |
6953 | wait(0.5) | |
6954 | Grab:remove() | |
6955 | end)) | |
6956 | Idle = false | |
6957 | wait(0.1) | |
6958 | D = false | |
6959 | end | |
6960 | end | |
6961 | ||
6962 | ||
6963 | function TargetSelect(person) | |
6964 | local dd=coroutine.wrap(function() | |
6965 | if targetted ~= person then | |
6966 | targetted = person | |
6967 | for i = 0, 2, 0.1 do | |
6968 | swait() | |
6969 | end | |
6970 | end | |
6971 | end) | |
6972 | dd() | |
6973 | end | |
6974 | ||
6975 | Mouse.KeyDown:connect(function(key) | |
6976 | if key == 'f' then | |
6977 | HomingAttack() | |
6978 | end | |
6979 | end) | |
6980 | ||
6981 | ||
6982 | Mouse.KeyDown:connect(function(key) | |
6983 | if key == 'v' then | |
6984 | GodFist() | |
6985 | end | |
6986 | end) | |
6987 | ||
6988 | Mouse.KeyDown:connect(function(key) | |
6989 | if key == 'q' then | |
6990 | LockOn() | |
6991 | end | |
6992 | end) | |
6993 | ||
6994 | function LockOn() | |
6995 | if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
6996 | TargetSelect(Mouse.Target.Parent) | |
6997 | end | |
6998 | end | |
6999 | ||
7000 | ||
7001 | ||
7002 | ||
7003 | function HomingAttack() | |
7004 | ||
7005 | ||
7006 | ||
7007 | ||
7008 | if targetted == nil then | |
7009 | ||
7010 | end | |
7011 | ||
7012 | ||
7013 | local Music2 = Instance.new("Sound",UpperTorso) | |
7014 | Music2.SoundId = "rbxassetid://1055279036" | |
7015 | Music2.Pitch = 1 | |
7016 | Music2.Looped = false | |
7017 | Music2.Volume = 3.2 | |
7018 | wait(0.0001) | |
7019 | Music2:Play() | |
7020 | RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,1.5,3.1) | |
7021 | Zanzoken = Instance.new("Part",RootPart) | |
7022 | Zanzoken.Anchored = true | |
7023 | Zanzoken.CanCollide = false | |
7024 | Zanzoken.Position = v3(999,999,999) | |
7025 | Zanzoken.CFrame = RootPart.CFrame | |
7026 | game.Debris:AddItem(Zanzoken,0.5) | |
7027 | Zanzoken.Transparency = 1 | |
7028 | wait() | |
7029 | idk = Instance.new("BillboardGui",Zanzoken) | |
7030 | idk.Size = UDim2.new(10,0,15,0) | |
7031 | idk.AlwaysOnTop = false | |
7032 | idk1 = Instance.new("ImageLabel",idk) | |
7033 | idk1.BackgroundTransparency = 1 | |
7034 | idk.ExtentsOffset = v3(0,0,0) | |
7035 | idk1.ImageTransparency = 0 | |
7036 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7037 | idk1.Size = UDim2.new(2,0,1,0) | |
7038 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7039 | idk1.Image = "rbxassetid://319554883" | |
7040 | wait() | |
7041 | Zanzoken = Instance.new("Part",Character) | |
7042 | Zanzoken.Anchored = true | |
7043 | Zanzoken.CanCollide = false | |
7044 | Zanzoken.Position = v3(999,999,999) | |
7045 | Zanzoken.CFrame = RootPart.CFrame | |
7046 | game.Debris:AddItem(Zanzoken,0.5) | |
7047 | Zanzoken.Transparency = 1 | |
7048 | wait() | |
7049 | idk = Instance.new("BillboardGui",Zanzoken) | |
7050 | idk.Size = UDim2.new(20,0,20,0) | |
7051 | idk.AlwaysOnTop = false | |
7052 | idk1 = Instance.new("ImageLabel",idk) | |
7053 | idk1.BackgroundTransparency = 1 | |
7054 | idk.ExtentsOffset = v3(0,0,0) | |
7055 | idk1.ImageTransparency = 0 | |
7056 | idk1.ImageColor3 = Color3.fromRGB(0,0,0) | |
7057 | idk1.Size = UDim2.new(2,0,1,0) | |
7058 | idk1.Position = UDim2.new(-0.5,0,-0.2,0) | |
7059 | idk1.Image = "rbxassetid://319554883" | |
7060 | Humanoid.Health = Humanoid.Health + 300 | |
7061 | ||
7062 | ||
7063 | end | |
7064 | ||
7065 | ||
7066 | ||
7067 | function GodFist() | |
7068 | ||
7069 | local FlyAt = Instance.new("Attachment",UpperTorso)FlyAt.Position = Vector3.new(0,2,0) | |
7070 | local FlyAt2 = Instance.new("Attachment",UpperTorso)FlyAt2.Position = Vector3.new(0,-2.5,0) | |
7071 | local Speed = Instance.new("Trail",Character)Speed.Attachment0 = FlyAt Speed.Attachment1 = FlyAt2 | |
7072 | Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.9 Speed.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
7073 | Speed.Color = ColorSequence.new(ColorsArray) Speed.LightEmission = 5 | |
7074 | ||
7075 | local bv = Instance.new("BodyVelocity") | |
7076 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
7077 | bv.velocity = RootPart.CFrame.lookVector*250 | |
7078 | bv.Parent = RootPart | |
7079 | local Aura = Instance.new('ParticleEmitter') | |
7080 | Aura.Name = "Aura" | |
7081 | Aura.Texture = "rbxassetid://411939841" | |
7082 | Aura.Parent = UpperTorso | |
7083 | Aura.LightEmission = 1 | |
7084 | Aura.Transparency = NumberSequence.new(0.2,1) | |
7085 | Aura.Color = ColorSequence.new(BrickColor.new("Cyan").Color) | |
7086 | Aura.Size = NumberSequence.new(5,9) | |
7087 | Aura.LockedToPart = true | |
7088 | Aura.Lifetime = NumberRange.new(0.3) | |
7089 | Aura.Rate = 150 | |
7090 | Aura.Speed = NumberRange.new(2.3) | |
7091 | Aura.EmissionDirection = "Top" | |
7092 | Aura.Rotation = NumberRange.new(-80, 80) | |
7093 | local Grab = Instance.new("Part",RightHand) | |
7094 | Grab.Size = Vector3.new(4,4,4) | |
7095 | Grab.CanCollide = false | |
7096 | Grab.BrickColor = BrickColor.new("Deep orange") | |
7097 | Grab.Transparency = math.huge | |
7098 | local Grabo = Instance.new("Weld",Grab) | |
7099 | Grabo.Part0 = RightHand | |
7100 | Grabo.Part1 = Grab | |
7101 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
7102 | local SFXZ = Instance.new("Sound",UpperTorso) | |
7103 | SFXZ.SoundId = "rbxassetid://1056625824" | |
7104 | SFXZ.Volume = 1 | |
7105 | SFXZ.Pitch = 1 | |
7106 | SFXZ.Looped = false | |
7107 | wait(0.01) | |
7108 | SFXZ:Play() | |
7109 | Grab.Touched:connect(function(hit) | |
7110 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then | |
7111 | Grab:Destroy() | |
7112 | RootPart.Anchored = true | |
7113 | hit.Parent.Humanoid:TakeDamage(75) | |
7114 | bv:Destroy() | |
7115 | local SFXZ = Instance.new("Sound",UpperTorso) | |
7116 | SFXZ.SoundId = "rbxassetid://748050516" | |
7117 | SFXZ.Volume = 3 | |
7118 | SFXZ.Pitch = 1 | |
7119 | SFXZ.Looped = false | |
7120 | wait(0.01) | |
7121 | SFXZ:Play() | |
7122 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
7123 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
7124 | Fl.velocity = UpperTorso.CFrame.lookVector*10 | |
7125 | wait(0.05) | |
7126 | Fl:remove() | |
7127 | end | |
7128 | end) | |
7129 | for i = 0,4,0.1 do | |
7130 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-1.2,0,0.5),.1) --LeftUpperArm | |
7131 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,-0.8),.1)--RightUpperArm | |
7132 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerArm | |
7133 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(.6,0,-0.6),.1)--RightLowerArm | |
7134 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftUpperLeg | |
7135 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-1,0,0),.1)--RightUpperLeg | |
7136 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerLeg | |
7137 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-1,0,0),.1)--RightUpperLeg | |
7138 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,5,1),.1)--Torso | |
7139 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(.5,.2,.3),.1)--Head | |
7140 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
7141 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
7142 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
7143 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
7144 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-0.3,1,0),.1)--Head | |
7145 | game:GetService("RunService").RenderStepped:wait() | |
7146 | end | |
7147 | bv:Destroy() | |
7148 | RootPart.Anchored = false | |
7149 | Aura.Enabled = false | |
7150 | Grab:Destroy() | |
7151 | FlyAt:Destroy() | |
7152 | end | |
7153 | ||
7154 | ||
7155 | ||
7156 | function HomingAttackUI() | |
7157 | ||
7158 | ||
7159 | --local GGyro = Instance.new("BodyPosition") | |
7160 | --for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 100)) do | |
7161 | --if v:FindFirstChild('Head') then | |
7162 | --end | |
7163 | --end | |
7164 | ||
7165 | ||
7166 | if targetted == nil then | |
7167 | ||
7168 | end | |
7169 | ||
7170 | ||
7171 | RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,1.5,3.1) | |
7172 | Humanoid.Health = Humanoid.Health + 1000 | |
7173 | ||
7174 | ||
7175 | end | |
7176 | ||
7177 | ||
7178 | function Away() | |
7179 | if not D then D = true | |
7180 | Idle = true | |
7181 | local Grab = Instance.new("Part",LeftHand) | |
7182 | Grab.Size = Vector3.new(3,3,3) | |
7183 | Grab.CanCollide = false | |
7184 | Grab.BrickColor = BrickColor.new("Deep orange") | |
7185 | Grab.Transparency = math.huge | |
7186 | local Grabo = Instance.new("Weld",Grab) | |
7187 | Grabo.Part0 = LeftHand | |
7188 | Grabo.Part1 = Grab | |
7189 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
7190 | local SFXZ = Instance.new("Sound",UpperTorso) | |
7191 | SFXZ.SoundId = "rbxassetid://169259383" | |
7192 | SFXZ.Volume = 1 | |
7193 | SFXZ.Pitch = 1.5 | |
7194 | SFXZ.Looped = false | |
7195 | wait(0.01) | |
7196 | SFXZ:Play() | |
7197 | Grab.Touched:connect(function(hit) | |
7198 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then | |
7199 | Grab:Destroy() | |
7200 | hit.Parent.Humanoid:TakeDamage(20) | |
7201 | local FZcharge = Instance.new("ParticleEmitter",hit) | |
7202 | FZcharge.Texture = "rbxassetid://31727915" | |
7203 | FZcharge.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) | |
7204 | FZcharge.EmissionDirection = "Bottom" | |
7205 | FZcharge.Speed = NumberRange.new(5) | |
7206 | FZcharge.Size = NumberSequence.new(10,0) | |
7207 | FZcharge.Drag = 2 | |
7208 | FZcharge.LockedToPart = false | |
7209 | FZcharge.Lifetime = NumberRange.new(3) | |
7210 | FZcharge.Rate = 150 | |
7211 | FZcharge.LightEmission = 0 | |
7212 | FZcharge.Rotation = NumberRange.new(-100, 100) | |
7213 | FZcharge.VelocitySpread = 100 | |
7214 | local SFXZZ = Instance.new("Sound",hit) | |
7215 | SFXZZ.SoundId = "rbxassetid://1056625824" | |
7216 | SFXZZ.Volume = 2.5 | |
7217 | SFXZZ.Pitch = 1 | |
7218 | SFXZZ.Looped = false | |
7219 | wait(0.01) | |
7220 | SFXZZ:Play() | |
7221 | local H = Instance.new("Part",Character) | |
7222 | H.Size = Vector3.new(1,1,1) | |
7223 | H.BrickColor = BrickColor.new("White") | |
7224 | H.CanCollide = false | |
7225 | H.Anchored = true | |
7226 | H.CFrame = Character.UpperTorso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,0,1.55) | |
7227 | local H2 = Instance.new("SpecialMesh",H) | |
7228 | H2.MeshId = "rbxassetid://3270017" | |
7229 | local H3 = Instance.new("Part",Character) | |
7230 | H3.Size = Vector3.new(1,1,1) | |
7231 | H3.BrickColor = BrickColor.new("White") | |
7232 | H3.CanCollide = false | |
7233 | H3.Anchored = true | |
7234 | H3.CFrame = Character.UpperTorso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(1.55,0,0) | |
7235 | local H23 = Instance.new("SpecialMesh",H3) | |
7236 | H23.MeshId = "rbxassetid://3270017" | |
7237 | local H33 = Instance.new("Part",Character) | |
7238 | H33.Size = Vector3.new(1,1,1) | |
7239 | H33.BrickColor = BrickColor.new("White") | |
7240 | H33.CanCollide = false | |
7241 | H33.Anchored = true | |
7242 | H33.CFrame = Character.UpperTorso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0) | |
7243 | local H233 = Instance.new("SpecialMesh",H33) | |
7244 | H233.MeshId = "rbxassetid://20329976" | |
7245 | local H2 = Instance.new("SpecialMesh",H) | |
7246 | H2.MeshId = "rbxassetid://3270017" | |
7247 | local H5 = Instance.new("Part",Character) | |
7248 | H5.Size = Vector3.new(1,1,1) | |
7249 | H5.BrickColor = BrickColor.new("White") | |
7250 | H5.CanCollide = false | |
7251 | H5.Anchored = true | |
7252 | H5.CFrame = Character.UpperTorso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,1.55,0) | |
7253 | local H25 = Instance.new("SpecialMesh",H5) | |
7254 | H25.MeshId = "rbxassetid://3270017" | |
7255 | local Hi = Instance.new("Part",hit) | |
7256 | Hi.Size = Vector3.new(1,1,1) | |
7257 | Hi.BrickColor = BrickColor.new("White") | |
7258 | Hi.CanCollide = false | |
7259 | Hi.Anchored = true | |
7260 | Hi.CFrame = hit.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,0,1.55) | |
7261 | local Hi2 = Instance.new("SpecialMesh",Hi) | |
7262 | Hi2.MeshId = "rbxassetid://3270017" | |
7263 | coroutine.resume(coroutine.create(function() | |
7264 | for i = 1,200 do | |
7265 | H2.Scale = H2.Scale + Vector3.new(6,6,6) | |
7266 | H.Transparency = H.Transparency + 0.09 | |
7267 | H23.Scale = H23.Scale + Vector3.new(8,8,8) | |
7268 | H3.Transparency = H3.Transparency + 0.09 | |
7269 | H233.Scale = H23.Scale + Vector3.new(6,6,6) | |
7270 | H33.Transparency = H3.Transparency + 0.09 | |
7271 | H25.Scale = H25.Scale + Vector3.new(6,6,6) | |
7272 | H5.Transparency = H5.Transparency + 0.09 | |
7273 | Hi2.Scale = Hi2.Scale + Vector3.new(6,6,6) | |
7274 | Hi.Transparency = Hi.Transparency + 0.09 | |
7275 | wait(0.00000000001) | |
7276 | end | |
7277 | end)) | |
7278 | local SFXZ = Instance.new("Sound",UpperTorso) | |
7279 | SFXZ.SoundId = "rbxassetid://447041606" | |
7280 | SFXZ.Volume = 6 | |
7281 | SFXZ.Pitch = 1 | |
7282 | SFXZ.Looped = false | |
7283 | wait(0.01) | |
7284 | SFXZ:Play() | |
7285 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
7286 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
7287 | Fl.velocity = UpperTorso.CFrame.lookVector*680 | |
7288 | wait(0.05) | |
7289 | Fl:remove() | |
7290 | wait(1.1) | |
7291 | FZcharge.Rate = 0 | |
7292 | end | |
7293 | end) | |
7294 | for i = 0,0.5,0.3 do | |
7295 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,-1.55),.1) --LeftUpperArm | |
7296 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0,0)*CFrame.Angles(-0.5,0,0),.1)--RightUpperArm | |
7297 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(1,0,0),.1)--LeftLowerArm | |
7298 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightLowerArm | |
7299 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftUpperLeg | |
7300 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
7301 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerLeg | |
7302 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
7303 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Torso | |
7304 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
7305 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
7306 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
7307 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
7308 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0.4,0),.1)--Head | |
7309 | game:GetService("RunService").RenderStepped:wait() | |
7310 | end | |
7311 | for i = 0,0.5,0.1 do | |
7312 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,1),.1) --LeftUpperArm | |
7313 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0,0)*CFrame.Angles(-1,0,0),.1)--RightUpperArm | |
7314 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerArm | |
7315 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightLowerArm | |
7316 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftUpperLeg | |
7317 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
7318 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerLeg | |
7319 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
7320 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Torso | |
7321 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
7322 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
7323 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
7324 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
7325 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,-0.4,0),.1)--Head | |
7326 | game:GetService("RunService").RenderStepped:wait() | |
7327 | end | |
7328 | coroutine.resume(coroutine.create(function() | |
7329 | wait(0.5) | |
7330 | Grab:remove() | |
7331 | end)) | |
7332 | Idle = false | |
7333 | wait(0.1) | |
7334 | D = false | |
7335 | end | |
7336 | end | |
7337 | ||
7338 | ||
7339 | function Hit2() | |
7340 | if not D then D = true | |
7341 | Idle = true | |
7342 | local Grab = Instance.new("Part",RightHand) | |
7343 | Grab.Size = Vector3.new(3,3,3) | |
7344 | Grab.CanCollide = false | |
7345 | Grab.BrickColor = BrickColor.new("Deep orange") | |
7346 | Grab.Transparency = math.huge | |
7347 | local Grabo = Instance.new("Weld",Grab) | |
7348 | Grabo.Part0 = RightHand | |
7349 | Grabo.Part1 = Grab | |
7350 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
7351 | local SFXZ = Instance.new("Sound",UpperTorso) | |
7352 | SFXZ.SoundId = "rbxassetid://169259383" | |
7353 | SFXZ.Volume = 1 | |
7354 | SFXZ.Pitch = 1.5 | |
7355 | SFXZ.Looped = false | |
7356 | wait(0.01) | |
7357 | SFXZ:Play() | |
7358 | Grab.Touched:connect(function(hit) | |
7359 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then | |
7360 | Grab:Destroy() | |
7361 | hit.Parent.Humanoid:TakeDamage(35) | |
7362 | local SFXZ = Instance.new("Sound",UpperTorso) | |
7363 | SFXZ.SoundId = "rbxassetid://1050733875" | |
7364 | SFXZ.Volume = 3 | |
7365 | SFXZ.Pitch = 1 | |
7366 | SFXZ.Looped = false | |
7367 | wait(0.01) | |
7368 | SFXZ:Play() | |
7369 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
7370 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
7371 | Fl.velocity = UpperTorso.CFrame.lookVector*10 | |
7372 | wait(0.05) | |
7373 | Fl:remove() | |
7374 | end | |
7375 | end) | |
7376 | for i = 0,2,0.1 do | |
7377 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(-10)),.5) --LeftUpperArm | |
7378 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(90),rad(0),rad(-20)),.5)--RightUpperArm | |
7379 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.5)--LeftLowerArm | |
7380 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.5)--RightLowerArm | |
7381 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftUpperLeg | |
7382 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
7383 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftLowerLeg | |
7384 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
7385 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Torso | |
7386 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
7387 | game:GetService("RunService").RenderStepped:wait() | |
7388 | end | |
7389 | coroutine.resume(coroutine.create(function() | |
7390 | wait(0.5) | |
7391 | Grab:remove() | |
7392 | end)) | |
7393 | Idle = false | |
7394 | Grab:Destroy() | |
7395 | wait(0) | |
7396 | D = false | |
7397 | end | |
7398 | end | |
7399 | function Hit3() | |
7400 | if not D then D = true | |
7401 | Idle = true | |
7402 | local Grab = Instance.new("Part",LeftFoot) | |
7403 | Grab.Size = Vector3.new(3,3,3) | |
7404 | Grab.CanCollide = false | |
7405 | Grab.BrickColor = BrickColor.new("Deep orange") | |
7406 | Grab.Transparency = math.huge | |
7407 | local Grabo = Instance.new("Weld",Grab) | |
7408 | Grabo.Part0 = LeftFoot | |
7409 | Grabo.Part1 = Grab | |
7410 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
7411 | local SFXZ = Instance.new("Sound",UpperTorso) | |
7412 | SFXZ.SoundId = "rbxassetid://169259383" | |
7413 | SFXZ.Volume = 1 | |
7414 | SFXZ.Pitch = 1.5 | |
7415 | SFXZ.Looped = false | |
7416 | wait(0.01) | |
7417 | SFXZ:Play() | |
7418 | Grab.Touched:connect(function(hit) | |
7419 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then | |
7420 | Grab:Destroy() | |
7421 | hit.Parent.Humanoid:TakeDamage(35) | |
7422 | local SFXZ = Instance.new("Sound",UpperTorso) | |
7423 | SFXZ.SoundId = "rbxassetid://1050733875" | |
7424 | SFXZ.Volume = 3 | |
7425 | SFXZ.Pitch = 1 | |
7426 | SFXZ.Looped = false | |
7427 | wait(0.01) | |
7428 | SFXZ:Play() | |
7429 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
7430 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
7431 | Fl.velocity = UpperTorso.CFrame.lookVector*10 | |
7432 | wait(0.05) | |
7433 | Fl:remove() | |
7434 | end | |
7435 | end) | |
7436 | for i = 0,2,0.1 do | |
7437 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(-10)),.3) --LeftUpperArm | |
7438 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-10),rad(0),rad(10)),.3)--RightUpperArm | |
7439 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.3)--LeftLowerArm | |
7440 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.3)--RightLowerArm | |
7441 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(100),rad(0),rad(0)),.5)--LeftUpperLeg | |
7442 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg | |
7443 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(20),rad(0),rad(0)),.5)--LeftLowerLeg | |
7444 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg | |
7445 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(-30),rad(0)),.3)--Torso | |
7446 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(30),rad(0)),.3)--Head | |
7447 | game:GetService("RunService").RenderStepped:wait() | |
7448 | end | |
7449 | coroutine.resume(coroutine.create(function() | |
7450 | wait(0.5) | |
7451 | Grab:remove() | |
7452 | end)) | |
7453 | Idle = false | |
7454 | Grab:Destroy() | |
7455 | wait(0.1) | |
7456 | D = false | |
7457 | end | |
7458 | end | |
7459 | ||
7460 | function Strong2() | |
7461 | if not D then D = true | |
7462 | Idle = true | |
7463 | local Grab = Instance.new("Part",RightHand) | |
7464 | Grab.Size = Vector3.new(3,3,3) | |
7465 | Grab.CanCollide = false | |
7466 | Grab.BrickColor = BrickColor.new("Deep orange") | |
7467 | Grab.Transparency = math.huge | |
7468 | local Grabo = Instance.new("Weld",Grab) | |
7469 | Grabo.Part0 = RightHand | |
7470 | Grabo.Part1 = Grab | |
7471 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
7472 | local SFXZ = Instance.new("Sound",UpperTorso) | |
7473 | SFXZ.SoundId = "rbxassetid://169259383" | |
7474 | SFXZ.Volume = 1 | |
7475 | SFXZ.Pitch = 1.5 | |
7476 | SFXZ.Looped = false | |
7477 | wait(0.01) | |
7478 | SFXZ:Play() | |
7479 | Grab.Touched:connect(function(hit) | |
7480 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then | |
7481 | Grab:Destroy() | |
7482 | hit.Parent.Humanoid:TakeDamage(5455) | |
7483 | local SFXZ = Instance.new("Sound",UpperTorso) | |
7484 | SFXZ.SoundId = "rbxassetid://1050733875" | |
7485 | SFXZ.Volume = 3 | |
7486 | SFXZ.Pitch = 1 | |
7487 | SFXZ.Looped = false | |
7488 | wait(0.01) | |
7489 | SFXZ:Play() | |
7490 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
7491 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
7492 | Fl.velocity = UpperTorso.CFrame.lookVector*10 | |
7493 | wait(0.05) | |
7494 | Fl:remove() | |
7495 | end | |
7496 | end) | |
7497 | for i = 0,0.6,0.1 do | |
7498 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(-10)),.5) --LeftUpperArm | |
7499 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(90),rad(0),rad(-20)),.5)--RightUpperArm | |
7500 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.5)--LeftLowerArm | |
7501 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.5)--RightLowerArm | |
7502 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftUpperLeg | |
7503 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
7504 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftLowerLeg | |
7505 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
7506 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Torso | |
7507 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
7508 | game:GetService("RunService").RenderStepped:wait() | |
7509 | end | |
7510 | coroutine.resume(coroutine.create(function() | |
7511 | wait(0.5) | |
7512 | Grab:remove() | |
7513 | end)) | |
7514 | Idle = false | |
7515 | Grab:Destroy() | |
7516 | wait(0) | |
7517 | D = false | |
7518 | end | |
7519 | end | |
7520 | function Strong3() | |
7521 | if not D then D = true | |
7522 | Idle = true | |
7523 | local Grab = Instance.new("Part",LeftFoot) | |
7524 | Grab.Size = Vector3.new(3,3,3) | |
7525 | Grab.CanCollide = false | |
7526 | Grab.BrickColor = BrickColor.new("Deep orange") | |
7527 | Grab.Transparency = math.huge | |
7528 | local Grabo = Instance.new("Weld",Grab) | |
7529 | Grabo.Part0 = LeftFoot | |
7530 | Grabo.Part1 = Grab | |
7531 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
7532 | local SFXZ = Instance.new("Sound",UpperTorso) | |
7533 | SFXZ.SoundId = "rbxassetid://169259383" | |
7534 | SFXZ.Volume = 1 | |
7535 | SFXZ.Pitch = 1.5 | |
7536 | SFXZ.Looped = false | |
7537 | wait(0.01) | |
7538 | SFXZ:Play() | |
7539 | Grab.Touched:connect(function(hit) | |
7540 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then | |
7541 | Grab:Destroy() | |
7542 | hit.Parent.Humanoid:TakeDamage(5455) | |
7543 | local SFXZ = Instance.new("Sound",UpperTorso) | |
7544 | SFXZ.SoundId = "rbxassetid://1050733875" | |
7545 | SFXZ.Volume = 3 | |
7546 | SFXZ.Pitch = 1 | |
7547 | SFXZ.Looped = false | |
7548 | wait(0.01) | |
7549 | SFXZ:Play() | |
7550 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
7551 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
7552 | Fl.velocity = UpperTorso.CFrame.lookVector*10 | |
7553 | wait(0.05) | |
7554 | Fl:remove() | |
7555 | end | |
7556 | end) | |
7557 | for i = 0,0.6,0.1 do | |
7558 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(-10)),.3) --LeftUpperArm | |
7559 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-10),rad(0),rad(10)),.3)--RightUpperArm | |
7560 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.3)--LeftLowerArm | |
7561 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.3)--RightLowerArm | |
7562 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(100),rad(0),rad(0)),.5)--LeftUpperLeg | |
7563 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg | |
7564 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(20),rad(0),rad(0)),.5)--LeftLowerLeg | |
7565 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg | |
7566 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(-30),rad(0)),.3)--Torso | |
7567 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(30),rad(0)),.3)--Head | |
7568 | game:GetService("RunService").RenderStepped:wait() | |
7569 | end | |
7570 | coroutine.resume(coroutine.create(function() | |
7571 | wait(0.5) | |
7572 | Grab:remove() | |
7573 | end)) | |
7574 | Idle = false | |
7575 | Grab:Destroy() | |
7576 | wait(0.1) | |
7577 | D = false | |
7578 | end | |
7579 | end | |
7580 | ||
7581 | ||
7582 | ||
7583 | function Desperate2() | |
7584 | if not D then D = true | |
7585 | Idle = true | |
7586 | local Grab = Instance.new("Part",RightHand) | |
7587 | Grab.Size = Vector3.new(3,3,3) | |
7588 | Grab.CanCollide = false | |
7589 | Grab.BrickColor = BrickColor.new("Deep orange") | |
7590 | Grab.Transparency = math.huge | |
7591 | local Grabo = Instance.new("Weld",Grab) | |
7592 | Grabo.Part0 = RightHand | |
7593 | Grabo.Part1 = Grab | |
7594 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
7595 | local SFXZ = Instance.new("Sound",UpperTorso) | |
7596 | SFXZ.SoundId = "rbxassetid://169259383" | |
7597 | SFXZ.Volume = 1 | |
7598 | SFXZ.Pitch = 1.5 | |
7599 | SFXZ.Looped = false | |
7600 | wait(0.01) | |
7601 | SFXZ:Play() | |
7602 | Grab.Touched:connect(function(hit) | |
7603 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then | |
7604 | Grab:Destroy() | |
7605 | hit.Parent.Humanoid:TakeDamage(3555555) | |
7606 | local SFXZ = Instance.new("Sound",UpperTorso) | |
7607 | SFXZ.SoundId = "rbxassetid://1050733875" | |
7608 | SFXZ.Volume = 3 | |
7609 | SFXZ.Pitch = 1 | |
7610 | SFXZ.Looped = false | |
7611 | wait(0.01) | |
7612 | SFXZ:Play() | |
7613 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
7614 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
7615 | Fl.velocity = UpperTorso.CFrame.lookVector*100 | |
7616 | wait(0.05) | |
7617 | Fl:remove() | |
7618 | end | |
7619 | end) | |
7620 | for i = 0,0.6,0.1 do | |
7621 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(-10)),.5) --LeftUpperArm | |
7622 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(90),rad(0),rad(-20)),.5)--RightUpperArm | |
7623 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(60),rad(0),rad(0)),.5)--LeftLowerArm | |
7624 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(0)),.5)--RightLowerArm | |
7625 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftUpperLeg | |
7626 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
7627 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--LeftLowerLeg | |
7628 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--RightUpperLeg | |
7629 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.2)--Torso | |
7630 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.3)--Head | |
7631 | game:GetService("RunService").RenderStepped:wait() | |
7632 | end | |
7633 | coroutine.resume(coroutine.create(function() | |
7634 | wait(0.5) | |
7635 | Grab:remove() | |
7636 | end)) | |
7637 | Idle = false | |
7638 | Grab:Destroy() | |
7639 | wait(0) | |
7640 | D = false | |
7641 | end | |
7642 | end | |
7643 | function Desperate3() | |
7644 | if not D then D = true | |
7645 | Idle = true | |
7646 | local Grab = Instance.new("Part",LeftFoot) | |
7647 | Grab.Size = Vector3.new(3,3,3) | |
7648 | Grab.CanCollide = false | |
7649 | Grab.BrickColor = BrickColor.new("Deep orange") | |
7650 | Grab.Transparency = math.huge | |
7651 | local Grabo = Instance.new("Weld",Grab) | |
7652 | Grabo.Part0 = LeftFoot | |
7653 | Grabo.Part1 = Grab | |
7654 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
7655 | local SFXZ = Instance.new("Sound",UpperTorso) | |
7656 | SFXZ.SoundId = "rbxassetid://169259383" | |
7657 | SFXZ.Volume = 1 | |
7658 | SFXZ.Pitch = 1.5 | |
7659 | SFXZ.Looped = false | |
7660 | wait(0.01) | |
7661 | SFXZ:Play() | |
7662 | Grab.Touched:connect(function(hit) | |
7663 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then | |
7664 | Grab:Destroy() | |
7665 | hit.Parent.Humanoid:TakeDamage(3555555) | |
7666 | local SFXZ = Instance.new("Sound",UpperTorso) | |
7667 | SFXZ.SoundId = "rbxassetid://1050733875" | |
7668 | SFXZ.Volume = 3 | |
7669 | SFXZ.Pitch = 1 | |
7670 | SFXZ.Looped = false | |
7671 | wait(0.01) | |
7672 | SFXZ:Play() | |
7673 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
7674 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
7675 | Fl.velocity = UpperTorso.CFrame.lookVector*100 | |
7676 | wait(0.05) | |
7677 | Fl:remove() | |
7678 | end | |
7679 | end) | |
7680 | for i = 0,0.6,0.1 do | |
7681 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.Angles(rad(-10),rad(0),rad(-10)),.3) --LeftUpperArm | |
7682 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.Angles(rad(-10),rad(0),rad(10)),.3)--RightUpperArm | |
7683 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.3)--LeftLowerArm | |
7684 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.Angles(rad(10),rad(0),rad(0)),.3)--RightLowerArm | |
7685 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.Angles(rad(100),rad(0),rad(0)),.5)--LeftUpperLeg | |
7686 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg | |
7687 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.Angles(rad(20),rad(0),rad(0)),.5)--LeftLowerLeg | |
7688 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.Angles(rad(0),rad(0),rad(0)),.5)--RightUpperLeg | |
7689 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(-30),rad(0)),.3)--Torso | |
7690 | Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p)*CFrame.Angles(rad(0),rad(30),rad(0)),.3)--Head | |
7691 | game:GetService("RunService").RenderStepped:wait() | |
7692 | end | |
7693 | coroutine.resume(coroutine.create(function() | |
7694 | wait(0.5) | |
7695 | Grab:remove() | |
7696 | end)) | |
7697 | Idle = false | |
7698 | Grab:Destroy() | |
7699 | wait(0.1) | |
7700 | D = false | |
7701 | end | |
7702 | end | |
7703 | ||
7704 | function HitS() | |
7705 | if not D then D = true | |
7706 | Idle = true | |
7707 | local Grab = Instance.new("Part",LeftHand) | |
7708 | Grab.Size = Vector3.new(6,6,6) | |
7709 | Grab.CanCollide = false | |
7710 | Grab.BrickColor = BrickColor.new("Deep orange") | |
7711 | Grab.Transparency = math.huge | |
7712 | local Grabo = Instance.new("Weld",Grab) | |
7713 | Grabo.Part0 = LeftHand | |
7714 | Grabo.Part1 = Grab | |
7715 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
7716 | local FZcharge = Instance.new("ParticleEmitter",LeftHand) | |
7717 | FZcharge.Texture = "rbxassetid://31727915" | |
7718 | FZcharge.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) | |
7719 | FZcharge.EmissionDirection = "Bottom" | |
7720 | FZcharge.Speed = NumberRange.new(0) | |
7721 | FZcharge.Size = NumberSequence.new(1,0) | |
7722 | FZcharge.Drag = 2 | |
7723 | FZcharge.LockedToPart = false | |
7724 | FZcharge.Lifetime = NumberRange.new(1) | |
7725 | FZcharge.Rate = 150 | |
7726 | FZcharge.LightEmission = 0.2 | |
7727 | FZcharge.Rotation = NumberRange.new(-100, 100) | |
7728 | FZcharge.VelocitySpread = 100 | |
7729 | local SFXZ = Instance.new("Sound",UpperTorso) | |
7730 | SFXZ.SoundId = "rbxassetid://169259383" | |
7731 | SFXZ.Volume = 1 | |
7732 | SFXZ.Pitch = 1.5 | |
7733 | SFXZ.Looped = false | |
7734 | wait(0.01) | |
7735 | SFXZ:Play() | |
7736 | Grab.Touched:connect(function(hit) | |
7737 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then | |
7738 | Grab:Destroy() | |
7739 | local H = Instance.new("Part",Character) | |
7740 | H.Size = Vector3.new(1,1,1) | |
7741 | H.BrickColor = BrickColor.new("White") | |
7742 | H.CanCollide = false | |
7743 | H.Anchored = true | |
7744 | H.CFrame = Character.UpperTorso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,0,1.55) | |
7745 | local H2 = Instance.new("SpecialMesh",H) | |
7746 | H2.MeshId = "rbxassetid://3270017" | |
7747 | local H3 = Instance.new("Part",Character) | |
7748 | H3.Size = Vector3.new(1,1,1) | |
7749 | H3.BrickColor = BrickColor.new("White") | |
7750 | H3.CanCollide = false | |
7751 | H3.Anchored = true | |
7752 | H3.CFrame = Character.UpperTorso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(1.55,0,0) | |
7753 | local H23 = Instance.new("SpecialMesh",H3) | |
7754 | H23.MeshId = "rbxassetid://3270017" | |
7755 | local H33 = Instance.new("Part",Character) | |
7756 | H33.Size = Vector3.new(1,1,1) | |
7757 | H33.BrickColor = BrickColor.new("White") | |
7758 | H33.CanCollide = false | |
7759 | H33.Anchored = true | |
7760 | H33.CFrame = Character.UpperTorso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0) | |
7761 | local H233 = Instance.new("SpecialMesh",H33) | |
7762 | H233.MeshId = "rbxassetid://20329976" | |
7763 | local H2 = Instance.new("SpecialMesh",H) | |
7764 | H2.MeshId = "rbxassetid://3270017" | |
7765 | local H5 = Instance.new("Part",Character) | |
7766 | H5.Size = Vector3.new(1,1,1) | |
7767 | H5.BrickColor = BrickColor.new("White") | |
7768 | H5.CanCollide = false | |
7769 | H5.Anchored = true | |
7770 | H5.CFrame = Character.UpperTorso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,1.55,0) | |
7771 | local H25 = Instance.new("SpecialMesh",H5) | |
7772 | H25.MeshId = "rbxassetid://3270017" | |
7773 | coroutine.resume(coroutine.create(function() | |
7774 | for i = 1,200 do | |
7775 | H2.Scale = H2.Scale + Vector3.new(9,9,9) | |
7776 | H.Transparency = H.Transparency + 0.09 | |
7777 | H23.Scale = H23.Scale + Vector3.new(9,9,9) | |
7778 | H3.Transparency = H3.Transparency + 0.09 | |
7779 | H233.Scale = H23.Scale + Vector3.new(8,8,8) | |
7780 | H33.Transparency = H3.Transparency + 0.09 | |
7781 | H25.Scale = H25.Scale + Vector3.new(8,8,8) | |
7782 | H5.Transparency = H5.Transparency + 0.09 | |
7783 | wait(0.00000000001) | |
7784 | end | |
7785 | end)) | |
7786 | local SFXZ = Instance.new("Sound",UpperTorso) | |
7787 | SFXZ.SoundId = "rbxassetid://447041606" | |
7788 | SFXZ.Volume = 1 | |
7789 | SFXZ.Pitch = 1 | |
7790 | SFXZ.Looped = false | |
7791 | wait(0.01) | |
7792 | SFXZ:Play() | |
7793 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
7794 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
7795 | Fl.velocity = UpperTorso.CFrame.lookVector*350 | |
7796 | local exp = Instance.new("Explosion",Character) | |
7797 | exp.BlastRadius = 13 | |
7798 | exp.BlastPressure = 100 | |
7799 | exp.Position = Character.HumanoidRootPart.Position | |
7800 | exp.Visible = false | |
7801 | hit.Parent:BreakJoints() | |
7802 | wait(1.3) | |
7803 | hit.Parent:Destroy() | |
7804 | wait(0.05) | |
7805 | Fl:remove() | |
7806 | end | |
7807 | end) | |
7808 | for i = 0,2,0.1 do | |
7809 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,1),.1) --LeftUpperArm | |
7810 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0,0)*CFrame.Angles(-1,0,0),.1)--RightUpperArm | |
7811 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerArm | |
7812 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightLowerArm | |
7813 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftUpperLeg | |
7814 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
7815 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerLeg | |
7816 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
7817 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Torso | |
7818 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
7819 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
7820 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
7821 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
7822 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,-0.4,0),.1)--Head | |
7823 | game:GetService("RunService").RenderStepped:wait() | |
7824 | end | |
7825 | coroutine.resume(coroutine.create(function() | |
7826 | wait(0.5) | |
7827 | Grab:remove() | |
7828 | end)) | |
7829 | Idle = false | |
7830 | FZcharge:Destroy() | |
7831 | wait(0.1) | |
7832 | D = false | |
7833 | end | |
7834 | end | |
7835 | function Hit2S() | |
7836 | if not D then D = true | |
7837 | Idle = true | |
7838 | local Grab = Instance.new("Part",RightHand) | |
7839 | Grab.Size = Vector3.new(6,6,6) | |
7840 | Grab.CanCollide = false | |
7841 | Grab.BrickColor = BrickColor.new("Deep orange") | |
7842 | Grab.Transparency = math.huge | |
7843 | local Grabo = Instance.new("Weld",Grab) | |
7844 | Grabo.Part0 = RightHand | |
7845 | Grabo.Part1 = Grab | |
7846 | Grabo.C0 = CFrame.new(0,-1.1,0) | |
7847 | local FZcharge = Instance.new("ParticleEmitter",RightHand) | |
7848 | FZcharge.Texture = "rbxassetid://31727915" | |
7849 | FZcharge.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) | |
7850 | FZcharge.EmissionDirection = "Bottom" | |
7851 | FZcharge.Speed = NumberRange.new(0) | |
7852 | FZcharge.Size = NumberSequence.new(1,0) | |
7853 | FZcharge.Drag = 2 | |
7854 | FZcharge.LockedToPart = false | |
7855 | FZcharge.Lifetime = NumberRange.new(1) | |
7856 | FZcharge.Rate = 150 | |
7857 | FZcharge.LightEmission = 0.2 | |
7858 | FZcharge.Rotation = NumberRange.new(-100, 100) | |
7859 | FZcharge.VelocitySpread = 100 | |
7860 | local SFXZ = Instance.new("Sound",UpperTorso) | |
7861 | SFXZ.SoundId = "rbxassetid://169259383" | |
7862 | SFXZ.Volume = 1 | |
7863 | SFXZ.Pitch = 1.5 | |
7864 | SFXZ.Looped = false | |
7865 | wait(0.01) | |
7866 | SFXZ:Play() | |
7867 | Grab.Touched:connect(function(hit) | |
7868 | if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then | |
7869 | Grab:Destroy() | |
7870 | local H = Instance.new("Part",Character) | |
7871 | H.Size = Vector3.new(1,1,1) | |
7872 | H.BrickColor = BrickColor.new("White") | |
7873 | H.CanCollide = false | |
7874 | H.Anchored = true | |
7875 | H.CFrame = Character.UpperTorso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,0,1.55) | |
7876 | local H2 = Instance.new("SpecialMesh",H) | |
7877 | H2.MeshId = "rbxassetid://3270017" | |
7878 | local H3 = Instance.new("Part",Character) | |
7879 | H3.Size = Vector3.new(1,1,1) | |
7880 | H3.BrickColor = BrickColor.new("White") | |
7881 | H3.CanCollide = false | |
7882 | H3.Anchored = true | |
7883 | H3.CFrame = Character.UpperTorso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(1.55,0,0) | |
7884 | local H23 = Instance.new("SpecialMesh",H3) | |
7885 | H23.MeshId = "rbxassetid://3270017" | |
7886 | local H33 = Instance.new("Part",Character) | |
7887 | H33.Size = Vector3.new(1,1,1) | |
7888 | H33.BrickColor = BrickColor.new("White") | |
7889 | H33.CanCollide = false | |
7890 | H33.Anchored = true | |
7891 | H33.CFrame = Character.UpperTorso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0) | |
7892 | local H233 = Instance.new("SpecialMesh",H33) | |
7893 | H233.MeshId = "rbxassetid://20329976" | |
7894 | local H2 = Instance.new("SpecialMesh",H) | |
7895 | H2.MeshId = "rbxassetid://3270017" | |
7896 | local H5 = Instance.new("Part",Character) | |
7897 | H5.Size = Vector3.new(1,1,1) | |
7898 | H5.BrickColor = BrickColor.new("White") | |
7899 | H5.CanCollide = false | |
7900 | H5.Anchored = true | |
7901 | H5.CFrame = Character.UpperTorso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,1.55,0) | |
7902 | local H25 = Instance.new("SpecialMesh",H5) | |
7903 | H25.MeshId = "rbxassetid://3270017" | |
7904 | coroutine.resume(coroutine.create(function() | |
7905 | for i = 1,200 do | |
7906 | H2.Scale = H2.Scale + Vector3.new(9,9,9) | |
7907 | H.Transparency = H.Transparency + 0.09 | |
7908 | H23.Scale = H23.Scale + Vector3.new(9,9,9) | |
7909 | H3.Transparency = H3.Transparency + 0.09 | |
7910 | H233.Scale = H23.Scale + Vector3.new(8,8,8) | |
7911 | H33.Transparency = H3.Transparency + 0.09 | |
7912 | H25.Scale = H25.Scale + Vector3.new(8,8,8) | |
7913 | H5.Transparency = H5.Transparency + 0.09 | |
7914 | wait(0.00000000001) | |
7915 | end | |
7916 | end)) | |
7917 | local SFXZ = Instance.new("Sound",UpperTorso) | |
7918 | SFXZ.SoundId = "rbxassetid://447041606" | |
7919 | SFXZ.Volume = 1 | |
7920 | SFXZ.Pitch = 1 | |
7921 | SFXZ.Looped = false | |
7922 | wait(0.01) | |
7923 | SFXZ:Play() | |
7924 | local Fl = Instance.new("BodyVelocity",hit.Parent.Head) | |
7925 | Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
7926 | Fl.velocity = UpperTorso.CFrame.lookVector*350 | |
7927 | local exp = Instance.new("Explosion",Character) | |
7928 | exp.BlastRadius = 13 | |
7929 | exp.BlastPressure = 100 | |
7930 | exp.Position = Character.HumanoidRootPart.Position | |
7931 | exp.Visible = false | |
7932 | hit.Parent:BreakJoints() | |
7933 | wait(1.3) | |
7934 | hit.Parent:Destroy() | |
7935 | wait(0.05) | |
7936 | Fl:remove() | |
7937 | end | |
7938 | end) | |
7939 | for i = 0,2,0.1 do | |
7940 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-1,0,0),.1) --LeftUpperArm | |
7941 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,-1),.1)--RightUpperArm | |
7942 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerArm | |
7943 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightLowerArm | |
7944 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftUpperLeg | |
7945 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
7946 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerLeg | |
7947 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
7948 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Torso | |
7949 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
7950 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
7951 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
7952 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
7953 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0.4,0),.1)--Head | |
7954 | game:GetService("RunService").RenderStepped:wait() | |
7955 | end | |
7956 | coroutine.resume(coroutine.create(function() | |
7957 | wait(0.5) | |
7958 | Grab:remove() | |
7959 | end)) | |
7960 | Idle = false | |
7961 | FZcharge:Destroy() | |
7962 | wait(0.1) | |
7963 | D = false | |
7964 | end | |
7965 | end | |
7966 | function Hm() | |
7967 | if not DZ then DZ = true | |
7968 | Idle = true | |
7969 | for i = 1,10 do | |
7970 | swait() | |
7971 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1) --LeftUpperArm | |
7972 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperArm | |
7973 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerArm | |
7974 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightLowerArm | |
7975 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0.5,0,0),.1)--LeftUpperLeg | |
7976 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0.5,0,0),.1)--RightUpperLeg | |
7977 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-0.5,0,0),.1)--LeftLowerLeg | |
7978 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-0.5,0,0),.1)--RightUpperLeg | |
7979 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Torso | |
7980 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(-0.5,0,0),.1)--Head | |
7981 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
7982 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
7983 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
7984 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
7985 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-0.4,0,0),.1)--Head | |
7986 | game:GetService("RunService").RenderStepped:wait() | |
7987 | end | |
7988 | ||
7989 | ||
7990 | ||
7991 | for i = 1,2 do | |
7992 | swait() | |
7993 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1) --LeftUpperArm | |
7994 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperArm | |
7995 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerArm | |
7996 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightLowerArm | |
7997 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0.5,0,0),.1)--LeftUpperLeg | |
7998 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0.5,0,0),.1)--RightUpperLeg | |
7999 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-0.5,0,0),.1)--LeftLowerLeg | |
8000 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-0.5,0,0),.1)--RightUpperLeg | |
8001 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Torso | |
8002 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(-0.5,0,0),.1)--Head | |
8003 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
8004 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
8005 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
8006 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
8007 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-0.4,0,0),.1)--Head | |
8008 | --game:GetService("RunService").RenderStepped:wait() | |
8009 | end | |
8010 | wait(0.3) | |
8011 | ||
8012 | for i = 1,2 do | |
8013 | swait() | |
8014 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1) --LeftUpperArm | |
8015 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperArm | |
8016 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerArm | |
8017 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightLowerArm | |
8018 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0.5,0,0),.1)--LeftUpperLeg | |
8019 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0.5,0,0),.1)--RightUpperLeg | |
8020 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-0.5,0,0),.1)--LeftLowerLeg | |
8021 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-0.5,0,0),.1)--RightUpperLeg | |
8022 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Torso | |
8023 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(-0.5,0,0),.1)--Head | |
8024 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
8025 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
8026 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
8027 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
8028 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-0.4,0,0),.1)--Head | |
8029 | --game:GetService("RunService").RenderStepped:wait() | |
8030 | end | |
8031 | wait(0.4) | |
8032 | ||
8033 | for i = 1,0.2 do | |
8034 | swait() | |
8035 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1) --LeftUpperArm | |
8036 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperArm | |
8037 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerArm | |
8038 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightLowerArm | |
8039 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0.5,0,0),.1)--LeftUpperLeg | |
8040 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0.5,0,0),.1)--RightUpperLeg | |
8041 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-0.5,0,0),.1)--LeftLowerLeg | |
8042 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-0.5,0,0),.1)--RightUpperLeg | |
8043 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Torso | |
8044 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(-0.5,0,0),.1)--Head | |
8045 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
8046 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
8047 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
8048 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
8049 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(-0.4,0,0),.1)--Head | |
8050 | --game:GetService("RunService").RenderStepped:wait() | |
8051 | end | |
8052 | Humanoid.MaxHealth = 5000000000000000000000000000000000000000 | |
8053 | wait(0.01) | |
8054 | Humanoid.Health = 4300000000000000000000000000000000000000 | |
8055 | Idle = false | |
8056 | local Sound = Instance.new("Sound",UpperTorso) | |
8057 | Sound.SoundId = "rbxassetid://" | |
8058 | Sound.Pitch = 1 | |
8059 | Sound.Looped = true | |
8060 | Sound.Volume = 5 | |
8061 | Sound:play() | |
8062 | Character.Head.face.Texture = "rbxassetid://444037452" | |
8063 | Humanoid.WalkSpeed = 25 | |
8064 | ||
8065 | Mouse.Button1Down:connect(function() | |
8066 | if attack == false and attacktype == 1 then | |
8067 | HitS() | |
8068 | attacktype = 2 | |
8069 | elseif attack == false and attacktype == 2 then | |
8070 | Hit2S() | |
8071 | attacktype = 1 | |
8072 | end | |
8073 | end) | |
8074 | wait(2121) | |
8075 | DZ = false | |
8076 | end | |
8077 | end | |
8078 | ||
8079 | ||
8080 | ||
8081 | ||
8082 | ||
8083 | Mouse.Button1Down:connect(function() | |
8084 | if attack == false and attacktype == 1 then | |
8085 | Hit() | |
8086 | attacktype = 2 | |
8087 | elseif attack == false and attacktype == 2 then | |
8088 | Hit2() | |
8089 | attacktype = 3 | |
8090 | elseif attack == false and attacktype == 3 then | |
8091 | Hit3() | |
8092 | attacktype = 1 | |
8093 | end | |
8094 | end) | |
8095 | ||
8096 | ||
8097 | ||
8098 | ||
8099 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
8100 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
8101 | end | |
8102 | ||
8103 | ||
8104 | local sine = 0 | |
8105 | local change = 1 | |
8106 | local val = 0 | |
8107 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
8108 | local velderp=RootPart.Velocity.y | |
8109 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
8110 | ||
8111 | ||
8112 | ||
8113 | ||
8114 | ||
8115 | --idle | |
8116 | game:service'RunService'.RenderStepped:connect(function() | |
8117 | if Humanoid.MoveDirection.x == 0 and Idle == false then | |
8118 | change = 1 | |
8119 | for i = 1,1 do | |
8120 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0-.01*math.sin(tick()*3),0)*CFrame.Angles(0.2,0,0),.1) --LeftUpperArm | |
8121 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0-.00*math.sin(tick()*3),0)*CFrame.Angles(0.2,0,-0),.1)--RightUpperArm | |
8122 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0.1+0.1*math.sin(tick()*3),0,0),.1)--LeftLowerArm | |
8123 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0.1+0.1*math.sin(tick()*3),0,0),.1)--RightLowerArm | |
8124 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftUpperLeg | |
8125 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
8126 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--LeftLowerLeg | |
8127 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--RightUpperLeg | |
8128 | Root.C0 = Root.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Torso | |
8129 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(0-.03*math.sin(tick()*3),0,0),.1)--Head | |
8130 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
8131 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
8132 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
8133 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
8134 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0-.005*math.sin(tick()*3),0)*CFrame.Angles(0,0,0),.1)--Head | |
8135 | game:GetService("RunService").RenderStepped:wait() | |
8136 | end | |
8137 | --walk | |
8138 | for i = 1,2000 do | |
8139 | if Humanoid.MoveDirection.x > 0 and Idle == false or Humanoid.MoveDirection.x < 0 and Idle == false then | |
8140 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0-0.5*math.sin(tick()*8),0,0),.1) --LeftUpperArm | |
8141 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0 .p)*CFrame.new(0,0,0)*CFrame.Angles(0+0.5*math.sin(tick()*8),0,0),.1)--RightUpperArm | |
8142 | LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0+0.0*math.cos(tick()*8),0,0),.1)--LeftLowerArm | |
8143 | RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0-0.0*math.cos(tick()*8),0,0),.1)--RightLowerArm | |
8144 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0-0.6*math.sin(tick()*8),0,0.1),.1)--LeftUpperLeg | |
8145 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0+0.6*math.sin(tick()*8),0,-0.1),.1)--RightUpperLeg | |
8146 | LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new( LeftKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0+0.6*math.cos(tick()*8),0,0),.1)--LeftLowerLeg | |
8147 | RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0-0.6*math.cos(tick()*8),0,0),.1)--RightUpperLeg | |
8148 | Root.C0 = Root.C0:lerp(CFrame.new(0,0-.1*math.sin(tick()*8),0)*CFrame.Angles(-0.1,0,0),.1)--Torso | |
8149 | Neck.C0 = Neck.C0:lerp(CFrame.new( Neck.C0.p)*CFrame.Angles(0,0,0),.1)--Head | |
8150 | RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new( RightFoot.RightAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(rad(0),rad(0),rad(0)),.1)--Head | |
8151 | LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new( LeftFoot.LeftAnkle.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
8152 | RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new( RightHand.RightWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
8153 | LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new( LeftHand.LeftWrist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
8154 | Waist.C0 = Waist.C0:lerp(CFrame.new( Waist.C0.p)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.1)--Head | |
8155 | game:GetService("RunService").RenderStepped:wait() | |
8156 | end | |
8157 | end | |
8158 | end | |
8159 | end) |