SHOW:
|
|
- or go back to the newest paste.
| 1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
| 2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 3 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 4 | local RealPlayer = Player | |
| 5 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
| |
| 6 | ||
| 7 | wait(1) | |
| 8 | --// Script made by Cronizete | |
| 9 | --// Please dont check the code its ugly | |
| 10 | --// Who ever has this and youre not the maker of this script then you just stole it unless I released it to the public or whatever but yeah | |
| 11 | --// Please, if you're going to showcase this. Make sure to give credits to me :D | |
| 12 | --// Anyways, enjoy the script!!!!!!!!!!!!!!! | |
| 13 | ||
| 14 | ||
| 15 | plr = game.Players.LocalPlayer | |
| 16 | char = plr.Character | |
| 17 | ff = Instance.new('ForceField', char)
| |
| 18 | ff.Visible = false | |
| 19 | mouse = plr:GetMouse() | |
| 20 | human = char.Humanoid | |
| 21 | torso = char.Torso | |
| 22 | root = char.HumanoidRootPart | |
| 23 | lleg = char["Left Leg"] | |
| 24 | rleg = char["Right Leg"] | |
| 25 | larm = char["Left Arm"] | |
| 26 | rarm = char["Right Arm"] | |
| 27 | head = char.Head | |
| 28 | lshold = torso["Left Shoulder"] | |
| 29 | rshold = torso["Right Shoulder"] | |
| 30 | neck = torso.Neck | |
| 31 | lhip = torso["Left Hip"] | |
| 32 | rhip = torso["Right Hip"] | |
| 33 | lscf = lshold.C0 | |
| 34 | rscf = rshold.C0 | |
| 35 | ncf = neck.C0 | |
| 36 | lhcf = lhip.C0 | |
| 37 | rhcf = rhip.C0 | |
| 38 | rad = math.rad | |
| 39 | random = math.random | |
| 40 | sin = math.sin | |
| 41 | cos = math.cos | |
| 42 | floor = math.floor | |
| 43 | lsho = lshold.C0 | |
| 44 | rsho = rshold.C0 | |
| 45 | cd1 = true | |
| 46 | cd2 = true | |
| 47 | ||
| 48 | function harmlessexplo() | |
| 49 | sph = Instance.new('Part', char)
| |
| 50 | sph.Anchored = true | |
| 51 | sph.CFrame = char.Torso.CFrame | |
| 52 | sph.CanCollide = false | |
| 53 | sph.Anchored = true | |
| 54 | sph.Transparency = 0 | |
| 55 | sph.Material = "Neon" | |
| 56 | sph.Shape = "Ball" | |
| 57 | sph.Size = Vector3.new(0.2,0.2,0.2) | |
| 58 | for i = 1,50 do | |
| 59 | wait() | |
| 60 | sph.Size = sph.Size + Vector3.new(4,4,4) | |
| 61 | sph.Transparency = sph.Transparency + 0.05 | |
| 62 | - | for _,q in pairs(char:GetChildren()) do |
| 62 | + | |
| 63 | - | if q:IsA('Accessory') then
|
| 63 | + | |
| 64 | - | q:Destroy() |
| 64 | + | |
| 65 | end | |
| 66 | ||
| 67 | - | a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
|
| 67 | + | |
| 68 | - | a.MeshId = "279174949" |
| 68 | + | |
| 69 | - | a.BodyPart = "LeftArm" |
| 69 | + | |
| 70 | ||
| 71 | - | a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
|
| 71 | + | |
| 72 | - | a.MeshId = "319336109" |
| 72 | + | |
| 73 | - | a.BodyPart = "LeftLeg" |
| 73 | + | |
| 74 | end | |
| 75 | - | a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
|
| 75 | + | |
| 76 | - | a.MeshId = "279174886" |
| 76 | + | |
| 77 | - | a.BodyPart = "RightArm" |
| 77 | + | |
| 78 | char.Torso.Anchored = true | |
| 79 | - | a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
|
| 79 | + | |
| 80 | - | a.MeshId = "319336155" |
| 80 | + | |
| 81 | - | a.BodyPart = "RightLeg" |
| 81 | + | |
| 82 | sph.CFrame = char.Torso.CFrame | |
| 83 | - | a = Instance.new('CharacterMesh', game.Players.LocalPlayer.Character)
|
| 83 | + | |
| 84 | - | a.MeshId = "376169183" |
| 84 | + | |
| 85 | - | a.BodyPart = "Torso" |
| 85 | + | |
| 86 | sph.Material = "Neon" | |
| 87 | - | if q:IsA('Shirt') then
|
| 87 | + | |
| 88 | - | q.ShirtTemplate = "rbxassetid://704100781" |
| 88 | + | |
| 89 | sp = Instance.new('SpecialMesh', sph)
| |
| 90 | sp.MeshId = "http://www.roblox.com/Asset/?id=9982590" | |
| 91 | - | if q:IsA('Pants') then
|
| 91 | + | |
| 92 | - | q.PantsTemplate = "rbxassetid://704102680" |
| 92 | + | |
| 93 | ||
| 94 | for i = 1, 25 do | |
| 95 | - | char["Left Arm"].BrickColor = BrickColor.new('Cyan')
|
| 95 | + | |
| 96 | - | char["Right Arm"].BrickColor = BrickColor.new('Cyan')
|
| 96 | + | |
| 97 | sph.Rotation = Vector3.new( a, a, a) | |
| 98 | wait() | |
| 99 | a = a+3 | |
| 100 | end | |
| 101 | for _,e in pairs(char:GetChildren()) do | |
| 102 | if e:IsA('Accessory') then
| |
| 103 | e.Handle.Transparency = 0 | |
| 104 | end | |
| 105 | if e.Name ~= "HumanoidRootPart" and e:IsA('Part') then
| |
| 106 | e.Transparency = 0 | |
| 107 | end | |
| 108 | end | |
| 109 | for i = 1, 115 do | |
| 110 | sph.Color = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255)) | |
| 111 | sph.Transparency = sph.Transparency + 0.01 | |
| 112 | sph.Rotation = Vector3.new( a, a, a) | |
| 113 | wait() | |
| 114 | a = a+15 | |
| 115 | end | |
| 116 | char.Torso.Anchored = false | |
| 117 | char.Humanoid.HipHeight = 0 | |
| 118 | end | |
| 119 | ||
| 120 | function chat(chatt) | |
| 121 | local text = Instance.new("BillboardGui", game.Players.LocalPlayer.Character)
| |
| 122 | text.Size = UDim2.new(0,100,0,40) | |
| 123 | text.StudsOffset = Vector3.new(0,3,0) | |
| 124 | text.Adornee = game.Players.LocalPlayer.Character.Head | |
| 125 | text.Name = "1" | |
| 126 | local text1 = Instance.new("TextLabel",text)
| |
| 127 | text1.BackgroundTransparency = 1 | |
| 128 | text1.TextStrokeTransparency = 1 | |
| 129 | text1.TextTransparency = 1 | |
| 130 | text1.BorderSizePixel = 0 | |
| 131 | text1.Text = chatt | |
| 132 | text1.Font = "Fantasy" | |
| 133 | text1.FontSize = "Size36" | |
| 134 | text1.TextStrokeTransparency = 0 | |
| 135 | text1.TextColor3 = Color3.new(1,1,1) | |
| 136 | text1.TextStrokeColor3 = Color3.new(0,0,0) | |
| 137 | text1.Size = UDim2.new(1,0,0.5,0) | |
| 138 | for i=1,15 do | |
| 139 | wait() | |
| 140 | text1.TextStrokeTransparency = text1.TextStrokeTransparency - 0.1 | |
| 141 | text1.TextTransparency = text1.TextTransparency - 0.1 | |
| 142 | end | |
| 143 | wait(1) | |
| 144 | for i=1,25 do | |
| 145 | wait() | |
| 146 | text1.TextStrokeTransparency = text1.TextStrokeTransparency + 0.1 | |
| 147 | text1.TextTransparency = text1.TextTransparency + 0.1 | |
| 148 | end | |
| 149 | end | |
| 150 | ||
| 151 | function explo() | |
| 152 | sph = Instance.new('Part', char)
| |
| 153 | sph.Touched:connect(function(hit) | |
| 154 | if hit.Parent:FindFirstChild('Humanoid') then
| |
| 155 | if hit.Parent.Name ~= plr.Name then | |
| 156 | hit.Parent:Destroy() | |
| 157 | else | |
| 158 | end | |
| 159 | end | |
| 160 | end) | |
| 161 | sph.Anchored = true | |
| 162 | sph.CFrame = char.Torso.CFrame | |
| 163 | sph.CanCollide = false | |
| 164 | sph.Anchored = true | |
| 165 | sph.Transparency = 0 | |
| 166 | sph.Material = "Neon" | |
| 167 | sph.Shape = "Ball" | |
| 168 | sph.Size = Vector3.new(0.2,0.2,0.2) | |
| 169 | for i = 1,50 do | |
| 170 | wait() | |
| 171 | sph.Size = sph.Size + Vector3.new(4,4,4) | |
| 172 | sph.Transparency = sph.Transparency + 0.03 | |
| 173 | sph.CFrame = char.Torso.CFrame | |
| 174 | end | |
| 175 | sph:Destroy() | |
| 176 | end | |
| 177 | ||
| 178 | --// Main script, don't touch if you don't know how to script or you might ruin the script. | |
| 179 | ||
| 180 | entrance() | |
| 181 | ||
| 182 | mouse.Button1Down:connect(function() | |
| 183 | if cd1 then | |
| 184 | if mouse.Target.Parent:FindFirstChild('Humanoid') then
| |
| 185 | cd1 = false | |
| 186 | local target = mouse.Target.Parent | |
| 187 | target:FindFirstChild('Torso').Anchored = true
| |
| 188 | for i=0,1,0.1 do | |
| 189 | rshold.C0 = rshold.C0:lerp(CFrame.new(0.9,0.5,-0.1)*CFrame.Angles(rad(-90),rad(90),rad(-180)),i) | |
| 190 | wait() | |
| 191 | end | |
| 192 | chat("HAKAI")
| |
| 193 | wait(.5) | |
| 194 | particle = Instance.new('Part', workspace)
| |
| 195 | particle.Anchored = true | |
| 196 | particle.CFrame = target:FindFirstChild('Torso').CFrame
| |
| 197 | particle.CanCollide = false | |
| 198 | particle.Anchored = true | |
| 199 | particle.Transparency = 1 | |
| 200 | particle.Size = Vector3.new(6.52, 10.36, 6.34) | |
| 201 | local pe = Instance.new("ParticleEmitter")
| |
| 202 | pe.Acceleration = Vector3.new(7, 7, 7) | |
| 203 | pe.Lifetime = NumberRange.new(1, 4) | |
| 204 | pe.Rate = 500 | |
| 205 | pe.RotSpeed = NumberRange.new(7, 7) | |
| 206 | pe.LightEmission = 0.700 | |
| 207 | pe.Rotation = NumberRange.new(0, 0) | |
| 208 | pe.Size = NumberSequence.new({
| |
| 209 | NumberSequenceKeypoint.new(0, 1, 0), | |
| 210 | NumberSequenceKeypoint.new(1, 10, 0), | |
| 211 | NumberSequenceKeypoint.new(1, 10, 0) | |
| 212 | }) | |
| 213 | pe.Texture = "http://www.roblox.com/asset/?id=242996110" | |
| 214 | pe.Transparency = NumberSequence.new({
| |
| 215 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 216 | NumberSequenceKeypoint.new(0.4, 0.3, 0), | |
| 217 | NumberSequenceKeypoint.new(1, 1, 1) | |
| 218 | }) | |
| 219 | pe.ZOffset = 5 | |
| 220 | pe.VelocitySpread = 360 | |
| 221 | pe.Parent = particle | |
| 222 | pe.Enabled = true | |
| 223 | wait(1) | |
| 224 | pe.Enabled = false | |
| 225 | target:Destroy() | |
| 226 | for i=0,1,0.1 do | |
| 227 | rshold.C0 = rshold.C0:lerp(rsho,i) | |
| 228 | wait() | |
| 229 | end | |
| 230 | wait(1) | |
| 231 | cd1 = true | |
| 232 | end | |
| 233 | end | |
| 234 | end) | |
| 235 | ||
| 236 | mouse.KeyDown:connect(function(key) | |
| 237 | if key == "t" then | |
| 238 | if cd1 then | |
| 239 | cd1 = false | |
| 240 | particle = Instance.new('Part', workspace)
| |
| 241 | particle.Anchored = true | |
| 242 | particle.CFrame = char:FindFirstChild('Torso').CFrame
| |
| 243 | particle.CanCollide = false | |
| 244 | particle.Anchored = true | |
| 245 | particle.Transparency = 1 | |
| 246 | particle.Size = Vector3.new(6.52, 10.36, 6.34) | |
| 247 | local pe = Instance.new("ParticleEmitter")
| |
| 248 | pe.Acceleration = Vector3.new(7, 7, 7) | |
| 249 | pe.Lifetime = NumberRange.new(1, 4) | |
| 250 | pe.Rate = 500 | |
| 251 | pe.RotSpeed = NumberRange.new(7, 7) | |
| 252 | pe.LightEmission = 0.700 | |
| 253 | pe.Rotation = NumberRange.new(0, 0) | |
| 254 | pe.Size = NumberSequence.new({
| |
| 255 | NumberSequenceKeypoint.new(0, 1, 0), | |
| 256 | NumberSequenceKeypoint.new(1, 10, 0), | |
| 257 | NumberSequenceKeypoint.new(1, 10, 0) | |
| 258 | }) | |
| 259 | pe.Texture = "http://www.roblox.com/asset/?id=242996110" | |
| 260 | pe.Transparency = NumberSequence.new({
| |
| 261 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 262 | NumberSequenceKeypoint.new(0.4, 0.3, 0), | |
| 263 | NumberSequenceKeypoint.new(1, 1, 1) | |
| 264 | }) | |
| 265 | pe.ZOffset = 5 | |
| 266 | pe.VelocitySpread = 360 | |
| 267 | pe.Parent = particle | |
| 268 | pe.Enabled = true | |
| 269 | wait(.3) | |
| 270 | char.Torso.CFrame = mouse.Hit | |
| 271 | pe.Enabled = false | |
| 272 | harmlessexplo() | |
| 273 | wait(3) | |
| 274 | cd1 = true | |
| 275 | end | |
| 276 | end | |
| 277 | ||
| 278 | if key == "q" then | |
| 279 | if cd2 then | |
| 280 | cd2 = false | |
| 281 | for i=0,1,0.1 do | |
| 282 | lshold.C0 = lshold.C0:lerp(CFrame.new(-1.3,0.7,-0.1)*CFrame.Angles(rad(25),-rad(20),-rad(90)),i) | |
| 283 | rshold.C0 = rshold.C0:lerp(CFrame.new(1.3,0.7,-0.1)*CFrame.Angles(rad(25),rad(20),rad(90)),i) | |
| 284 | wait() | |
| 285 | end | |
| 286 | ||
| 287 | local pe = Instance.new("ParticleEmitter")
| |
| 288 | pe.Acceleration = Vector3.new(3, 3, 3) | |
| 289 | pe.Lifetime = NumberRange.new(0.1, 0.5) | |
| 290 | pe.Rate = 4000 | |
| 291 | pe.RotSpeed = NumberRange.new(0, 0) | |
| 292 | pe.LightEmission = 0.700 | |
| 293 | pe.Rotation = NumberRange.new(0, 0) | |
| 294 | pe.Size = NumberSequence.new({
| |
| 295 | NumberSequenceKeypoint.new(0, 1, 0), | |
| 296 | NumberSequenceKeypoint.new(0.1, 1, 0), | |
| 297 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 298 | }) | |
| 299 | pe.Texture = "http://www.roblox.com/asset/?id=242996110" | |
| 300 | pe.Transparency = NumberSequence.new({
| |
| 301 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 302 | NumberSequenceKeypoint.new(0.4, 0.3, 0), | |
| 303 | NumberSequenceKeypoint.new(1, 1, 1) | |
| 304 | }) | |
| 305 | pe.ZOffset = 5 | |
| 306 | pe.VelocitySpread = 360 | |
| 307 | pe.Parent = char["Right Arm"] | |
| 308 | pe1 = pe:Clone() | |
| 309 | pe1.Parent = char["Left Arm"] | |
| 310 | wait(.05) | |
| 311 | pe.Enabled = true | |
| 312 | ||
| 313 | wait(.05) | |
| 314 | ||
| 315 | for i= 1, 100 do | |
| 316 | char.Humanoid.HipHeight = char.Humanoid.HipHeight + 0.5 | |
| 317 | wait() | |
| 318 | end | |
| 319 | ||
| 320 | wait(.03) | |
| 321 | ||
| 322 | chat("Kono yōna sekai ga kienakereba narimasen!")
| |
| 323 | wait(.07) | |
| 324 | explo() | |
| 325 | wait(.04) | |
| 326 | for i=0,1,0.1 do | |
| 327 | lshold.C0 = lshold.C0:lerp(lsho,i) | |
| 328 | rshold.C0 = rshold.C0:lerp(rsho,i) | |
| 329 | wait() | |
| 330 | end | |
| 331 | pe.Enabled = false | |
| 332 | pe1.Enabled = fasle | |
| 333 | char.Humanoid.HipHeight = 0 | |
| 334 | wait(5) | |
| 335 | cd2 = true | |
| 336 | end | |
| 337 | end | |
| 338 | end) | |
| 339 | ||
| 340 | while wait() do | |
| 341 | char.Humanoid.MaxHealth = Math.huge | |
| 342 | char.Humanoid.Health = Math.huge | |
| 343 | end |